Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

A merchant secret key (sk_…) sent as Authorization: Bearer <key>.

Path Parameters

id
string
required

The setup intent id (seti_…).

Response

The setup intent.

id
string
required

Unique identifier for the setup intent (seti_…).

object
enum<string>
required
Available options:
setup_intent
merchant_id
string
required
livemode
boolean
required
customer
string | null
required

The customer this intent is attached to (cus_…), or null if not customer-scoped.

currency
string
required

Three-letter ISO currency code.

status
enum<string>
required

requires_confirmation — initial state; awaiting a client-side token. processing — vault operation is in progress. succeeded — card vaulted and payment method created. canceled — intent was canceled before completion.

Available options:
requires_confirmation,
processing,
succeeded,
canceled
payment_method
string | null
required

The reusable payment method created when the card was vaulted (pm_…). Null until succeeded.

metadata
object
required
created_at
integer
required

Unix epoch seconds.

updated_at
integer
required

Unix epoch seconds.