Get Customer
stripe.get_customer
ActionBusiness appsconnection required
Calls the Stripe API with the connection's secret key.
Retrieve one Stripe customer by its id.
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
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
customer_id The customer to act on (cus_...). Supports {{ }} expressions. | string | Yes | — | — | cus_NffrFeUfNV2Hib |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"customer_id": "cus_NffrFeUfNV2Hib"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The customer id (cus_...). | string | — |
email The customer's email address, or null. | string | — |
name The customer's full name, or null. | string | — |
description The free-text note stored on the customer. | string | — |
phone The customer's phone number, or null. | string | — |
currency The three-letter currency the customer is billed in. | string | — |
delinquent True when the latest invoice has not been paid. | boolean | — |
created Creation time, as a Unix timestamp in seconds. | number | — |
metadata The key/value pairs stored on the customer. | object | — |
{
"created": 0,
"currency": "",
"delinquent": false,
"description": "",
"email": "",
"id": "",
"metadata": {},
"name": "",
"phone": ""
}See Get 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.