Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

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

Headers

Ionic-Account
string

Merchant ID when an authorized Platform acts for a connected Merchant. Omit when authenticating directly as that Merchant.

Pattern: ^mer_[0-9A-Za-z]{14}$

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

ID of the account that owns the setup intent (mer_…).

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

Custom key-value pairs for your use.

created_at
integer
required

Unix epoch seconds.

updated_at
integer
required

Unix epoch seconds.

client_secret
string

Returned only when creating the intent. Pass to Ionic Blocks to collect and save a payment method. Keep out of URLs and logs.