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"

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

Stripe API Key

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

The customer ID to retrieve

The full customer object as a map

The retrieved customer ID