Skip to content

Stripe: Payment intents schemas (part 1)

31 Stripe schemas with complete fields and constraints.

← Payment intents operations · All schemas

Cancel a Payment Intent — response body

FieldTypePresenceDescription and constraints
$objectRootA PaymentIntent guides you through the process of collecting a payment from your customer.
We recommend that you create exactly one PaymentIntent for each order or
customer session in your system. You can reference the PaymentIntent later to
see the history of payment attempts for a particular session.

A PaymentIntent transitions through
[multiple statuses](/payments/paymentintents/lifecycle)
throughout its lifetime as it interfaces with Stripe.js to perform
authentication flows and ultimately creates at most one successful charge.

Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
allowed_payment_method_typesJSONOptional
allowed_payment_method_types (anyOf 1)arrayAlternativeThe list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
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
amountJSONOptional
amount (anyOf 1)integerAlternativeAmount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_capturableJSONOptional
amount_capturable (anyOf 1)integerAlternativeAmount that can be captured from this PaymentIntent.
amount_capturable (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_detailsJSONOptional
amount_details (anyOf 1)ModelAlternativeExpand Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip
amount_details (anyOf 2)ModelAlternativeExpand Cancel a Payment Intent — response body — amount details tip
amount_receivedJSONOptional
amount_received (anyOf 1)integerAlternativeAmount that this PaymentIntent collects.
amount_received (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
applicationJSONOptional
application (anyOf 1)JSONAlternativeID of the Connect application that created the PaymentIntent.
application (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
application (anyOf 1) (anyOf 2)ModelAlternativeExpand PostApplicationFeesIdRefund — response body — application / object: application
application (anyOf 2)nullAlternative
application_fee_amountJSONOptional
application_fee_amount (anyOf 1)JSONAlternative
application_fee_amount (anyOf 1) (anyOf 1)integerAlternativeThe amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
application_fee_amount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
application_fee_amount (anyOf 2)nullAlternative
automatic_payment_methodsJSONOptional
automatic_payment_methods (anyOf 1)JSONAlternativeSettings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
automatic_payment_methods (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a PaymentIntent — response body — automatic_payment_methods / value / allow_redirects: always, never
automatic_payment_methods (anyOf 2)nullAlternative
canceled_atJSONOptional
canceled_at (anyOf 1)JSONAlternative
canceled_at (anyOf 1) (anyOf 1)integerAlternativePopulated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
Format: unix-time
canceled_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
canceled_at (anyOf 2)nullAlternative
cancellation_reasonJSONOptional
cancellation_reason (anyOf 1)stringAlternativeReason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).
Known values: abandoned, automatic, duplicate, expired, failed_invoice, fraudulent, requested_by_customer, void_invoice
cancellation_reason (anyOf 2)nullAlternative
capture_methodstringOptionalControls when the funds will be captured from the customer's account.
Known values: automatic, automatic_async, manual
client_secretJSONOptional
client_secret (anyOf 1)stringAlternativeThe client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete a payment 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.

Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
Maximum length: 5000
client_secret (anyOf 2)nullAlternative
confirmation_methodstringOptionalDescribes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
Known values: automatic, manual
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]+)?$
currencystringOptionalThree-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
customerJSONOptional
customer (anyOf 1)JSONAlternativeID of the Customer this PaymentIntent belongs to, if one exists.

Payment methods attached to other Customers cannot be used with this PaymentIntent.

If [setup_future_usage](https://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
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 representing the customer that this PaymentIntent belongs to, if one exists.

Payment methods attached to other Accounts cannot be used with this PaymentIntent.

If [setup_future_usage](https://docs.stripe.com/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
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)arrayAlternativeThe list of payment method types to exclude from use with this payment.
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
hooksModelOptionalExpand Cancel a Payment Intent — response body — hooks
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
last_payment_errorJSONOptional
last_payment_error (anyOf 1)JSONAlternativeThe payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
last_payment_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_payment_error (anyOf 2)nullAlternative
latest_chargeJSONOptional
latest_charge (anyOf 1)JSONAlternativeID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
latest_charge (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
latest_charge (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a charge — response body
latest_charge (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)JSONAlternativeSettings for Managed Payments.
managed_payments (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Setup Intent — response body — managed payments value enabled
managed_payments (anyOf 2)nullAlternative
metadataobjectOptionalSet 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. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
Additional keys: see wildcard field
metadata.*stringAdditional keysMaximum length: 500
next_actionJSONOptional
next_action (anyOf 1)JSONAlternativeIf present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.
next_action (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app
next_action (anyOf 2)nullAlternative
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: payment_intent
on_behalf_ofJSONOptional
on_behalf_of (anyOf 1)JSONAlternativeYou can specify the settlement merchant as the
connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.
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_detailsModelOptionalExpand Cancel a Payment Intent — response body — payment details
payment_methodJSONOptional
payment_method (anyOf 1)JSONAlternativeID of the payment method used in this PaymentIntent.
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 PaymentIntent.
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 PaymentIntent.
payment_method_options (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Payment Intent — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, bizum, blik, boleto, card, card present, cashapp, crypto, customer balance, eps, fpx, giropay, grabpay, ideal, interac present, 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
payment_method_options (anyOf 2)nullAlternative
payment_method_typesarrayOptionalThe list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive 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
payment_recordJSONOptional
payment_record (anyOf 1)JSONAlternativeID of the [Payment Record object](https://docs.stripe.com/api/payment-record) created by this PaymentIntent.
payment_record (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
payment_record (anyOf 1) (anyOf 2)ModelAlternativeExpand Report a refund — response body
payment_record (anyOf 2)nullAlternative
presentment_detailsModelOptionalExpand Cancel a refund — response body — presentment details
processingJSONOptional
processing (anyOf 1)JSONAlternativeIf present, this property tells you about the processing state of the payment.
processing (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a PaymentIntent — response body — processing / value / type: card
processing (anyOf 2)nullAlternative
receipt_emailJSONOptional
receipt_email (anyOf 1)stringAlternativeEmail address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
Maximum length: 5000
receipt_email (anyOf 2)nullAlternative
reviewJSONOptional
review (anyOf 1)JSONAlternativeID of the review associated with this PaymentIntent, if any.
review (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
review (anyOf 1) (anyOf 2)ModelAlternativeExpand Approve a review — response body
review (anyOf 2)nullAlternative
setup_future_usageJSONOptional
setup_future_usage (anyOf 1)stringAlternativeIndicates that you intend to make future payments with this PaymentIntent's payment method.

If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.

If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.

When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
Known values: off_session, on_session
setup_future_usage (anyOf 2)nullAlternative
shippingJSONOptional
shipping (anyOf 1)JSONAlternativeShipping information for this PaymentIntent.
shipping (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a source — response body — source order shipping
shipping (anyOf 2)nullAlternative
statement_descriptorJSONOptional
statement_descriptor (anyOf 1)stringAlternativeText that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).

Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
Maximum length: 5000
statement_descriptor (anyOf 2)nullAlternative
statement_descriptor_suffixJSONOptional
statement_descriptor_suffix (anyOf 1)stringAlternativeProvides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
Maximum length: 5000
statement_descriptor_suffix (anyOf 2)nullAlternative
statusstringRequired within parentStatus of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
Known values: canceled, processing, requires_action, requires_capture, requires_confirmation, requires_payment_method, succeeded
transfer_dataJSONOptional
transfer_data (anyOf 1)JSONAlternativeThe data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
transfer_data (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Payment Intent — response body — transfer data value amount, description, destination, metadata, payment data
transfer_data (anyOf 2)nullAlternative
transfer_groupJSONOptional
transfer_group (anyOf 1)stringAlternativeA string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
Maximum length: 5000
transfer_group (anyOf 2)nullAlternative

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 charge — response body, Create a customer — response body, Delete a customer — response body, Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip, Cancel a Payment Intent — response body — amount details tip, Cancel a PaymentIntent — response body — automatic_payment_methods / value / allow_redirects: always, never, Cancel a Payment Intent — response body — payment details, Cancel a Payment Intent — response body — hooks, Cancel a refund — response body — presentment details, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app, Cancel a Payment Intent — response body — payment method options value acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, bizum, blik, boleto, card, card present, cashapp, crypto, customer balance, eps, fpx, giropay, grabpay, ideal, interac present, 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, Cancel a PaymentIntent — response body — processing / value / type: card, 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, Report a refund — response body, Approve a review — response body, Create a source — response body — source order shipping, Cancel a Payment Intent — response body — transfer data value amount, description, destination, metadata, payment data

Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip

FieldTypePresenceDescription and constraints
$objectRoot
discount_amountJSONOptional
discount_amount (anyOf 1)integerAlternativeThe total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.

This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
discount_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
errorModelOptionalExpand Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip error
line_itemsobjectOptionalA list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
line_items.dataarrayRequired within parentDetails about each object.
line_items.data[]ModelEach itemExpand List all Payment Intent Line Items — response body — data item
line_items.has_morebooleanRequired within parentTrue if this list has another page of items after this one that can be fetched.
line_items.objectstringRequired within parentString representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Known values: list
line_items.urlstringRequired within parentThe URL where this list can be accessed.
Maximum length: 5000
shippingModelOptionalExpand Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip shipping
taxModelOptionalExpand Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip tax
tipModelOptionalExpand Cancel a Payment Intent — response body — amount details tip tip

Referenced models: Cancel a Payment Intent — response body — amount details tip tip, Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip error, Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip shipping, Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip tax, List all Payment Intent Line Items — response body — data item

Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip error

FieldTypePresenceDescription and constraints
$objectRoot
codeJSONOptional
code (anyOf 1)stringAlternativeThe code of the error that occurred when validating the current amount details.
Known values: amount_details_amount_mismatch, amount_details_tax_shipping_discount_greater_than_amount
code (anyOf 2)nullAlternative
messageJSONOptional
message (anyOf 1)stringAlternativeA message providing more details about the error.
Maximum length: 5000
message (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip shipping

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONOptional
amount (anyOf 1)JSONAlternative
amount (anyOf 1) (anyOf 1)integerAlternativeIf a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
amount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount (anyOf 2)nullAlternative
from_postal_codeJSONOptional
from_postal_code (anyOf 1)stringAlternativeIf a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
Maximum length: 5000
from_postal_code (anyOf 2)nullAlternative
to_postal_codeJSONOptional
to_postal_code (anyOf 1)stringAlternativeIf a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens and spaces are allowed.
Maximum length: 5000
to_postal_code (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — amount details discount amount, error, line items, shipping, tax, tip tax

FieldTypePresenceDescription and constraints
$objectRoot
total_tax_amountJSONOptional
total_tax_amount (anyOf 1)JSONAlternative
total_tax_amount (anyOf 1) (anyOf 1)integerAlternativeThe total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.

This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
total_tax_amount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total_tax_amount (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — amount details tip

FieldTypePresenceDescription and constraints
$objectRoot
tipModelOptionalExpand Cancel a Payment Intent — response body — amount details tip tip

Referenced models: Cancel a Payment Intent — response body — amount details tip tip

Cancel a Payment Intent — response body — amount details tip tip

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONOptional
amount (anyOf 1)integerAlternativePortion of the amount that corresponds to a tip.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Cancel a Payment Intent — response body — hooks

FieldTypePresenceDescription and constraints
$objectRoot
inputsModelOptionalExpand Cancel a Payment Intent — response body — hooks inputs

Referenced models: Cancel a Payment Intent — response body — hooks inputs

Cancel a Payment Intent — response body — hooks inputs

FieldTypePresenceDescription and constraints
$objectRoot
taxModelOptionalExpand Cancel a Payment Intent — response body — hooks inputs tax

Referenced models: Cancel a Payment Intent — response body — hooks inputs tax

Cancel a Payment Intent — response body — hooks inputs tax

FieldTypePresenceDescription and constraints
$objectRoot
calculationstringRequired within parentThe [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
Maximum length: 5000

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app

FieldTypePresenceDescription and constraints
$objectRoot
alipay_handle_redirectModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app alipay handle redirect
blik_authorizeModelOptionalExpand Create a Payment Method — response body — zip
boleto_display_detailsModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app boleto display details
card_await_notificationModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app card await notification
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
display_bank_transfer_instructionsModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app display bank transfer instructions
klarna_display_qr_codeModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app klarna display qr code
konbini_display_detailsModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details
multibanco_display_detailsModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app multibanco display details
oxxo_display_detailsModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app oxxo display details
paynow_display_qr_codeModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app paynow display qr code
pix_display_qr_codeModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app pix display qr code
promptpay_display_qr_codeModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app promptpay display qr code
redirect_to_urlModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app redirect to url
swish_handle_redirect_or_display_qr_codeModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app swish handle redirect or display qr code
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 PaymentIntent 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
wechat_pay_display_qr_codeModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay display qr code
wechat_pay_redirect_to_android_appModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay redirect to android app
wechat_pay_redirect_to_ios_appModelOptionalExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay redirect to ios app

Referenced models: Create a Payment Method — response body — zip, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app alipay handle redirect, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app boleto display details, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app card await notification, 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 Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app display bank transfer instructions, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app multibanco display details, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app oxxo display details, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app klarna display qr code, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app paynow display qr code, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app pix display qr code, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app promptpay display qr code, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app redirect to url, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app swish 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 Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay display qr code, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay redirect to android app, Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay redirect to ios app

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app alipay handle redirect

FieldTypePresenceDescription and constraints
$objectRoot
native_dataJSONOptional
native_data (anyOf 1)stringAlternativeThe native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App.
Maximum length: 5000
native_data (anyOf 2)nullAlternative
native_urlJSONOptional
native_url (anyOf 1)stringAlternativeThe native URL you must redirect your customer to in order to authenticate the payment in an iOS App.
Maximum length: 5000
native_url (anyOf 2)nullAlternative
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 the payment.
Maximum length: 5000
url (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app boleto display details

FieldTypePresenceDescription and constraints
$objectRoot
expires_atJSONOptional
expires_at (anyOf 1)JSONAlternative
expires_at (anyOf 1) (anyOf 1)integerAlternativeThe timestamp after which the boleto expires.
Format: unix-time
expires_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_at (anyOf 2)nullAlternative
hosted_voucher_urlJSONOptional
hosted_voucher_url (anyOf 1)stringAlternativeThe URL to the hosted boleto voucher page, which allows customers to view the boleto voucher.
Maximum length: 5000
hosted_voucher_url (anyOf 2)nullAlternative
numberJSONOptional
number (anyOf 1)stringAlternativeThe boleto number.
Maximum length: 5000
number (anyOf 2)nullAlternative
pdfJSONOptional
pdf (anyOf 1)stringAlternativeThe URL to the downloadable boleto voucher PDF.
Maximum length: 5000
pdf (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app card await notification

FieldTypePresenceDescription and constraints
$objectRoot
charge_attempt_atJSONOptional
charge_attempt_at (anyOf 1)JSONAlternative
charge_attempt_at (anyOf 1) (anyOf 1)integerAlternativeThe time that payment will be attempted. If customer approval is required, they need to provide approval before this time.
Format: unix-time
charge_attempt_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
charge_attempt_at (anyOf 2)nullAlternative
customer_approval_requiredJSONOptional
customer_approval_required (anyOf 1)booleanAlternativeFor payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required.
customer_approval_required (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app display bank transfer instructions

FieldTypePresenceDescription and constraints
$objectRoot
amount_remainingJSONOptional
amount_remaining (anyOf 1)JSONAlternative
amount_remaining (anyOf 1) (anyOf 1)integerAlternativeThe remaining amount that needs to be transferred to complete the payment.
amount_remaining (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amount_remaining (anyOf 2)nullAlternative
currencyJSONOptional
currency (anyOf 1)stringAlternativeThree-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
currency (anyOf 2)nullAlternative
financial_addressesarrayOptionalA list of financial addresses that can be used to fund the customer balance
financial_addresses[]ModelEach itemExpand Create or retrieve funding instructions for a customer cash balance — response body — bank transfer financial addresses item
hosted_instructions_urlJSONOptional
hosted_instructions_url (anyOf 1)stringAlternativeA link to a hosted page that guides your customer through completing the transfer.
Maximum length: 5000
hosted_instructions_url (anyOf 2)nullAlternative
referenceJSONOptional
reference (anyOf 1)stringAlternativeA string identifying this payment. Instruct your customer to include this code in the reference or memo field of their bank transfer.
Maximum length: 5000
reference (anyOf 2)nullAlternative
typestringRequired within parentType of bank transfer
Known values: eu_bank_transfer, gb_bank_transfer, jp_bank_transfer, mx_bank_transfer, us_bank_transfer

Referenced models: Create or retrieve funding instructions for a customer cash balance — response body — bank transfer financial addresses item

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app klarna display qr code

FieldTypePresenceDescription and constraints
$objectRoot
datastringRequired within parentThe data being used to generate QR code
Maximum length: 5000
expires_atJSONOptional
expires_at (anyOf 1)JSONAlternative
expires_at (anyOf 1) (anyOf 1)integerAlternativeThe timestamp at which the QR code expires.
Format: unix-time
expires_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_at (anyOf 2)nullAlternative
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 Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details

FieldTypePresenceDescription and constraints
$objectRoot
expires_atJSONRequired within parent
expires_at (anyOf 1)integerAlternativeThe timestamp at which the pending Konbini payment expires.
Format: unix-time
expires_at (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
hosted_voucher_urlJSONOptional
hosted_voucher_url (anyOf 1)stringAlternativeThe URL for the Konbini payment instructions page, which allows customers to view and print a Konbini voucher.
Maximum length: 5000
hosted_voucher_url (anyOf 2)nullAlternative
storesModelRequired within parentExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores

Referenced models: Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores

FieldTypePresenceDescription and constraints
$objectRoot
familymartJSONOptional
familymart (anyOf 1)JSONAlternativeFamilyMart instruction details.
familymart (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores lawson Lawson instruction details confirmation number, payment code
familymart (anyOf 2)nullAlternative
lawsonJSONOptional
lawson (anyOf 1)JSONAlternativeLawson instruction details.
lawson (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores lawson Lawson instruction details confirmation number, payment code
lawson (anyOf 2)nullAlternative
ministopJSONOptional
ministop (anyOf 1)JSONAlternativeMinistop instruction details.
ministop (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores lawson Lawson instruction details confirmation number, payment code
ministop (anyOf 2)nullAlternative
seicomartJSONOptional
seicomart (anyOf 1)JSONAlternativeSeicomart instruction details.
seicomart (anyOf 1) (anyOf 1)ModelAlternativeExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores lawson Lawson instruction details confirmation number, payment code
seicomart (anyOf 2)nullAlternative

Referenced models: Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores lawson Lawson instruction details confirmation number, payment code

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app konbini display details stores lawson Lawson instruction details confirmation number, payment code

FieldTypePresenceDescription and constraints
$objectRoot
confirmation_numberstringOptionalThe confirmation number.
Maximum length: 5000
payment_codestringRequired within parentThe payment code.
Maximum length: 5000

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app multibanco display details

FieldTypePresenceDescription and constraints
$objectRoot
entityJSONOptional
entity (anyOf 1)stringAlternativeEntity number associated with this Multibanco payment.
Maximum length: 5000
entity (anyOf 2)nullAlternative
expires_atJSONOptional
expires_at (anyOf 1)JSONAlternative
expires_at (anyOf 1) (anyOf 1)integerAlternativeThe timestamp at which the Multibanco voucher expires.
Format: unix-time
expires_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_at (anyOf 2)nullAlternative
hosted_voucher_urlJSONOptional
hosted_voucher_url (anyOf 1)stringAlternativeThe URL for the hosted Multibanco voucher page, which allows customers to view a Multibanco voucher.
Maximum length: 5000
hosted_voucher_url (anyOf 2)nullAlternative
referenceJSONOptional
reference (anyOf 1)stringAlternativeReference number associated with this Multibanco payment.
Maximum length: 5000
reference (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app oxxo display details

FieldTypePresenceDescription and constraints
$objectRoot
expires_afterJSONOptional
expires_after (anyOf 1)JSONAlternative
expires_after (anyOf 1) (anyOf 1)integerAlternativeThe timestamp after which the OXXO voucher expires.
Format: unix-time
expires_after (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
expires_after (anyOf 2)nullAlternative
hosted_voucher_urlJSONOptional
hosted_voucher_url (anyOf 1)stringAlternativeThe URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher.
Maximum length: 5000
hosted_voucher_url (anyOf 2)nullAlternative
numberJSONOptional
number (anyOf 1)stringAlternativeOXXO reference number.
Maximum length: 5000
number (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app paynow 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
hosted_instructions_urlJSONOptional
hosted_instructions_url (anyOf 1)stringAlternativeThe URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.
Maximum length: 5000
hosted_instructions_url (anyOf 2)nullAlternative
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 Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app pix display qr code

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

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app promptpay 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
hosted_instructions_urlstringRequired within parentThe URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code.
Maximum length: 5000
image_url_pngstringRequired within parentThe PNG path used to render the QR code, can be used as the source in an HTML img tag
Maximum length: 5000
image_url_svgstringRequired within parentThe SVG path used to render the QR code, can be used as the source in an HTML img tag
Maximum length: 5000

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app 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 the payment.
Maximum length: 5000
url (anyOf 2)nullAlternative

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app swish handle redirect or display qr code

FieldTypePresenceDescription and constraints
$objectRoot
hosted_instructions_urlstringRequired within parentThe URL to the hosted Swish instructions page, which allows customers to view the QR code.
Maximum length: 5000
qr_codeModelRequired within parentExpand Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app swish handle redirect or display qr code qr code

Referenced models: Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app swish handle redirect or display qr code qr code

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app swish handle redirect or display qr code 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 timestamp at which 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 Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay display qr code

FieldTypePresenceDescription and constraints
$objectRoot
datastringRequired within parentThe data being used to generate QR code
Maximum length: 5000
hosted_instructions_urlstringRequired within parentThe URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code.
Maximum length: 5000
image_data_urlstringRequired within parentThe base64 image data for a pre-generated QR code
Maximum length: 5000
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 Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay redirect to android app

FieldTypePresenceDescription and constraints
$objectRoot
app_idstringRequired within parentapp_id is the APP ID registered on WeChat open platform
Maximum length: 5000
nonce_strstringRequired within parentnonce_str is a random string
Maximum length: 5000
packagestringRequired within parentpackage is static value
Maximum length: 5000
partner_idstringRequired within parentan unique merchant ID assigned by WeChat Pay
Maximum length: 5000
prepay_idstringRequired within parentan unique trading ID assigned by WeChat Pay
Maximum length: 5000
signstringRequired within parentA signature
Maximum length: 5000
timestampstringRequired within parentSpecifies the current time in epoch format
Maximum length: 5000

Cancel a Payment Intent — response body — next action value alipay handle redirect, blik authorize, boleto display details, card await notification, cashapp handle redirect or display qr code, display bank transfer instructions, klarna display qr code, konbini display details, multibanco display details, oxxo display details, paynow display qr code, pix display qr code, promptpay display qr code, redirect to url, swish handle redirect or display qr code, type, upi handle redirect or display qr code, use stripe sdk, verify with microdeposits, wechat pay display qr code, wechat pay redirect to android app, wechat pay redirect to ios app wechat pay redirect to ios app

FieldTypePresenceDescription and constraints
$objectRoot
native_urlstringRequired within parentAn universal link that redirect to WeChat Pay app
Maximum length: 5000

Cancel a Payment Intent — response body — payment details

FieldTypePresenceDescription and constraints
$objectRoot
customer_referenceJSONOptional
customer_reference (anyOf 1)stringAlternativeA unique value to identify the customer. This field is available only for card payments.

This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
Maximum length: 5000
customer_reference (anyOf 2)nullAlternative
order_referenceJSONOptional
order_reference (anyOf 1)stringAlternativeA unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.

For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
Maximum length: 5000
order_reference (anyOf 2)nullAlternative

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.