Stripe Create

Stripe Create

Certified

Create Stripe customer record

Creates a Stripe customer with provided name, email, and metadata. By default only customerId is returned; set includeFullCustomerData to true to include the full Stripe payload (may contain PII).

yaml
type: io.kestra.plugin.stripe.customer.Create

Create a customer with name, email, and metadata

yaml
id: create_customer
namespace: company.team

tasks:
  - id: create_customer
    type: io.kestra.plugin.stripe.customer.Create
    apiKey: "{{ secret('STRIPE_API_KEY') }}"
    name: "John Doe"
    email: "john@example.com"
    metadata:
      plan: "pro"
      signup_source: "landing_page"
Properties

Stripe API Key

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

Customer email address

Email saved on the customer and used for receipts; required

Customer name

Full name stored on the Stripe customer; required

Defaultfalse

Include full customer payload

Defaults to false to avoid returning PII; when true, adds the complete Stripe customer object to the output

Customer metadata

Key-value pairs converted to strings before sending to Stripe

Reference (ref) of the pluginDefaults to apply to this task.

Full customer payload

Stripe customer object as a map; present only when includeFullCustomerData is true

Created customer ID