Update an existing customer in Stripe.

This task modifies a customer in Stripe with optional fields like name, email, and metadata.

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.

The customer ID to update

Customer email address

Key-value pairs for storing additional information

Customer name

The full customer object as a map

The updated customer ID