Delete Customer

stripe.delete_customer
ActionBusiness appsconnection required

Calls the Stripe API with the connection's secret key.

Permanently delete a Stripe customer and cancel its subscriptions.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Stripe
Secret shape
the Stripe secret key (sk_...)
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
customer_id
The customer to act on (cus_...). Supports {{ }} expressions.
stringYes——cus_NffrFeUfNV2Hib
idempotency_key
Overrides the key this node derives from the step. Set it to a business identifier (an order id, say) when the same write must not repeat across runs; leave it blank and a retry of this step reuses the step's own key.
stringNo—≤ 255 characters—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "customer_id": "cus_NffrFeUfNV2Hib"
}

Output

One shape.

result

FieldTypeExample
id
The id of the customer that was deleted.
string—
deleted
True when Stripe confirmed the deletion.
boolean—
{
  "deleted": false,
  "id": ""
}

Notes

  • Deleting a customer immediately cancels its subscriptions and cannot be undone.

See Delete Customer run in a workflow.

In a technical demo we add the Stripe connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.