Retrieve a customer from Stripe by ID.
This task fetches a Stripe customer object by its ID using the Stripe Java SDK.
yaml
type: "io.kestra.plugin.stripe.customer.Get"Examples
Get a customer by ID
yaml
id: get_customer
namespace: company.team
tasks:
  - id: get_customer
    type: io.kestra.plugin.stripe.customer.Get
    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 retrieve
Outputs
customerData object
The full customer object as a map
customerId string
The retrieved customer ID