Skip to content

Stripe: Setup intents schemas

44 Stripe schemas with complete fields and constraints.

← Setup intents operations · All schemas

Cancel a Setup Intent — response body

FieldTypePresenceDescription and constraints
$objectRootA SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
Later, you can use [PaymentIntents](https://docs.stripe.com/api#payment_intents) to drive the payment flow.

Create a SetupIntent when you're ready to collect your customer's payment credentials.
Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides
you through the setup process.

Successful SetupIntents result in payment credentials that are optimized for future payments.
For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
[Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
If you use the SetupIntent with a [Customer](https://docs.stripe.com/api#setup_intent_object-customer),
it automatically attaches the resulting payment method to that Customer after successful setup.
We recommend using SetupIntents or [setup_future_usage](https://docs.stripe.com/api#payment_intent_object-setup_future_usage) on
PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.

By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.

Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
allowed_payment_method_typesJSONOptional
allowed_payment_method_types (anyOf 1)arrayAlternativeThe list of payment method types to allow for this SetupIntent. Stripe will only use methods in this list when determining the payment methods to offer.
allowed_payment_method_types (anyOf 1)[]stringEach itemKnown values: acss_debit, affirm, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boku_promptpay, boleto, capchase_pay, card, card_present, cashapp, check_scan, click_to_pay, crypto, customer_balance, demo_pay, duitnow, dummy_auth_push, dummy_passthrough_card, edenred, eps, fpx, gcash, getbalance, gift_card, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, klarna, knet, konbini, kr_card, kr_market, kriya, link, mb_way, mobilepay, momo, mondu, multibanco, naver_pay, netbanking, ng_bank, ng_bank_transfer, ng_card, ng_market, ng_ussd, ng_wallet, nz_bank_account, octopus, oxxo, p24, paper_check, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, sequra, shop_pay, shopeepay, sofort, south_korea_market, stripe_balance, sunbit, swish, tamara, test_pay, touch_n_go, truemoney, twint, upi, us_bank_account, us_cash_voucher, vipps, wechat_pay, wero, zip
allowed_payment_method_types (anyOf 2)nullAlternative
applicationJSONOptional
application (anyOf 1)JSONAlternativeID of the Connect application that created the SetupIntent.
application (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
application (anyOf 1) (anyOf 2)ModelAlternativeExpand PostApplicationFeesIdRefund — response body — application / object: application
application (anyOf 2)nullAlternative
attach_to_selfbooleanOptionalIf present, the SetupIntent's payment method will be attached to the in-context Stripe Account.

It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
automatic_payment_methodsJSONOptional
automatic_payment_methods (anyOf 1)JSONAlternativeSettings for dynamic payment methods compatible with this Setup Intent
automatic_payment_methods (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a SetupIntent — response body — automatic_payment_methods / value / allow_redirects: always, never
automatic_payment_methods (anyOf 2)nullAlternative
cancellation_reasonJSONOptional
cancellation_reason (anyOf 1)stringAlternativeReason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.
Known values: abandoned, duplicate, requested_by_customer
cancellation_reason (anyOf 2)nullAlternative
client_secretJSONOptional
client_secret (anyOf 1)stringAlternativeThe client secret of this SetupIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
Maximum length: 5000
client_secret (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
customerJSONOptional
customer (anyOf 1)JSONAlternativeID of the Customer this SetupIntent belongs to, if one exists.

If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
customer (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
customer (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a customer — response body
customer (anyOf 1) (anyOf 3)ModelAlternativeExpand Delete a customer — response body
customer (anyOf 2)nullAlternative
customer_accountJSONOptional
customer_account (anyOf 1)stringAlternativeID of the Account this SetupIntent belongs to, if one exists.

If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
Maximum length: 5000
customer_account (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeAn arbitrary string attached to the object. Often useful for displaying to users.
Maximum length: 5000
description (anyOf 2)nullAlternative
excluded_payment_method_typesJSONOptional
excluded_payment_method_types (anyOf 1)arrayAlternativePayment method types that are excluded from this SetupIntent.
excluded_payment_method_types (anyOf 1)[]stringEach itemKnown values: acss_debit, affirm, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card, cashapp, crypto, customer_balance, eps, fpx, giropay, grabpay, ideal, kakao_pay, klarna, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, sequra, sofort, sunbit, swish, twint, upi, us_bank_account, wechat_pay, zip
excluded_payment_method_types (anyOf 2)nullAlternative
flow_directionsJSONOptional
flow_directions (anyOf 1)arrayAlternativeIndicates the directions of money movement for which this payment method is intended to be used.

Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
flow_directions (anyOf 1)[]stringEach itemKnown values: inbound, outbound
flow_directions (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
last_setup_errorJSONOptional
last_setup_error (anyOf 1)JSONAlternativeThe error encountered in the previous SetupIntent confirmation.
last_setup_error (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a SetupIntent — response body — last_setup_error / value / type: api error, card error, idempotency error, invalid request error
last_setup_error (anyOf 2)nullAlternative
latest_attemptJSONOptional
latest_attempt (anyOf 1)JSONAlternativeThe most recent SetupAttempt for this SetupIntent.
latest_attempt (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
latest_attempt (anyOf 1) (anyOf 2)ModelAlternativeExpand List all Setup Attempts — response body — data item
latest_attempt (anyOf 2)nullAlternative
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
managed_paymentsJSONOptional
managed_payments (anyOf 1)JSONAlternative
managed_payments (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — managed payments value enabled
managed_payments (anyOf 2)nullAlternative
mandateJSONOptional
mandate (anyOf 1)JSONAlternativeID of the multi use Mandate generated by the SetupIntent.
mandate (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
mandate (anyOf 1) (anyOf 2)ModelAlternativeExpand Retrieve a Mandate — response body
mandate (anyOf 2)nullAlternative
metadataJSONOptional
metadata (anyOf 1)objectAlternativeSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keysMaximum length: 500
metadata (anyOf 2)nullAlternative
next_actionJSONOptional
next_action (anyOf 1)JSONAlternativeIf present, this property tells you what actions you need to take in order for your customer to continue payment setup.
next_action (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits
next_action (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: setup_intent
on_behalf_ofJSONOptional
on_behalf_of (anyOf 1)JSONAlternativeThe account (if any) for which the setup is intended.
on_behalf_of (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
on_behalf_of (anyOf 1) (anyOf 2)ModelAlternativeExpand Create an account — response body
on_behalf_of (anyOf 2)nullAlternative
payment_methodJSONOptional
payment_method (anyOf 1)JSONAlternativeID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.
payment_method (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
payment_method (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a Payment Method — response body
payment_method (anyOf 2)nullAlternative
payment_method_configuration_detailsJSONOptional
payment_method_configuration_details (anyOf 1)JSONAlternativeInformation about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this Setup Intent.
payment_method_configuration_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method configuration details value id, parent
payment_method_configuration_details (anyOf 2)nullAlternative
payment_method_optionsJSONOptional
payment_method_options (anyOf 1)JSONAlternativePayment method-specific configuration for this SetupIntent.
payment_method_options (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account
payment_method_options (anyOf 2)nullAlternative
payment_method_typesarrayRequired within parentThe list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
payment_method_types[]stringEach itemMaximum length: 5000
single_use_mandateJSONOptional
single_use_mandate (anyOf 1)JSONAlternativeID of the single_use Mandate generated by the SetupIntent.
single_use_mandate (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
single_use_mandate (anyOf 1) (anyOf 2)ModelAlternativeExpand Retrieve a Mandate — response body
single_use_mandate (anyOf 2)nullAlternative
statusstringRequired within parent[Status](https://docs.stripe.com/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
Known values: canceled, processing, requires_action, requires_confirmation, requires_payment_method, succeeded
usagestringRequired within parentIndicates how the payment method is intended to be used in the future.

Use `on_session` if you intend to only reuse the payment method when the customer is in your checkout flow. Use `off_session` if your customer may or may not be in your checkout flow. If not provided, this value defaults to `off_session`.
Maximum length: 5000

Referenced models: Create an account — response body, Cancel a SetupIntent — response body — last_setup_error / value / type: api error, card error, idempotency error, invalid request error, PostApplicationFeesIdRefund — response body — application / object: application, Create a customer — response body, Delete a customer — response body, Retrieve a Mandate — response body, Cancel a SetupIntent — response body — automatic_payment_methods / value / allow_redirects: always, never, Create a Payment Method — response body, Cancel a Setup Intent — response body — payment method configuration details value id, parent, Cancel a Setup Intent — response body — managed payments value enabled, List all Setup Attempts — response body — data item, Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account

Cancel a Setup Intent — response body — managed payments value enabled

FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentSet to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.

Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits

FieldTypePresenceDescription and constraints
$objectRoot
blik_authorizeModelOptionalExpand Create a Payment Method — response body — zip
cashapp_handle_redirect_or_display_qr_codeModelOptionalExpand Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits cashapp handle redirect or display qr code
pix_display_qr_codeModelOptionalExpand Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits pix display qr code
redirect_to_urlModelOptionalExpand Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits redirect to url
typestringRequired within parentType of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
Maximum length: 5000
upi_handle_redirect_or_display_qr_codeModelOptionalExpand Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits upi handle redirect or display qr code
use_stripe_sdkobjectOptionalWhen confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
Additional keys: allowed
verify_with_microdepositsModelOptionalExpand Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits verify with microdeposits

Referenced models: Create a Payment Method — response body — zip, Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits cashapp handle redirect or display qr code, Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits upi handle redirect or display qr code, Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits verify with microdeposits, Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits pix display qr code, Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits redirect to url

Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits cashapp handle redirect or display qr code

FieldTypePresenceDescription and constraints
$objectRoot
hosted_instructions_urlstringRequired within parentThe URL to the hosted Cash App Pay instructions page, which allows customers to view the QR code, and supports QR code refreshing on expiration.
Maximum length: 5000
mobile_auth_urlstringRequired within parentThe url for mobile redirect based auth
Maximum length: 5000
qr_codeModelRequired within parentExpand Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits upi handle redirect or display qr code qr code

Referenced models: Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits upi handle redirect or display qr code qr code

Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits pix display qr code

FieldTypePresenceDescription and constraints
$objectRoot
datastringRequired within parentThe raw data string used to generate QR code, it should be used together with QR code library.
Maximum length: 5000
expires_atJSONRequired within parent
expires_at (anyOf 1)integerAlternativeThe date (unix timestamp) when the PIX expires.
Format: unix-time
expires_at (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
hosted_instructions_urlstringRequired within parentThe URL to the hosted pix instructions page, which allows customers to view the pix QR code.
Maximum length: 5000
image_url_pngstringRequired within parentThe image_url_png string used to render png QR code
Maximum length: 5000
image_url_svgstringRequired within parentThe image_url_svg string used to render svg QR code
Maximum length: 5000

Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits redirect to url

FieldTypePresenceDescription and constraints
$objectRoot
return_urlJSONOptional
return_url (anyOf 1)stringAlternativeIf the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
Maximum length: 5000
return_url (anyOf 2)nullAlternative
urlJSONOptional
url (anyOf 1)stringAlternativeThe URL you must redirect your customer to in order to authenticate.
Maximum length: 5000
url (anyOf 2)nullAlternative

Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits upi handle redirect or display qr code

FieldTypePresenceDescription and constraints
$objectRoot
hosted_instructions_urlstringRequired within parentThe URL to the hosted UPI instructions page, which allows customers to view the QR code.
Maximum length: 5000
qr_codeModelRequired within parentExpand Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits upi handle redirect or display qr code qr code

Referenced models: Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits upi handle redirect or display qr code qr code

Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits upi handle redirect or display qr code qr code

FieldTypePresenceDescription and constraints
$objectRoot
expires_atJSONRequired within parent
expires_at (anyOf 1)integerAlternativeThe date (unix timestamp) when the QR code expires.
Format: unix-time
expires_at (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
image_url_pngstringRequired within parentThe image_url_png string used to render QR code
Maximum length: 5000
image_url_svgstringRequired within parentThe image_url_svg string used to render QR code
Maximum length: 5000

Cancel a Setup Intent — response body — next action value blik authorize, cashapp handle redirect or display qr code, pix display qr code, redirect to url, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits verify with microdeposits

FieldTypePresenceDescription and constraints
$objectRoot
arrival_dateJSONRequired within parent
arrival_date (anyOf 1)integerAlternativeThe timestamp when the microdeposits are expected to land.
Format: unix-time
arrival_date (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
hosted_verification_urlstringRequired within parentThe URL for the hosted verification page, which allows customers to verify their bank account.
Maximum length: 5000
microdeposit_typeJSONOptional
microdeposit_type (anyOf 1)stringAlternativeThe type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
Known values: amounts, descriptor_code
microdeposit_type (anyOf 2)nullAlternative

Cancel a Setup Intent — response body — payment method configuration details value id, parent

FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parentID of the payment method configuration used.
Maximum length: 5000
parentJSONOptional
parent (anyOf 1)stringAlternativeID of the parent payment method configuration used.
Maximum length: 5000
parent (anyOf 2)nullAlternative

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account

FieldTypePresenceDescription and constraints
$objectRoot
acss_debitJSONOptional
acss_debit (anyOf 1)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / acss_debit / verification_method: automatic, instant, microdeposits
acss_debit (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
amazon_payJSONOptional
amazon_pay (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — zip
amazon_pay (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
bacs_debitJSONOptional
bacs_debit (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account bacs debit mandate options
bacs_debit (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
bizumJSONOptional
bizum (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — zip
bizum (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
blikJSONOptional
blik (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account blik mandate options
blik (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
cardJSONOptional
card (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account card mandate options, network, request three d secure
card (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
card_presentJSONOptional
card_present (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — zip
card_present (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
klarnaJSONOptional
klarna (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account klarna currency, preferred locale
klarna (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
linkJSONOptional
link (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — zip
link (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
paypalJSONOptional
paypal (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account paypal billing agreement id
paypal (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
paytoJSONOptional
payto (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account payto mandate options
payto (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
pixJSONOptional
pix (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account pix mandate options
pix (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
sepa_debitJSONOptional
sepa_debit (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account sepa debit mandate options
sepa_debit (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
upiJSONOptional
upi (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account upi mandate options
upi (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits
us_bank_accountJSONOptional
us_bank_account (anyOf 1)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / us_bank_account / verification_method: automatic, instant, microdeposits
us_bank_account (anyOf 2)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits

Referenced models: Create a Payment Method — response body — zip, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account upi mandate options, Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / acss_debit / verification_method: automatic, instant, microdeposits, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account bacs debit mandate options, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account blik mandate options, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account card mandate options, network, request three d secure, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account klarna currency, preferred locale, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account paypal billing agreement id, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account payto mandate options, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account pix mandate options, Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account sepa debit mandate options, Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / us_bank_account / verification_method: automatic, instant, microdeposits, Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account bacs debit mandate options

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay bacs debit mandate options

Referenced models: Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay bacs debit mandate options

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account blik mandate options

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account blik mandate options mandate options

Referenced models: Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account blik mandate options mandate options

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account blik mandate options mandate options

FieldTypePresenceDescription and constraints
$objectRoot
expires_atJSONOptional
expires_at (anyOf 1)JSONAlternative
expires_at (anyOf 1) (anyOf 1)integerAlternativeDate at which the mandate expires.
Format: unix-time
expires_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_at (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeType of the mandate.
Known values: off_session
type (anyOf 2)nullAlternative

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account card mandate options, network, request three d secure

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsJSONOptional
mandate_options (anyOf 1)JSONAlternativeConfiguration options for setting up an eMandate for cards issued in India.
mandate_options (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / card / mandate_options, network, request_three_d_secure / mandate_options / value / amount_type: fixed, maximum, interval: day, month, sporadic, week, year
mandate_options (anyOf 2)nullAlternative
networkJSONOptional
network (anyOf 1)stringAlternativeSelected network to process this SetupIntent on. Depends on the available networks of the card attached to the setup intent. Can be only set confirm-time.
Known values: amex, cartes_bancaires, diners, discover, eftpos_au, girocard, interac, jcb, link, mastercard, unionpay, unknown, visa
network (anyOf 2)nullAlternative
request_three_d_secureJSONOptional
request_three_d_secure (anyOf 1)stringAlternativeWe strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
Known values: any, automatic, challenge
request_three_d_secure (anyOf 2)nullAlternative

Referenced models: Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / card / mandate_options, network, request_three_d_secure / mandate_options / value / amount_type: fixed, maximum, interval: day, month, sporadic, week, year

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account klarna currency, preferred locale

FieldTypePresenceDescription and constraints
$objectRoot
currencyJSONOptional
currency (anyOf 1)stringAlternativeThe currency of the setup intent. Three letter ISO currency code.
Format: currency
currency (anyOf 2)nullAlternative
preferred_localeJSONOptional
preferred_locale (anyOf 1)stringAlternativePreferred locale of the Klarna checkout page that the customer is redirected to.
Maximum length: 5000
preferred_locale (anyOf 2)nullAlternative

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account paypal billing agreement id

FieldTypePresenceDescription and constraints
$objectRoot
billing_agreement_idJSONOptional
billing_agreement_id (anyOf 1)stringAlternativeThe PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
Maximum length: 5000
billing_agreement_id (anyOf 2)nullAlternative

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account payto mandate options

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay payto mandate options

Referenced models: Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay payto mandate options

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account pix mandate options

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay pix mandate options

Referenced models: Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay pix mandate options

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account sepa debit mandate options

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay sepa debit mandate options

Referenced models: Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay sepa debit mandate options

Cancel a Setup Intent — response body — payment method options value acss debit, amazon pay, bacs debit, bizum, blik, card, card present, klarna, link, paypal, payto, pix, sepa debit, upi, us bank account upi mandate options

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Retrieve a Mandate — response body — payment method details upi

Referenced models: Retrieve a Mandate — response body — payment method details upi

Cancel a SetupIntent — response body — automatic_payment_methods / value / allow_redirects: always, never

FieldTypePresenceDescription and constraints
$objectRoot
allow_redirectsstringOptionalControls whether this SetupIntent will accept redirect-based payment methods.

Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
Known values: always, never
enabledJSONOptional
enabled (anyOf 1)booleanAlternativeAutomatically calculates compatible payment methods
enabled (anyOf 2)nullAlternative

Cancel a SetupIntent — response body — last_setup_error / value / type: api error, card error, idempotency error, invalid request error

FieldTypePresenceDescription and constraints
$objectRoot
advice_codestringOptionalFor card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines/card#retrying-issuer-declines) if they provide one.
Maximum length: 5000
chargestringOptionalFor card errors, the ID of the failed charge.
Maximum length: 5000
codestringOptionalFor some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
Maximum length: 5000
decline_codestringOptionalFor card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
Maximum length: 5000
doc_urlstringOptionalA URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
Maximum length: 5000
messagestringOptionalA human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
Maximum length: 40000
network_advice_codestringOptionalFor card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
Maximum length: 5000
network_decline_codestringOptionalFor payments declined by the network, an alphanumeric code which indicates the reason the payment failed.
Maximum length: 5000
paramstringOptionalIf the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
Maximum length: 5000
payment_intentModelOptionalExpand Cancel a Payment Intent — response body
payment_methodModelOptionalExpand Create a Payment Method — response body
payment_method_typestringOptionalIf the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
Maximum length: 5000
request_log_urlstringOptionalA URL to the request log entry in your dashboard.
Maximum length: 5000
setup_intentModelOptionalExpand Cancel a Setup Intent — response body
sourceJSONOptionalThe [source object](https://docs.stripe.com/api/sources/object) for errors returned on a request involving a source.
source (anyOf 1)ModelAlternativeExpand Retrieve a bank account — response body
source (anyOf 2)ModelAlternativeExpand Retrieve a card — customers get Customers Customer Cards Id — response body
source (anyOf 3)ModelAlternativeExpand Create a source — response body
typestringRequired within parentThe type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
Known values: api_error, card_error, idempotency_error, invalid_request_error

Referenced models: Retrieve a bank account — response body, Retrieve a card — customers get Customers Customer Cards Id — response body, Cancel a Payment Intent — response body, Create a Payment Method — response body, Cancel a Setup Intent — response body, Create a source — response body

Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / acss_debit / verification_method: automatic, instant, microdeposits

FieldTypePresenceDescription and constraints
$objectRoot
currencyJSONOptional
currency (anyOf 1)stringAlternativeCurrency supported by the bank account
Known values: cad, usd
currency (anyOf 2)nullAlternative
mandate_optionsModelOptionalExpand Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / acss_debit / verification_method: automatic, instant, microdeposits mandate options
verification_methodstringOptionalBank account verification method. The default value is `automatic`.
Known values: automatic, instant, microdeposits

Referenced models: Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / acss_debit / verification_method: automatic, instant, microdeposits mandate options

Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / acss_debit / verification_method: automatic, instant, microdeposits mandate options

FieldTypePresenceDescription and constraints
$objectRoot
custom_mandate_urlstringOptionalA URL for custom mandate text
Maximum length: 5000
default_forarrayOptionalList of Stripe products where this mandate can be selected automatically.
default_for[]stringEach itemKnown values: invoice, subscription
interval_descriptionJSONOptional
interval_description (anyOf 1)stringAlternativeDescription of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
Maximum length: 5000
interval_description (anyOf 2)nullAlternative
payment_scheduleJSONOptional
payment_schedule (anyOf 1)stringAlternativePayment schedule for the mandate.
Known values: combined, interval, sporadic
payment_schedule (anyOf 2)nullAlternative
transaction_typeJSONOptional
transaction_type (anyOf 1)stringAlternativeTransaction type of the mandate.
Known values: business, personal
transaction_type (anyOf 2)nullAlternative

Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / card / mandate_options, network, request_three_d_secure / mandate_options / value / amount_type: fixed, maximum, interval: day, month, sporadic, week, year

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONRequired within parent
amount (anyOf 1)integerAlternativeAmount to be charged for future payments, specified in the presentment currency.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_typestringRequired within parentOne of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
Known values: fixed, maximum
currencystringRequired within parentThree-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Format: currency
descriptionJSONOptional
description (anyOf 1)stringAlternativeA description of the mandate or subscription that is meant to be displayed to the customer.
Maximum length: 200
description (anyOf 2)nullAlternative
end_dateJSONOptional
end_date (anyOf 1)JSONAlternative
end_date (anyOf 1) (anyOf 1)integerAlternativeEnd date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
Format: unix-time
end_date (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
end_date (anyOf 2)nullAlternative
intervalstringRequired within parentSpecifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
Known values: day, month, sporadic, week, year
interval_countJSONOptional
interval_count (anyOf 1)JSONAlternative
interval_count (anyOf 1) (anyOf 1)integerAlternativeThe number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
interval_count (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
interval_count (anyOf 2)nullAlternative
referencestringRequired within parentUnique identifier for the mandate or subscription.
Maximum length: 80
start_dateJSONRequired within parent
start_date (anyOf 1)integerAlternativeStart date of the mandate or subscription. Start date should not be lesser than yesterday.
Format: unix-time
start_date (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
supported_typesJSONOptional
supported_types (anyOf 1)arrayAlternativeSpecifies the type of mandates supported. Possible values are `india`.
supported_types (anyOf 1)[]stringEach itemKnown values: india
supported_types (anyOf 2)nullAlternative

Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / pix / verification_method: automatic, instant, microdeposits

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay payto mandate options
verification_methodstringOptionalBank account verification method. The default value is `automatic`.
Known values: automatic, instant, microdeposits

Referenced models: Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay payto mandate options

Cancel a SetupIntent — response body — payment_method_options / value / acss_debit, amazon_pay, bacs_debit, bizum, blik, card, card_present, klarna, link, paypal, payto, pix, sepa_debit, upi, us_bank_account / us_bank_account / verification_method: automatic, instant, microdeposits

FieldTypePresenceDescription and constraints
$objectRoot
financial_connectionsModelOptionalExpand Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay us bank account financial connections
mandate_optionsModelOptionalExpand Retrieve a Mandate — response body — payment method details us bank account
verification_methodstringOptionalBank account verification method. The default value is `automatic`.
Known values: automatic, instant, microdeposits

Referenced models: Create a Checkout Session — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, boleto, card, cashapp, customer balance, eps, fpx, giropay, grabpay, ideal, kakao pay, klarna, konbini, kr card, link, mobilepay, multibanco, naver pay, oxxo, p24, payco, paynow, paypal, payto, pix, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, sunbit, swish, twint, upi, us bank account, wechat pay us bank account financial connections, Retrieve a Mandate — response body — payment method details us bank account

Create a Setup Intent — request body — body mandate data customer acceptance

FieldTypePresenceDescription and constraints
$objectRoot
customer_acceptanceobjectRequired within parent
customer_acceptance.accepted_atintegerOptionalFormat: unix-time
customer_acceptance.offlineobjectOptional
customer_acceptance.onlineobjectOptional
customer_acceptance.online.ip_addressstringRequired within parent
customer_acceptance.online.user_agentstringRequired within parentMaximum length: 5000
customer_acceptance.typestringRequired within parentOne of: offline, online
Maximum length: 5000

Create a Setup Intent — request body — body payment method data

FieldTypePresenceDescription and constraints
$objectRootWhen included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)
value in the SetupIntent.
acss_debitobjectOptional
acss_debit.account_numberstringRequired within parentMaximum length: 5000
acss_debit.institution_numberstringRequired within parentMaximum length: 5000
acss_debit.transit_numberstringRequired within parentMaximum length: 5000
affirmobjectOptional
afterpay_clearpayobjectOptional
alipayobjectOptional
allow_redisplaystringOptionalOne of: always, limited, unspecified
almaobjectOptional
amazon_payobjectOptional
au_becs_debitobjectOptional
au_becs_debit.account_numberstringRequired within parentMaximum length: 5000
au_becs_debit.bsb_numberstringRequired within parentMaximum length: 5000
bacs_debitobjectOptional
bacs_debit.account_numberstringOptionalMaximum length: 5000
bacs_debit.sort_codestringOptionalMaximum length: 5000
bancontactobjectOptional
billieobjectOptional
billing_detailsModelOptionalExpand Create a Setup Intent — request body — body payment method data billing details
bizumobjectOptional
blikobjectOptional
boletoobjectOptional
boleto.tax_idstringRequired within parentMaximum length: 5000
cashappobjectOptional
cryptoobjectOptional
customer_balanceobjectOptional
epsModelOptionalExpand Create a Setup Intent — request body — body payment method data eps
fpxobjectOptional
fpx.bankstringRequired within parentOne of: affin_bank, agrobank, alliance_bank, ambank, bank_islam, bank_muamalat, bank_of_china, bank_rakyat, bnp_paribas, bsn, cimb, citibank, deutsche_bank, hong_leong_bank, hsbc, kfh, maybank2e, maybank2u, mbsb_bank, ocbc, pb_enterprise, public_bank, rhb, standard_chartered, uob
Maximum length: 5000
giropayobjectOptional
grabpayobjectOptional
idealobjectOptional
ideal.bankstringOptionalOne of: abn_amro, adyen, asn_bank, bunq, buut, finom, handelsbanken, ing, knab, mollie, moneyou, n26, nn, rabobank, regiobank, revolut, sns_bank, triodos_bank, van_lanschot, yoursafe
Maximum length: 5000
interac_presentobjectOptional
kakao_payobjectOptional
klarnaobjectOptional
klarna.dobobjectOptional
klarna.dob.dayintegerRequired within parent
klarna.dob.monthintegerRequired within parent
klarna.dob.yearintegerRequired within parent
konbiniobjectOptional
kr_cardobjectOptional
linkobjectOptional
mb_wayobjectOptional
metadataobjectOptionalAdditional keys: see wildcard field
metadata.*stringAdditional keys
mobilepayobjectOptional
multibancoobjectOptional
naver_payobjectOptional
naver_pay.fundingstringOptionalOne of: card, points
nz_bank_accountobjectOptional
nz_bank_account.account_holder_namestringOptionalMaximum length: 5000
nz_bank_account.account_numberstringRequired within parentMaximum length: 5000
nz_bank_account.bank_codestringRequired within parentMaximum length: 5000
nz_bank_account.branch_codestringRequired within parentMaximum length: 5000
nz_bank_account.referencestringOptionalMaximum length: 128
nz_bank_account.suffixstringRequired within parentMaximum length: 5000
oxxoobjectOptional
p24objectOptional
p24.bankstringOptionalOne of: alior_bank, bank_millennium, bank_nowy_bfg_sa, bank_pekao_sa, banki_spbdzielcze, blik, bnp_paribas, boz, citi_handlowy, credit_agricole, envelobank, etransfer_pocztowy24, getin_bank, ideabank, ing, inteligo, mbank_mtransfer, nest_przelew, noble_pay, pbac_z_ipko, plus_bank, santander_przelew24, tmobile_usbugi_bankowe, toyota_bank, velobank, volkswagen_bank
pay_by_bankobjectOptional
paycoobjectOptional
paynowobjectOptional
paypalobjectOptional
paypayobjectOptional
paytoobjectOptional
payto.account_numberstringOptionalMaximum length: 5000
payto.bsb_numberstringOptionalMaximum length: 5000
payto.pay_idstringOptionalMaximum length: 5000
pixobjectOptional
promptpayobjectOptional
radar_optionsobjectOptional
radar_options.sessionstringOptionalMaximum length: 5000
revolut_payobjectOptional
samsung_payobjectOptional
satispayobjectOptional
scalapayobjectOptional
sepa_debitobjectOptional
sepa_debit.ibanstringRequired within parentMaximum length: 5000
sequraobjectOptional
sofortobjectOptional
sofort.countrystringRequired within parentOne of: AT, BE, DE, ES, IT, NL
sunbitobjectOptional
swishobjectOptional
twintobjectOptional
typestringRequired within parentOne of: acss_debit, affirm, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, cashapp, crypto, customer_balance, eps, fpx, giropay, grabpay, ideal, kakao_pay, klarna, konbini, kr_card, link, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, sequra, sofort, sunbit, swish, twint, upi, us_bank_account, wechat_pay, zip
upiobjectOptional
upi.mandate_optionsobjectOptional
upi.mandate_options.amountintegerOptional
upi.mandate_options.amount_typestringOptionalOne of: fixed, maximum
upi.mandate_options.descriptionstringOptionalMaximum length: 20
upi.mandate_options.end_dateintegerOptionalFormat: unix-time
us_bank_accountobjectOptional
us_bank_account.account_holder_typestringOptionalOne of: company, individual
us_bank_account.account_numberstringOptionalMaximum length: 5000
us_bank_account.account_typestringOptionalOne of: checking, savings
us_bank_account.financial_connections_accountstringOptionalMaximum length: 5000
us_bank_account.routing_numberstringOptionalMaximum length: 5000
wechat_payobjectOptional
zipobjectOptional

Referenced models: Create a Setup Intent — request body — body payment method data billing details, Create a Setup Intent — request body — body payment method data eps

Create a Setup Intent — request body — body payment method data billing details

FieldTypePresenceDescription and constraints
$objectRoot
addressJSONOptional
address (anyOf 1)objectAlternative
address (anyOf 1).citystringOptionalMaximum length: 5000
address (anyOf 1).countrystringOptionalMaximum length: 5000
address (anyOf 1).line1stringOptionalMaximum length: 5000
address (anyOf 1).line2stringOptionalMaximum length: 5000
address (anyOf 1).postal_codestringOptionalMaximum length: 5000
address (anyOf 1).statestringOptionalMaximum length: 5000
address (anyOf 2)stringAlternativeOne of:
emailJSONOptional
email (anyOf 1)stringAlternative
email (anyOf 2)stringAlternativeOne of:
nameJSONOptional
name (anyOf 1)stringAlternativeMaximum length: 5000
name (anyOf 2)stringAlternativeOne of:
phoneJSONOptional
phone (anyOf 1)stringAlternativeMaximum length: 5000
phone (anyOf 2)stringAlternativeOne of:
tax_idstringOptionalMaximum length: 5000

Create a Setup Intent — request body — body payment method data eps

FieldTypePresenceDescription and constraints
$objectRoot
bankstringOptionalOne of: arzte_und_apotheker_bank, austrian_anadi_bank_ag, bank_austria, bankhaus_carl_spangler, bankhaus_schelhammer_und_schattera_ag, bawag_psk_ag, bks_bank_ag, brull_kallmus_bank_ag, btv_vier_lander_bank, capital_bank_grawe_gruppe_ag, deutsche_bank_ag, dolomitenbank, easybank_ag, erste_bank_und_sparkassen, hypo_alpeadriabank_international_ag, hypo_bank_burgenland_aktiengesellschaft, hypo_noe_lb_fur_niederosterreich_u_wien, hypo_oberosterreich_salzburg_steiermark, hypo_tirol_bank_ag, hypo_vorarlberg_bank_ag, marchfelder_bank, oberbank_ag, raiffeisen_bankengruppe_osterreich, schoellerbank_ag, sparda_bank_wien, volksbank_gruppe, volkskreditbank_ag, vr_bank_braunau
Maximum length: 5000

Create a Setup Intent — request body — body payment method options

FieldTypePresenceDescription and constraints
$objectRootPayment method-specific configuration for this SetupIntent.
acss_debitModelOptionalExpand Create a Setup Intent — request body — body payment method options acss debit
amazon_payobjectOptional
bacs_debitobjectOptional
bacs_debit.mandate_optionsobjectOptional
bacs_debit.mandate_options.reference_prefixJSONOptional
bacs_debit.mandate_options.reference_prefix (anyOf 1)stringAlternativeMaximum length: 12
bacs_debit.mandate_options.reference_prefix (anyOf 2)stringAlternativeOne of:
bizumobjectOptional
blikobjectOptional
blik.codestringOptionalMaximum length: 5000
blik.mandate_optionsobjectOptional
blik.mandate_options.expires_atintegerOptionalFormat: unix-time
cardModelOptionalExpand Create a Setup Intent — request body — body payment method options card
card_presentobjectOptional
klarnaModelOptionalExpand Create a Setup Intent — request body — body payment method options klarna
linkobjectOptional
paypalobjectOptional
paypal.billing_agreement_idstringOptionalMaximum length: 5000
paytoModelOptionalExpand Create a Setup Intent — request body — body payment method options payto
pixModelOptionalExpand Create a Setup Intent — request body — body payment method options pix
sepa_debitobjectOptional
sepa_debit.mandate_optionsobjectOptional
sepa_debit.mandate_options.reference_prefixJSONOptional
sepa_debit.mandate_options.reference_prefix (anyOf 1)stringAlternativeMaximum length: 12
sepa_debit.mandate_options.reference_prefix (anyOf 2)stringAlternativeOne of:
upiobjectOptional
upi.mandate_optionsobjectOptional
upi.mandate_options.amountintegerOptional
upi.mandate_options.amount_typestringOptionalOne of: fixed, maximum
upi.mandate_options.descriptionstringOptionalMaximum length: 20
upi.mandate_options.end_dateintegerOptionalFormat: unix-time
upi.setup_future_usagestringOptionalOne of: , none, off_session, on_session
us_bank_accountModelOptionalExpand Create a Setup Intent — request body — body payment method options us bank account

Referenced models: Create a Setup Intent — request body — body payment method options acss debit, Create a Setup Intent — request body — body payment method options card, Create a Setup Intent — request body — body payment method options klarna, Create a Setup Intent — request body — body payment method options payto, Create a Setup Intent — request body — body payment method options pix, Create a Setup Intent — request body — body payment method options us bank account

Create a Setup Intent — request body — body payment method options acss debit

FieldTypePresenceDescription and constraints
$objectRoot
currencystringOptionalOne of: cad, usd
mandate_optionsobjectOptional
mandate_options.custom_mandate_urlJSONOptional
mandate_options.custom_mandate_url (anyOf 1)stringAlternative
mandate_options.custom_mandate_url (anyOf 2)stringAlternativeOne of:
mandate_options.default_forarrayOptional
mandate_options.default_for[]stringEach itemOne of: invoice, subscription
mandate_options.interval_descriptionstringOptionalMaximum length: 500
mandate_options.payment_schedulestringOptionalOne of: combined, interval, sporadic
mandate_options.transaction_typestringOptionalOne of: business, personal
verification_methodstringOptionalOne of: automatic, instant, microdeposits

Create a Setup Intent — request body — body payment method options card

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Create a Setup Intent — request body — body payment method options card mandate options
networkstringOptionalOne of: amex, cartes_bancaires, diners, discover, eftpos_au, girocard, interac, jcb, link, mastercard, unionpay, unknown, visa
Maximum length: 5000
request_three_d_securestringOptionalOne of: any, automatic, challenge
three_d_secureModelOptionalExpand Create a Setup Intent — request body — body payment method options card three d secure

Referenced models: Create a Setup Intent — request body — body payment method options card mandate options, Create a Setup Intent — request body — body payment method options card three d secure

Create a Setup Intent — request body — body payment method options card mandate options

FieldTypePresenceDescription and constraints
$objectRoot
amountintegerRequired within parent
amount_typestringRequired within parentOne of: fixed, maximum
currencystringRequired within parentFormat: currency
descriptionstringOptionalMaximum length: 200
end_dateintegerOptionalFormat: unix-time
intervalstringRequired within parentOne of: day, month, sporadic, week, year
interval_countintegerOptional
referencestringRequired within parentMaximum length: 80
start_dateintegerRequired within parentFormat: unix-time
supported_typesarrayOptional
supported_types[]stringEach itemOne of: india

Create a Setup Intent — request body — body payment method options card three d secure

FieldTypePresenceDescription and constraints
$objectRoot
ares_trans_statusstringOptionalOne of: A, C, I, N, R, U, Y
cryptogramstringOptionalMaximum length: 5000
electronic_commerce_indicatorstringOptionalOne of: 01, 02, 05, 06, 07
network_optionsobjectOptional
network_options.cartes_bancairesobjectOptional
network_options.cartes_bancaires.cb_avalgostringRequired within parentOne of: 0, 1, 2, 3, 4, A
network_options.cartes_bancaires.cb_exemptionstringOptionalMaximum length: 4
network_options.cartes_bancaires.cb_scoreintegerOptional
requestor_challenge_indicatorstringOptionalMaximum length: 2
transaction_idstringOptionalMaximum length: 5000
versionstringOptionalOne of: 1.0.2, 2.1.0, 2.2.0, 2.3.0, 2.3.1

Create a Setup Intent — request body — body payment method options klarna

FieldTypePresenceDescription and constraints
$objectRoot
currencystringOptionalFormat: currency
on_demandobjectOptional
on_demand.average_amountintegerOptional
on_demand.maximum_amountintegerOptional
on_demand.minimum_amountintegerOptional
on_demand.purchase_intervalstringOptionalOne of: day, month, week, year
on_demand.purchase_interval_countintegerOptional
preferred_localestringOptionalOne of: cs-CZ, da-DK, de-AT, de-CH, de-DE, el-GR, en-AT, en-AU, en-BE, en-CA, en-CH, en-CZ, en-DE, en-DK, en-ES, en-FI, en-FR, en-GB, en-GR, en-IE, en-IT, en-NL, en-NO, en-NZ, en-PL, en-PT, en-RO, en-SE, en-US, es-ES, es-US, fi-FI, fr-BE, fr-CA, fr-CH, fr-FR, it-CH, it-IT, nb-NO, nl-BE, nl-NL, pl-PL, pt-PT, ro-RO, sv-FI, sv-SE
subscriptionsJSONOptional
subscriptions (anyOf 1)arrayAlternative
subscriptions (anyOf 1)[]objectEach item
subscriptions (anyOf 1)[].intervalstringRequired within parentOne of: day, month, week, year
subscriptions (anyOf 1)[].interval_countintegerOptional
subscriptions (anyOf 1)[].namestringOptionalMaximum length: 255
subscriptions (anyOf 1)[].next_billingobjectRequired within parent
subscriptions (anyOf 1)[].next_billing.amountintegerRequired within parent
subscriptions (anyOf 1)[].next_billing.datestringRequired within parentMaximum length: 5000
subscriptions (anyOf 1)[].referencestringRequired within parentMaximum length: 255
subscriptions (anyOf 2)stringAlternativeOne of:

Create a Setup Intent — request body — body payment method options payto

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Create a Setup Intent — request body — body payment method options payto mandate options

Referenced models: Create a Setup Intent — request body — body payment method options payto mandate options

Create a Setup Intent — request body — body payment method options payto mandate options

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONOptional
amount (anyOf 1)integerAlternative
amount (anyOf 2)stringAlternativeOne of:
amount_typestringOptionalOne of: , fixed, maximum
end_dateJSONOptional
end_date (anyOf 1)stringAlternativeMaximum length: 5000
end_date (anyOf 2)stringAlternativeOne of:
payment_schedulestringOptionalOne of: , adhoc, annual, daily, fortnightly, monthly, quarterly, semi_annual, weekly
payments_per_periodJSONOptional
payments_per_period (anyOf 1)integerAlternative
payments_per_period (anyOf 2)stringAlternativeOne of:
purposestringOptionalOne of: , dependant_support, government, loan, mortgage, other, pension, personal, retail, salary, tax, utility
start_dateJSONOptional
start_date (anyOf 1)stringAlternativeMaximum length: 5000
start_date (anyOf 2)stringAlternativeOne of:

Create a Setup Intent — request body — body payment method options pix

FieldTypePresenceDescription and constraints
$objectRoot
mandate_optionsModelOptionalExpand Create a Setup Intent — request body — body payment method options pix mandate options

Referenced models: Create a Setup Intent — request body — body payment method options pix mandate options

Create a Setup Intent — request body — body payment method options pix mandate options

FieldTypePresenceDescription and constraints
$objectRoot
amountintegerOptional
amount_includes_iofstringOptionalOne of: always, never
amount_typestringOptionalOne of: fixed, maximum
currencystringOptionalFormat: currency
end_datestringOptionalMaximum length: 5000
payment_schedulestringOptionalOne of: halfyearly, monthly, quarterly, weekly, yearly
referencestringOptionalMaximum length: 35
start_datestringOptionalMaximum length: 5000

Create a Setup Intent — request body — body payment method options us bank account

FieldTypePresenceDescription and constraints
$objectRoot
financial_connectionsModelOptionalExpand Create a Setup Intent — request body — body payment method options us bank account financial connections
mandate_optionsobjectOptional
mandate_options.collection_methodstringOptionalOne of: , paper
networksobjectOptional
networks.requestedarrayOptional
networks.requested[]stringEach itemOne of: ach, us_domestic_wire
verification_methodstringOptionalOne of: automatic, instant, microdeposits

Referenced models: Create a Setup Intent — request body — body payment method options us bank account financial connections

Create a Setup Intent — request body — body payment method options us bank account financial connections

FieldTypePresenceDescription and constraints
$objectRoot
filtersobjectOptional
filters.account_subcategoriesarrayOptional
filters.account_subcategories[]stringEach itemOne of: checking, savings
Maximum length: 5000
permissionsarrayOptional
permissions[]stringEach itemOne of: balances, ownership, payment_method, transactions
Maximum length: 5000
prefetcharrayOptional
prefetch[]stringEach itemOne of: balances, ownership, transactions
return_urlstringOptionalMaximum length: 5000

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.