Skip to main content
GET
Retrieve Setup Intent

Authorizations

Authorization
string
header
required

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Headers

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-09-22-1"

Path Parameters

id
string
required

The setup intent to retrieve, prefixed sint_.

Response

setup intent retrieved

account_id
string | null
required

The account the payment method is saved for, prefixed biz_.

Example:

"biz_xxxxxxxxxxxxxx"

checkout_configuration_id
string | null
required

The checkout configuration this setup was created through, prefixed ch_. Null for a setup created through this API rather than a hosted checkout.

client_secret
string | null
required

The credential a buyer's surface presents to poll this setup and set its return URL — hand it to the elements' handleNextAction. Only on setups created through this API, and always null in list responses — retrieve the setup intent for it.

Example:

"sint_xxxxxxxxxxxxxx_secret_vdefault_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

created_at
string
required

When the setup intent was created, as an ISO 8601 timestamp.

Example:

"2026-01-01T12:00:00.000Z"

id
string
required

Setup intent ID, prefixed sint_.

Example:

"sint_xxxxxxxxxxxxxx"

last_setup_error
object | null
required

Why the setup ended where it did, or null when nothing has failed. Present on canceled — a buyer who abandoned carries no code, one refused by the provider does. Dropped once the setup succeeds.

member_id
string | null
required

The buyer's member record on the account, prefixed mber_. Null without the member:basic:read permission, unless the caller is the buyer.

Example:

"mber_xxxxxxxxxxxxxx"

metadata
object | null
required

Your own key-value data attached when the setup intent was created.

Example:
payment_instrument
object | null
required

The method behind this setup shaped for display: a buyer-facing name, the standard icon set, and the card's brand, last four, issuer identification number, and expiry when it was a card. Null until a method was collected.

payment_method_id
string | null
required

The saved payment method, prefixed payt_, ready to charge with Create Payment. Null until the setup has succeeded.

Example:

"payt_xxxxxxxxxxxxxx"

payment_method_type
enum<string> | null
required

The kind of instrument being saved, for example card or us_bank_account.

Available options:
acss_debit,
addi,
affirm,
afterpay_clearpay,
alipay,
alma,
amazon_pay,
apple,
apple_pay,
au_bank_transfer,
au_becs_debit,
bacs_debit,
bancolombia,
bancontact,
bank_wire,
billie,
blik,
boleto,
bre_b,
ca_bank_transfer,
capchase_pay,
card,
card_installments_three,
card_installments_six,
card_installments_twelve,
cashapp,
claritypay,
coinbase,
crypto,
custom,
customer_balance,
demo_pay,
efecty,
eps,
eu_bank_transfer,
fpx,
flex_pay,
gb_bank_transfer,
gcash,
giropay,
google_pay,
gopay,
grabpay,
id_bank_transfer,
ideal,
interac,
kakao_pay,
klarna,
klarna_pay_now,
konbini,
kr_card,
kr_market,
kriya,
kueski,
link,
mb_way,
m_pesa,
mercado_pago,
mercado_pago_ar,
mercado_pago_mx,
mobilepay,
modo,
mondu,
multibanco,
naver_pay,
nequi,
netbanking,
ng_bank,
ng_bank_transfer,
ng_card,
ng_market,
ng_ussd,
ng_wallet,
nupay,
nz_bank_account,
oney,
oney_3x,
oney_4x,
opay,
oxxo,
p24,
pago_efectivo,
pse,
pay_by_bank,
payco,
paynow,
paypal,
paypay,
payto,
pix,
platform_balance,
promptpay,
qris,
rapipago,
rechnung,
revolut_pay,
samsung_pay,
satispay,
scalapay,
sencillito,
sepa_debit,
sequra,
servipag,
sezzle,
shop_pay,
shopeepay,
sofort,
south_korea_market,
spei,
splitit,
sunbit,
swish,
tamara,
touch_n_go,
twint,
upi,
us_bank_account,
us_bank_transfer,
venmo,
verve,
vipps,
webpay,
wechat_pay,
yape,
zip,
coinflow,
unknown
Example:

"acss_debit"

return_url
string | null
required

Where the buyer lands after completing an off-site step, or null to leave them where they are.

Example:

"https://shinetime.example/billing/saved"

status
enum<string>
required

How far the setup has got. A 201 or 200 means we answered, not that the method was saved — always branch on this. requires_action — the buyer has a step outstanding; hand client_secret to the elements or poll Retrieve setup status. processing — the processor is deciding. succeeded — the method is saved, and only this one means saved. canceled — abandoned or refused; see last_setup_error.

Available options:
processing,
succeeded,
canceled,
requires_action
Example:

"succeeded"

three_ds_verified
boolean
required

True when the buyer completed 3D Secure while saving this payment method.

Example:

false

updated_at
string
required

When the setup intent was last updated, as an ISO 8601 timestamp.

Example:

"2026-01-01T12:00:00.000Z"

user
object | null
required

The user saving the payment method. Null when the buyer is a company rather than a user.