Stripe Update

Stripe Update

Certified

Update a Stripe customer

Updates a customer by ID with optional name, email, and metadata. Metadata values are stringified before sending.

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

Update a customer's name and metadata

yaml
id: update_customer
namespace: company.team

tasks:
  - id: update_customer
    type: io.kestra.plugin.stripe.customer.Update
    apiKey: "{{ secret('STRIPE_API_KEY') }}"
    customerId: "cus_123456789"
    name: "John Updated"
    metadata:
      plan: "enterprise"
      updated_by: "admin"
Properties

Stripe API Key

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

Customer ID to update

Customer email address

New email; useful for receipts and lookup

Customer metadata

Key-value pairs converted to strings before update

Customer name

New full name to store on the customer

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

Raw customer payload

Stripe customer object after update as a map

Updated customer ID