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"

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

Stripe API Key

Secret key for authenticating with Stripe. Starts with 'sk_' for live/test keys.

The customer ID to delete.

The full customer object as a map

The deleted customer ID

Whether the customer has been deleted (true if soft-deleted)