Delete or deactivate a customer in Stripe.
This task deletes (soft-deletes) a customer in Stripe using the Stripe Java SDK.
yaml
type: "io.kestra.plugin.stripe.customer.delete"Examples
Delete a customer by ID
yaml
id: delete_customer
namespace: company.team
tasks:
- id: delete_customer
type: io.kestra.plugin.stripe.customer.Delete
apiKey: "{{ secret('STRIPE_API_KEY') }}"
customerId: "cus_123456789"
Properties
apiKey *Requiredstring
Stripe API Key
Secret key for authenticating with Stripe. Starts with 'sk_' for live/test keys.
customerId *Requiredstring
The customer ID to delete.
Outputs
customerData object
The full customer object as a map
customerId string
The deleted customer ID
deleted boolean
Whether the customer has been deleted (true if soft-deleted)