Skip to content
Proud to collaborate with Microsoft for Startups

stripe.customers.update_customer ​

Update a Stripe customer

Update mutable fields on an existing customer. Only the fields supplied are sent; anything omitted is left untouched.

Acts on the CUSTOMER'S OWN Stripe account, authenticated via the org-scoped Stripe connection selected by cloud_connection_uuid.

Inputs:

  • cloud_connection_uuid: Org-scoped Stripe connection (customer's own account).
  • customer_id: Stripe customer ID (cus_...).
  • email: New email address (optional).
  • name: New full name (optional).
  • description: New internal description (optional).
  • metadata: Metadata keys to set (merged by Stripe) (optional).

Outputs (terminal state_data):

  • customer_id: str
  • email: str
  • name: str

Connection required: cloud_connection_uuid — the organization's own Stripe account credentials; there is no platform-key fallback.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-stripe
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Org-scoped Stripe connection (customer's own account)
customer_idstringYes—Stripe customer ID (cus_...)
emailstringNo—New email address
namestringNo—New full name
descriptionstringNo—New internal description
metadatajsonNo—Metadata keys to set (merged by Stripe)

Output Schema ​

FieldTypeRequiredDefaultDescription
customer_idstringNo——
emailstringNo——
namestringNo——
cloud_connection_uuiduuidNo——
descriptionstringNo——
metadatajsonNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
errorstringNo——
error_typestringNo——
failed_layerintegerNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "stripe.customers.update_customer",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "customer_id": "value"
  }
}