Confirm a PaymentIntent
Confirm that your customer intends to pay with current or provided payment method. Upon confirmation, the PaymentIntent will attempt to initiate a payment.
If the selected payment method requires additional authentication steps, the PaymentIntent will transition to the requires_action status and suggest additional actions via next_action. If payment fails, the PaymentIntent transitions to the requires_payment_method status or the canceled status if the confirmation limit is reached. If payment succeeds, the PaymentIntent will transition to the succeeded status (or requires_capture, if capture_method is set to manual).
If the confirmation_method is automatic, payment may be attempted using our client SDKs and the PaymentIntent’s client_secret. After next_actions are handled by the client, no additional confirmation is required to complete the payment.
If the confirmation_method is manual, all payment attempts must be initiated using a secret key.
If any actions are required for the payment, the PaymentIntent will return to the requires_confirmation state after those actions are completed. Your server needs to then explicitly re-confirm the PaymentIntent to initiate the next payment attempt.
There is a variable upper limit on how many times a PaymentIntent can be confirmed. After this limit is reached, any further calls to this endpoint will transition the PaymentIntent to the canceled state.
Returns
Returns the resulting PaymentIntent after all possible transitions are applied.
Parameters
amount_details(object, optional) Provides industry-specific information about the amount.amount_details.discount_amount(integer, optional) The total discount applied on the transaction represented in the smallest currency unit. An integer greater than 0.This field is mutually exclusive with the
amount_details[line_items][#][discount_amount]field.amount_details.enforce_arithmetic_validation(boolean, optional) Set tofalseto return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.Omit or set to
trueto immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.For card payments, Stripe doesn’t send line item data to card networks if there’s an arithmetic validation error.
amount_details.line_items(array of objects, optional) A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.amount_details.line_items.product_name(string, required) The product name of the line item. Required for L3 rates. At most 1024 characters long.For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters.
amount_details.line_items.quantity(integer, required) The quantity of items. Required for L3 rates. An integer greater than 0.amount_details.line_items.unit_cost(integer, required) The unit cost of the line item represented in the smallest currency unit. Required for L3 rates. An integer greater than or equal to 0.amount_details.line_items.discount_amount(integer, optional) The discount applied on this line item represented in the smallest currency unit. An integer greater than 0.This field is mutually exclusive with the
amount_details[discount_amount]field.amount_details.line_items.payment_method_options(object, optional) Payment method-specific information for line items.amount_details.line_items.payment_method_options.card(object, optional) This sub-hash contains line item details that are specific to thecardpayment method.amount_details.line_items.payment_method_options.card.commodity_code(string, optional) Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.The maximum length is 12 characters.
amount_details.line_items.payment_method_options.card_present(object, optional) This sub-hash contains line item details that are specific to thecard_presentpayment method.amount_details.line_items.payment_method_options.card_present.commodity_code(string, optional) Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.The maximum length is 12 characters.
amount_details.line_items.payment_method_options.klarna(object, optional) This sub-hash contains line item details that are specific to theklarnapayment method.amount_details.line_items.payment_method_options.klarna.image_url(string, optional) URL to an image for the product. Max length, 4096 characters.amount_details.line_items.payment_method_options.klarna.product_url(string, optional) URL to the product page. Max length, 4096 characters.amount_details.line_items.payment_method_options.klarna.reference(string, optional) Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.The maximum length is 255 characters.
amount_details.line_items.payment_method_options.klarna.subscription_reference(string, optional) Reference for the subscription this line item is for.The maximum length is 255 characters.
amount_details.line_items.payment_method_options.paypal(object, optional) This sub-hash contains line item details that are specific to thepaypalpayment method.amount_details.line_items.payment_method_options.paypal.category(enum, optional) Type of the line item. Possible enum values:digital_goodsGoods that are stored, delivered, and used in their electronic format.donationA contribution or gift for which no good or service is exchanged, usually to a not for profit organization.physical_goodsA tangible item that can be shipped with proof of delivery.
amount_details.line_items.payment_method_options.paypal.description(string, optional) Description of the line item.The maximum length is 127 characters.
amount_details.line_items.payment_method_options.paypal.sold_by(string, optional) The Stripe account ID of the connected account that sells the item.The maximum length is 127 characters.
amount_details.line_items.product_code(string, optional) The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.The maximum length is 12 characters.
amount_details.line_items.tax(object, optional) Contains information about the tax on the item.amount_details.line_items.tax.total_tax_amount(integer, required) The total amount of tax on a single line item represented in the smallest currency unit. Required for L3 rates. An integer greater than or equal to 0.This field is mutually exclusive with the
amount_details[tax][total_tax_amount]field.
amount_details.line_items.unit_of_measure(string, optional) A unit of measure for the line item, such as gallons, feet, meters, etc.The maximum length is 12 characters.
amount_details.shipping(object, optional) Contains information about the shipping portion of the amount.amount_details.shipping.amount(integer, optional) If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An integer greater than or equal to 0.amount_details.shipping.from_postal_code(string, optional) If 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.The maximum length is 10 characters.
amount_details.shipping.to_postal_code(string, optional) If 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.The maximum length is 10 characters.
amount_details.tax(object, optional) Contains information about the tax portion of the amount.amount_details.tax.total_tax_amount(integer, required) The total amount of tax on the transaction represented in the smallest currency unit. 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.
amount_to_confirm(integer, optional) Amount to confirm on the PaymentIntent. Defaults toamountif not provided.capture_method(enum, optional) Controls when the funds will be captured from the customer’s account. Possible enum values:automaticStripe automatically captures funds when the customer authorizes the payment.automatic_async(Default) Stripe asynchronously captures funds when the customer authorizes the payment. Recommended overcapture_method=automaticdue to improved latency. Read the integration guide for more information.manualPlace a hold on the funds when the customer authorizes the payment, but don’t capture the funds until later. (Not all payment methods support this.)
confirmation_token(string, optional) ID of the ConfirmationToken used to confirm this PaymentIntent.If the provided ConfirmationToken contains properties that are also being provided in this request, such as
payment_method, then the values in this request will take precedence.error_on_requires_action(boolean, optional) Set totrueto fail the payment attempt if the PaymentIntent transitions intorequires_action. This parameter is intended for simpler integrations that do not handle customer actions, like saving cards without authentication.excluded_payment_method_types(array of enums, optional) The list of payment method types to exclude from use with this payment. Possible enum values:acss_debitPre-authorized debit payments are used to debit Canadian bank accounts through the Automated Clearing Settlement System (ACSS).affirmAffirm is a buy now, pay later payment method in the US.afterpay_clearpayAfterpay / Clearpay is a buy now, pay later payment method used in Australia, Canada, France, New Zealand, Spain, the UK, and the US.alipayAlipay is a digital wallet payment method used in China.almaAlma is a Buy Now, Pay Later payment method that lets customers pay in 2, 3, or 4 installments.amazon_payAmazon Pay is a Wallet payment method that lets hundreds of millions of Amazon customers pay their way, every day.au_becs_debitBECS Direct Debit is used to debit Australian bank accounts through the Bulk Electronic Clearing System (BECS).bacs_debitBacs Direct Debit is used to debit UK bank accounts.bancontactBancontact is a bank redirect payment method used in Belgium.billieBillie is a payment method.blikBLIK is a single-use payment method common in Poland.boletoBoleto is a voucher-based payment method used in Brazil.cardCard payments are supported through many networks, card brands, and select Link funding sources.card_presentStripe Terminal is used to collect in-person card payments.cashappCash App Pay enables customers to frictionlessly authenticate payments in the Cash App using their stored balance or linked card.cryptoStablecoin payments enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask.customer_balanceUses a customer’s cash balance for the payment.epsEPS is an Austria-based bank redirect payment method.fpxFPX is a Malaysia-based bank redirect payment method.giropaygiropay is a German bank redirect payment method.grabpayGrabPay is a digital wallet payment method used in Southeast Asia.idealiDEAL is a Netherlands-based bank redirect payment method.interac_presentStripe Terminal accepts Interac debit cards for in-person payments in Canada.kakao_payKakao Pay is a digital wallet payment method used in South Korea.klarnaKlarna is a global buy now, pay later payment method.konbiniKonbini is a cash-based voucher payment method used in Japan.kr_cardKorean cards enables customers to accept local credit and debit cards in South Korea.mb_wayMB WAY is a payment method.mobilepayMobilePay is a Nordic card-passthrough wallet payment method where customers authorize the payment in the MobilePay application.multibancoMultibanco is a voucher payment methodnaver_payNaver Pay is a digital wallet payment method used in South Korea.nz_bank_accountNew Zealand BECS Direct Debit is used to debit New Zealand bank accounts through the Bulk Electronic Clearing System (BECS).oxxoOXXO is a cash-based voucher payment method used in Mexico.p24Przelewy24 is a bank redirect payment method used in Poland.pay_by_bankPay By Bank is an open banking payment method in the UK.paycoPAYCO is a digital wallet payment method used in South Korea.paynowPayNow is a QR code payment method used in Singapore.paypalPayPal is an online wallet and redirect payment method commonly used in Europe.paypayPayPay is a payment method.paytoPayTo is a real time payment methodpixPix is an instant bank transfer payment method in Brazil.promptpayPromptPay is an instant funds transfer service popular in Thailand.revolut_payRevolut Pay is a digital wallet payment method used in the United Kingdom.samsung_paySamsung Pay is a digital wallet payment method used in South Korea.satispaySatispay is a payment method.sepa_debitSEPA Direct Debit is used to debit bank accounts within the Single Euro Payments Area (SEPA) region.sofortSofort is a bank redirect payment method used in Europe.sunbitSunbit is a payment method.swishSwish is a Swedish wallet payment method where customers authorize the payment in the Swish application.twintTWINT is a single-use payment method used in Switzerland.upiUPI is an instant real-time payment system in India.us_bank_accountACH Direct Debit is used to debit US bank accounts through the Automated Clearing House (ACH) payments system.wechat_payWeChat Pay is a digital wallet payment method based in China.zipZip is a Buy now, pay later Payment Method
hooks(object, optional) Automations to be run during the PaymentIntent lifecyclehooks.inputs(object, optional) Arguments passed in automationshooks.inputs.tax(object, optional) Tax arguments for automationshooks.inputs.tax.calculation(string, required) The TaxCalculation id
mandate(string, optional) ID of the mandate that’s used for this payment.mandate_data(object, optional) This hash contains details about the mandate to create.mandate_data.customer_acceptance(object, required) This hash contains details about the customer acceptance of the Mandate.mandate_data.customer_acceptance.type(string, required) The type of customer acceptance information included with the Mandate. One ofonlineoroffline.mandate_data.customer_acceptance.accepted_at(timestamp, optional) The time at which the customer accepted the Mandate.mandate_data.customer_acceptance.offline(object, optional) If this is a Mandate accepted offline, this hash contains details about the offline acceptance.mandate_data.customer_acceptance.online(object, optional) If this is a Mandate accepted online, this hash contains details about the online acceptance.mandate_data.customer_acceptance.online.ip_address(string, required) The IP address from which the Mandate was accepted by the customer.mandate_data.customer_acceptance.online.user_agent(string, required) The user agent of the browser from which the Mandate was accepted by the customer.
off_session(boolean | string, optional) Set totrueto indicate that the customer isn’t in your checkout flow during this payment attempt and can’t authenticate. Use this parameter in scenarios where you collect card details and charge them later.payment_details(object, optional) Provides industry-specific information about the charge.payment_details.customer_reference(string, optional) A 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.
payment_details.order_reference(string, optional) A 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.
payment_method(string, optional) ID of the payment method (a PaymentMethod, Card, or compatible Source object) to attach to this PaymentIntent. If the payment method is attached to a Customer, it must match the customer that is set on this PaymentIntent.payment_method_data(object, optional) If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear in the payment_method property on the PaymentIntent.payment_method_data.type(enum, required) The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.payment_method_data.acss_debit(object, optional) If this is anacss_debitPaymentMethod, this hash contains details about the ACSS Debit payment method.payment_method_data.acss_debit.account_number(string, required) Customer’s bank account number.payment_method_data.acss_debit.institution_number(string, required) Institution number of the customer’s bank.payment_method_data.acss_debit.transit_number(string, required) Transit number of the customer’s bank.
payment_method_data.affirm(object, optional) If this is anaffirmPaymentMethod, this hash contains details about the Affirm payment method.payment_method_data.afterpay_clearpay(object, optional) If this is anAfterpayClearpayPaymentMethod, this hash contains details about the AfterpayClearpay payment method.payment_method_data.alipay(object, optional) If this is anAlipayPaymentMethod, this hash contains details about the Alipay payment method.payment_method_data.allow_redisplay(enum, optional) This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults tounspecified. Possible enum values:alwaysUsealwaysto indicate that this payment method can always be shown to a customer in a checkout flow.limitedUselimitedto indicate that this payment method can’t always be shown to a customer in a checkout flow. For example, it can only be shown in the context of a specific subscription.unspecifiedThis is the default value for payment methods whereallow_redisplaywasn’t set.
payment_method_data.alma(object, optional) If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.payment_method_data.amazon_pay(object, optional) If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.payment_method_data.au_becs_debit(object, optional) If this is anau_becs_debitPaymentMethod, this hash contains details about the bank account.payment_method_data.au_becs_debit.account_number(string, required) The account number for the bank account.payment_method_data.au_becs_debit.bsb_number(string, required) Bank-State-Branch number of the bank account.
payment_method_data.bacs_debit(object, optional) If this is abacs_debitPaymentMethod, this hash contains details about the Bacs Direct Debit bank account.payment_method_data.bacs_debit.account_number(string, optional) Account number of the bank account that the funds will be debited from.payment_method_data.bacs_debit.sort_code(string, optional) Sort code of the bank account. (e.g.,10-20-30)
payment_method_data.bancontact(object, optional) If this is abancontactPaymentMethod, this hash contains details about the Bancontact payment method.payment_method_data.billie(object, optional) If this is abilliePaymentMethod, this hash contains details about the Billie payment method.payment_method_data.billing_details(object, optional) Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.payment_method_data.billing_details.address(object, optional) Billing address.payment_method_data.billing_details.address.city(string, optional) City, district, suburb, town, or village.payment_method_data.billing_details.address.country(string, optional) Two-letter country code (ISO 3166-1 alpha-2).payment_method_data.billing_details.address.line1(string, optional) Address line 1, such as the street, PO Box, or company name.payment_method_data.billing_details.address.line2(string, optional) Address line 2, such as the apartment, suite, unit, or building.payment_method_data.billing_details.address.postal_code(string, optional) ZIP or postal code.payment_method_data.billing_details.address.state(string, optional) State, county, province, or region (ISO 3166-2).
payment_method_data.billing_details.email(string, optional) Email address.The maximum length is 800 characters.
payment_method_data.billing_details.name(string, optional) Full name.payment_method_data.billing_details.phone(string, optional) Billing phone number (including extension).payment_method_data.billing_details.tax_id(string, optional) Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
payment_method_data.blik(object, optional) If this is ablikPaymentMethod, this hash contains details about the BLIK payment method.payment_method_data.boleto(object, optional) If this is aboletoPaymentMethod, this hash contains details about the Boleto payment method.payment_method_data.boleto.tax_id(string, required) The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
payment_method_data.cashapp(object, optional) If this is acashappPaymentMethod, this hash contains details about the Cash App Pay payment method.payment_method_data.crypto(object, optional) If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.payment_method_data.customer_balance(object, optional) If this is acustomer_balancePaymentMethod, this hash contains details about the CustomerBalance payment method.payment_method_data.eps(object, optional) If this is anepsPaymentMethod, this hash contains details about the EPS payment method.payment_method_data.eps.bank(string, optional) The customer’s bank.
payment_method_data.fpx(object, optional) If this is anfpxPaymentMethod, this hash contains details about the FPX payment method.payment_method_data.fpx.bank(string, required) The customer’s bank.
payment_method_data.giropay(object, optional) If this is agiropayPaymentMethod, this hash contains details about the Giropay payment method.payment_method_data.grabpay(object, optional) If this is agrabpayPaymentMethod, this hash contains details about the GrabPay payment method.payment_method_data.ideal(object, optional) If this is anidealPaymentMethod, this hash contains details about the iDEAL payment method.payment_method_data.ideal.bank(string, optional) The customer’s bank. Only use this parameter for existing customers. Don’t use it for new customers.
payment_method_data.interac_present(object, optional) If this is aninterac_presentPaymentMethod, this hash contains details about the Interac Present payment method.payment_method_data.kakao_pay(object, optional) If this is akakao_payPaymentMethod, this hash contains details about the Kakao Pay payment method.payment_method_data.klarna(object, optional) If this is aklarnaPaymentMethod, this hash contains details about the Klarna payment method.payment_method_data.klarna.dob(object, optional) Customer’s date of birthpayment_method_data.klarna.dob.day(integer, required) The day of birth, between 1 and 31.payment_method_data.klarna.dob.month(integer, required) The month of birth, between 1 and 12.payment_method_data.klarna.dob.year(integer, required) The four-digit year of birth.
payment_method_data.konbini(object, optional) If this is akonbiniPaymentMethod, this hash contains details about the Konbini payment method.payment_method_data.kr_card(object, optional) If this is akr_cardPaymentMethod, this hash contains details about the Korean Card payment method.payment_method_data.link(object, optional) If this is anLinkPaymentMethod, this hash contains details about the Link payment method.payment_method_data.mb_way(object, optional) If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.payment_method_data.metadata(object, optional) Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata.payment_method_data.mobilepay(object, optional) If this is amobilepayPaymentMethod, this hash contains details about the MobilePay payment method.payment_method_data.multibanco(object, optional) If this is amultibancoPaymentMethod, this hash contains details about the Multibanco payment method.payment_method_data.naver_pay(object, optional) If this is anaver_payPaymentMethod, this hash contains details about the Naver Pay payment method.payment_method_data.naver_pay.funding(enum, optional) Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults tocard. Possible enum values:cardUse a card to fund this transaction.pointsUse Naver Pay points to fund this transaction.
payment_method_data.nz_bank_account(object, optional) If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.payment_method_data.nz_bank_account.account_number(string, required) The account number for the bank account.payment_method_data.nz_bank_account.bank_code(string, required) The numeric code for the bank account’s bank.payment_method_data.nz_bank_account.branch_code(string, required) The numeric code for the bank account’s bank branch.payment_method_data.nz_bank_account.suffix(string, required) The suffix of the bank account number.payment_method_data.nz_bank_account.account_holder_name(string, optional) The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
payment_method_data.oxxo(object, optional) If this is anoxxoPaymentMethod, this hash contains details about the OXXO payment method.payment_method_data.p24(object, optional) If this is ap24PaymentMethod, this hash contains details about the P24 payment method.payment_method_data.p24.bank(enum, optional) The customer’s bank.
payment_method_data.pay_by_bank(object, optional) If this is apay_by_bankPaymentMethod, this hash contains details about the PayByBank payment method.payment_method_data.payco(object, optional) If this is apaycoPaymentMethod, this hash contains details about the PAYCO payment method.payment_method_data.paynow(object, optional) If this is apaynowPaymentMethod, this hash contains details about the PayNow payment method.payment_method_data.paypal(object, optional) If this is apaypalPaymentMethod, this hash contains details about the PayPal payment method.payment_method_data.paypay(object, optional) If this is apaypayPaymentMethod, this hash contains details about the PayPay payment method.payment_method_data.payto(object, optional) If this is apaytoPaymentMethod, this hash contains details about the PayTo payment method.payment_method_data.payto.account_number(string, optional) The account number for the bank account.payment_method_data.payto.bsb_number(string, optional) Bank-State-Branch number of the bank account.payment_method_data.payto.pay_id(string, optional) The PayID alias for the bank account.
payment_method_data.pix(object, optional) If this is apixPaymentMethod, this hash contains details about the Pix payment method.payment_method_data.promptpay(object, optional) If this is apromptpayPaymentMethod, this hash contains details about the PromptPay payment method.payment_method_data.radar_options(object, optional) Options to configure Radar. See Radar Session for more information.payment_method_data.radar_options.session(string, optional) A Radar Session is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
payment_method_data.revolut_pay(object, optional) If this is arevolut_payPaymentMethod, this hash contains details about the Revolut Pay payment method.payment_method_data.samsung_pay(object, optional) If this is asamsung_payPaymentMethod, this hash contains details about the SamsungPay payment method.payment_method_data.satispay(object, optional) If this is asatispayPaymentMethod, this hash contains details about the Satispay payment method.payment_method_data.sepa_debit(object, optional) If this is asepa_debitPaymentMethod, this hash contains details about the SEPA debit bank account.payment_method_data.sepa_debit.iban(string, required) IBAN of the bank account.
payment_method_data.sofort(object, optional) If this is asofortPaymentMethod, this hash contains details about the SOFORT payment method.payment_method_data.sofort.country(enum, required) Two-letter ISO code representing the country the bank account is located in. Possible enum values:ATAustriaBEBelgiumDEGermanyESSpainITItalyNLNetherlands
payment_method_data.sunbit(object, optional) If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.payment_method_data.swish(object, optional) If this is aswishPaymentMethod, this hash contains details about the Swish payment method.payment_method_data.twint(object, optional) If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.payment_method_data.upi(object, optional) If this is aupiPaymentMethod, this hash contains details about the UPI payment method.payment_method_data.upi.mandate_options(object, optional) Configuration options for setting up an eMandatepayment_method_data.upi.mandate_options.amount(integer, optional) Amount to be charged for future payments.payment_method_data.upi.mandate_options.amount_type(enum, optional) One offixedormaximum. Iffixed, theamountparam refers to the exact amount to be charged in future payments. Ifmaximum, the amount charged can be up to the value passed for theamountparam. Possible enum values:fixedIffixed, theamountparam refers to the exact amount to be charged in future payments.maximumIfmaximum, the amount charged can be up to the value passed for theamountparam.
payment_method_data.upi.mandate_options.description(string, optional) A description of the mandate or subscription that is meant to be displayed to the customer.The maximum length is 20 characters.
payment_method_data.upi.mandate_options.end_date(timestamp, optional) End date of the mandate or subscription.
payment_method_data.us_bank_account(object, optional) If this is anus_bank_accountPaymentMethod, this hash contains details about the US bank account payment method.payment_method_data.us_bank_account.account_holder_type(enum, optional) Account holder type: individual or company. Possible enum values:companyAccount belongs to a companyindividualAccount belongs to an individual
payment_method_data.us_bank_account.account_number(string, optional) Account number of the bank account.payment_method_data.us_bank_account.account_type(enum, optional) Account type: checkings or savings. Defaults to checking if omitted. Possible enum values:checkingBank account type is checkingsavingsBank account type is savings
payment_method_data.us_bank_account.financial_connections_account(string, optional) The ID of a Financial Connections Account to use as a payment method.payment_method_data.us_bank_account.routing_number(string, optional) Routing number of the bank account.
payment_method_data.wechat_pay(object, optional) If this is anwechat_payPaymentMethod, this hash contains details about the wechat_pay payment method.payment_method_data.zip(object, optional) If this is azipPaymentMethod, this hash contains details about the Zip payment method.
payment_method_options(object, optional) Payment method-specific configuration for this PaymentIntent.payment_method_options.acss_debit(object, optional) If this is aacss_debitPaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.payment_method_options.acss_debit.mandate_options(object, optional) Additional fields for Mandate creationpayment_method_options.acss_debit.mandate_options.custom_mandate_url(string, optional) A URL for custom mandate text to render during confirmation step. The URL will be rendered with additional GET parameterspayment_intentandpayment_intent_client_secretwhen confirming a Payment Intent, orsetup_intentandsetup_intent_client_secretwhen confirming a Setup Intent.payment_method_options.acss_debit.mandate_options.interval_description(string, optional) Description of the mandate interval. Only required if ‘payment_schedule’ parameter is ‘interval’ or ‘combined’.The maximum length is 500 characters.
payment_method_options.acss_debit.mandate_options.payment_schedule(enum, optional) Payment schedule for the mandate. Possible enum values:combinedPayments can be initiated at a pre-defined interval or sporadicallyintervalPayments are initiated at a regular pre-defined intervalsporadicPayments are initiated sporadically
payment_method_options.acss_debit.mandate_options.transaction_type(enum, optional) Transaction type of the mandate. Possible enum values:businessTransactions are made for business reasonspersonalTransactions are made for personal reasons
payment_method_options.acss_debit.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.acss_debit.target_date(string, optional) Controls when Stripe will attempt to debit the funds from the customer’s account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.payment_method_options.acss_debit.verification_method(enum, optional) Bank account verification method. The default value isautomatic. Possible enum values:automaticInstant verification with fallback to microdeposits.instantInstant verification.microdepositsVerification using microdeposits.
payment_method_options.affirm(object, optional) If this is anaffirmPaymentMethod, this sub-hash contains details about the Affirm payment method options.payment_method_options.affirm.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.affirm.preferred_locale(string, optional) Preferred language of the Affirm authorization page that the customer is redirected to.The maximum length is 30 characters.
payment_method_options.affirm.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.afterpay_clearpay(object, optional) If this is aafterpay_clearpayPaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.payment_method_options.afterpay_clearpay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.afterpay_clearpay.reference(string, optional) An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. This field differs from the statement descriptor and item name.The maximum length is 128 characters.
payment_method_options.afterpay_clearpay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.alipay(object, optional) If this is aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options.payment_method_options.alipay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.alma(object, optional) If this is aalmaPaymentMethod, this sub-hash contains details about the Alma payment method options.payment_method_options.alma.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.amazon_pay(object, optional) If this is aamazon_payPaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.payment_method_options.amazon_pay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.amazon_pay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.au_becs_debit(object, optional) If this is aau_becs_debitPaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.payment_method_options.au_becs_debit.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.au_becs_debit.target_date(string, optional) Controls when Stripe will attempt to debit the funds from the customer’s account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
payment_method_options.bacs_debit(object, optional) If this is abacs_debitPaymentMethod, this sub-hash contains details about the BACS Debit payment method options.payment_method_options.bacs_debit.mandate_options(object, optional) Additional fields for Mandate creationpayment_method_options.bacs_debit.mandate_options.reference_prefix(string, optional) Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: ‘/’, ‘_’, ‘-’, ‘&’, ‘.’. Cannot begin with ‘DDIC’ or ‘STRIPE’.The maximum length is 12 characters.
payment_method_options.bacs_debit.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.bacs_debit.target_date(string, optional) Controls when Stripe will attempt to debit the funds from the customer’s account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
payment_method_options.bancontact(object, optional) If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options.payment_method_options.bancontact.preferred_language(enum, optional) Preferred language of the Bancontact authorization page that the customer is redirected to. Possible enum values:deGermanenEnglishfrFrenchnlDutch
payment_method_options.bancontact.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.billie(object, optional) If this is abilliePaymentMethod, this sub-hash contains details about the Billie payment method options.payment_method_options.billie.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.blik(object, optional) If this is ablikPaymentMethod, this sub-hash contains details about the BLIK payment method options.payment_method_options.blik.code(string, optional) The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.payment_method_options.blik.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.boleto(object, optional) If this is aboletoPaymentMethod, this sub-hash contains details about the Boleto payment method options.payment_method_options.boleto.expires_after_days(integer, optional) The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.payment_method_options.boleto.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.card(object, optional) Configuration for any card payments attempted on this PaymentIntent.payment_method_options.card.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.card.cvc_token(string, optional) A single-usecvc_updateToken that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation.payment_method_options.card.installments(object, optional) Installment configuration for payments attempted on this PaymentIntent.For more information, see the installments integration guide.
payment_method_options.card.installments.enabled(boolean, optional) Setting to true enables installments for this PaymentIntent. This will cause the response to contain a list of available installment plans. Setting to false will prevent any selected plan from applying to a charge.payment_method_options.card.installments.plan(object, optional) The selected installment plan to use for this payment attempt. This parameter can only be provided during confirmation.payment_method_options.card.installments.plan.type(enum, required) Type of installment plan, one offixed_count,bonus, orrevolving. Possible enum values:bonusAn installment plan used in Japan, where the customer defers payment to a later date that aligns with their salary bonus.fixed_countAn installment plan where the number of installment payments is fixed and known at the time of purchase.revolvingAn installment plan used in Japan, where the customer pays a certain amount each month, and the remaining balance rolls over to the next month.
payment_method_options.card.installments.plan.count(integer, optional) Forfixed_countinstallment plans, this is required. It represents the number of installment payments your customer will make to their credit card.payment_method_options.card.installments.plan.interval(enum, optional) Forfixed_countinstallment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. One ofmonth. Possible enum values:month
payment_method_options.card.mandate_options(object, optional) Configuration options for setting up an eMandate for cards issued in India.payment_method_options.card.mandate_options.amount(integer, required) Amount to be charged for future payments, specified in the presentment currency.payment_method_options.card.mandate_options.amount_type(enum, required) One offixedormaximum. Iffixed, theamountparam refers to the exact amount to be charged in future payments. Ifmaximum, the amount charged can be up to the value passed for theamountparam. Possible enum values:fixedmaximum
payment_method_options.card.mandate_options.interval(enum, required) Specifies payment frequency. One ofday,week,month,year, orsporadic. Possible enum values:daymonthsporadicweekyear
payment_method_options.card.mandate_options.reference(string, required) Unique identifier for the mandate or subscription.The maximum length is 80 characters.
payment_method_options.card.mandate_options.start_date(timestamp, required) Start date of the mandate or subscription. Start date should not be lesser than yesterday.payment_method_options.card.mandate_options.description(string, optional) A description of the mandate or subscription that is meant to be displayed to the customer.The maximum length is 200 characters.
payment_method_options.card.mandate_options.end_date(timestamp, optional) End 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.payment_method_options.card.mandate_options.interval_count(integer, optional) The number of intervals between payments. For example,interval=monthandinterval_count=3indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional wheninterval=sporadic.payment_method_options.card.mandate_options.supported_types(array of enums, optional) Specifies the type of mandates supported. Possible values areindia. Possible enum values:india
payment_method_options.card.network(string, optional) Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.payment_method_options.card.request_extended_authorization(enum, optional) Request ability to capture beyond the standard authorization validity window for this PaymentIntent. Possible enum values:if_availableUseif_availableif you want to extend the capture window when eligible for extended authorization.neverUseneverif you don’t want to extend the capture window.
payment_method_options.card.request_incremental_authorization(enum, optional) Request ability to increment the authorization for this PaymentIntent. Possible enum values:if_availableUseif_availableif you want to increment the authorization on the PaymentIntent when eligible.neverUseneverif you don’t want to increment the authorization on the PaymentIntent.
payment_method_options.card.request_multicapture(enum, optional) Request ability to make multiple captures for this PaymentIntent. Possible enum values:if_availableUseif_availableif you want to use multicapture when eligible.neverUseneverif you don’t want to use multicapture.
payment_method_options.card.request_overcapture(enum, optional) Request ability to overcapture for this PaymentIntent. Possible enum values:if_availableUseif_availableif you want to overcapture the payment when eligible.neverUseneverif you don’t want to overcapture the payment.
payment_method_options.card.request_three_d_secure(enum, optional) We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. 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 toautomatic. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine. Possible enum values:anyUseanyto manually request 3DS with a preference for africtionlessflow, increasing the likelihood of the authentication being completed without any additional input from the customer. 3DS will always be attempted if it is supported for the card, but Stripe can’t guarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our guide.automatic(Default) Our SCA Engine automatically prompts your customers for authentication based on risk level and other requirements.challengeUsechallengeto request 3DS with a preference for achallengeflow, where the customer must respond to a prompt for active authentication. Stripe can’t guarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our guide.
payment_method_options.card.require_cvc_recollection(boolean, optional) When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).payment_method_options.card.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.card.statement_descriptor_suffix_kana(string, optional) Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the concatenation of both prefix and suffix (including separators) will appear truncated to 22 characters.payment_method_options.card.statement_descriptor_suffix_kanji(string, optional) Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the concatenation of both prefix and suffix (including separators) will appear truncated to 17 characters.payment_method_options.card.three_d_secure(object, optional) If 3D Secure authentication was performed with a third-party provider, the authentication details to use for this payment.payment_method_options.card.three_d_secure.cryptogram(string, required) The cryptogram, also known as the “authentication value” (AAV, CAVV or AEVV). This value is 20 bytes, base64-encoded into a 28-character string. (Most 3D Secure providers will return the base64-encoded version, which is what you should specify here.)payment_method_options.card.three_d_secure.transaction_id(string, required) For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server Transaction ID (dsTransID).payment_method_options.card.three_d_secure.version(enum, required) The version of 3D Secure that was performed.payment_method_options.card.three_d_secure.ares_trans_status(enum, optional) ThetransStatusreturned from the card Issuer’s ACS in the ARes. Possible enum values:AAttempts processing performed; Not authenticated/verified, but a proof of attempted authentication/verification is provided.CChallenge required; Additional authentication is required.IInformational only; 3DS Requestor challenge preference acknowledged.NNot authenticated/Account not verified; Transaction denied.RAuthentication/Account verification rejected; Issuer is rejecting authentication/verification and request that authorisation not be attempted.UAuthentication/Account verification could not be performed; Technical or other problem.YAuthentication verification successful.
payment_method_options.card.three_d_secure.electronic_commerce_indicator(enum, Required on all networks except Cartes Bancaires) The Electronic Commerce Indicator (ECI) is returned by your 3D Secure provider and indicates what degree of authentication was performed. Possible enum values:01Mastercard variant: Attempt acknowledged.02Mastercard variant: Fully authenticated.05Fully authenticated. The customer likely proved their identity to the issuing bank.06Attempt acknowledged. The customer, or the entire issuing bank, is not set up for 3D Secure. Or the issuing bank is experiencing an outage.Mastercard variant: Acquirer SCA exemption.
07Mastercard variant: Fully authenticated recurring transaction.
payment_method_options.card.three_d_secure.exemption_indicator(enum, optional) The exemption requested via 3DS and accepted by the issuer at authentication time. Possible enum values:low_riskTransaction Risk Analysis (TRA) was performed, a low risk exemption was requested via 3DS and granted by the issuer.noneNo exemption was requested via 3DS; or, if requested, it was not granted by the issuer.
payment_method_options.card.three_d_secure.network_options(object, optional) Network specific 3DS fields. Network specific arguments require an explicit card brand choice. The parameter `payment_method_options.card.network`` must be populated accordinglypayment_method_options.card.three_d_secure.network_options.cartes_bancaires(object, optional) Cartes Bancaires-specific 3DS fields.payment_method_options.card.three_d_secure.network_options.cartes_bancaires.cb_avalgo(enum, required) The cryptogram calculation algorithm used by the card Issuer’s ACS to calculate the Authentication cryptogram. Also known ascavvAlgorithm. messageExtension: CB-AVALGO Possible enum values:0HMAC1CVV2CVV with ATN3Mastercard SPA4American Express SafeKey 1AAV-CB
payment_method_options.card.three_d_secure.network_options.cartes_bancaires.cb_exemption(string, optional) The exemption indicator returned from Cartes Bancaires in the ARes. message extension: CB-EXEMPTION; string (4 characters) This is a 3 byte bitmap (low significant byte first and most significant bit first) that has been Base64 encodedThe maximum length is 4 characters.
payment_method_options.card.three_d_secure.network_options.cartes_bancaires.cb_score(integer, optional) The risk score returned from Cartes Bancaires in the ARes. message extension: CB-SCORE; numeric value 0-99
payment_method_options.card.three_d_secure.requestor_challenge_indicator(string, optional) The challenge indicator (threeDSRequestorChallengeInd) which was requested in the AReq sent to the card Issuer’s ACS. A string containing 2 digits from 01-99.The maximum length is 2 characters.
payment_method_options.card_present(object, optional) If this is acard_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.payment_method_options.card_present.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.manual_preferredUsemanual_preferredif you prefermanualcapture_method but support falling back toautomaticbased on the presented payment method.
payment_method_options.card_present.request_extended_authorization(boolean, optional) Request ability to capture this payment beyond the standard authorization validity windowpayment_method_options.card_present.request_incremental_authorization_support(boolean, optional) Request ability to increment this PaymentIntent if the combination of MCC and card brand is eligible. Check incremental_authorization_supported in the Confirm response to verify support.payment_method_options.card_present.routing(object, optional) Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.payment_method_options.card_present.routing.requested_priority(enum, optional) Routing requested priority Possible enum values:domesticPrioritize domestic debit network routing on payment method collectioninternationalPrioritize international network routing on payment method collection
payment_method_options.cashapp(object, optional) If this is acashappPaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.payment_method_options.cashapp.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.cashapp.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.crypto(object, optional) If this is acryptoPaymentMethod, this sub-hash contains details about the Crypto payment method options.payment_method_options.crypto.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.customer_balance(object, optional) If this is acustomer balancePaymentMethod, this sub-hash contains details about the customer balance payment method options.payment_method_options.customer_balance.bank_transfer(object, optional) Configuration for the bank transfer funding type, if thefunding_typeis set tobank_transfer.payment_method_options.customer_balance.bank_transfer.type(enum, required) The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include:eu_bank_transfer,gb_bank_transfer,jp_bank_transfer,mx_bank_transfer, orus_bank_transfer. Possible enum values:eu_bank_transfereu_bank_transfer bank transfer typegb_bank_transfergb_bank_transfer bank transfer typejp_bank_transferjp_bank_transfer bank transfer typemx_bank_transfermx_bank_transfer bank transfer typeus_bank_transferus_bank_transfer bank transfer type
payment_method_options.customer_balance.bank_transfer.eu_bank_transfer(object, optional) Configuration for the eu_bank_transfer funding type.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country(string, required) The desired country code of the bank account information. Permitted values include:DE,FR,IE, orNL.
payment_method_options.customer_balance.bank_transfer.requested_address_types(array of enums, optional) List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.Permitted values include:
sort_code,zengin,iban, orspei. Possible enum values:abaaba bank account address typeibaniban bank account address typesepasepa bank account address typesort_codesort_code bank account address typespeispei bank account address typeswiftswift bank account address typezenginzengin bank account address type
payment_method_options.customer_balance.funding_type(enum, optional) The funding method type to be used when there are not enough funds in the customer balance. Permitted values include:bank_transfer. Possible enum values:bank_transfer
payment_method_options.customer_balance.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.eps(object, optional) If this is aepsPaymentMethod, this sub-hash contains details about the EPS payment method options.payment_method_options.eps.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.fpx(object, optional) If this is afpxPaymentMethod, this sub-hash contains details about the FPX payment method options.payment_method_options.fpx.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.giropay(object, optional) If this is agiropayPaymentMethod, this sub-hash contains details about the Giropay payment method options.payment_method_options.giropay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.grabpay(object, optional) If this is agrabpayPaymentMethod, this sub-hash contains details about the Grabpay payment method options.payment_method_options.grabpay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.ideal(object, optional) If this is aidealPaymentMethod, this sub-hash contains details about the Ideal payment method options.payment_method_options.ideal.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.interac_present(object, optional) If this is ainterac_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.payment_method_options.kakao_pay(object, optional) If this is akakao_payPaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.payment_method_options.kakao_pay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.kakao_pay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.klarna(object, optional) If this is aklarnaPaymentMethod, this sub-hash contains details about the Klarna payment method options.payment_method_options.klarna.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.klarna.on_demand(object, optional) On-demand details if setting up or charging an on-demand payment.payment_method_options.klarna.on_demand.average_amount(integer, optional) Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.payment_method_options.klarna.on_demand.maximum_amount(integer, optional) The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.payment_method_options.klarna.on_demand.minimum_amount(integer, optional) The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.payment_method_options.klarna.on_demand.purchase_interval(enum, optional) Interval at which the customer is making purchases Possible enum values:dayUsedayif you expect one or more days between charges.monthUsemonthif you expect one or more months between charges.weekUseweekif you expect one or more weeks between charges.yearUseyearif you expect one or more years between charges.
payment_method_options.klarna.on_demand.purchase_interval_count(integer, optional) The number ofpurchase_intervalbetween charges
payment_method_options.klarna.preferred_locale(enum, optional) Preferred language of the Klarna authorization page that the customer is redirected to Possible enum values:cs-CZCzech - Czechiada-DKDanish - Denmarkde-ATGerman - Austriade-CHGerman - Switzerlandde-DEGerman - Germanyel-GRGreek - Greeceen-ATEnglish - Austriaen-AUEnglish - Australiaen-BEEnglish - Belgiumen-CAEnglish - Canadaen-CHEnglish - Switzerlanden-CZEnglish - Czechiaen-DEEnglish - Germanyen-DKEnglish - Denmarken-ESEnglish - Spainen-FIEnglish - Finlanden-FREnglish - Franceen-GBEnglish - United Kingdomen-GREnglish - Greeceen-IEEnglish - Irelanden-ITEnglish - Italyen-NLEnglish - Netherlandsen-NOEnglish - Norwayen-NZEnglish - New Zealanden-PLEnglish - Polanden-PTEnglish - Portugalen-ROEnglish - Romaniaen-SEEnglish - Swedenen-USEnglish - United States of Americaes-ESSpanish - Spaines-USSpanish - United States of Americafi-FIFinnish - Finlandfr-BEFrench - Belgiumfr-CAFrench - Canadafr-CHFrench - Switzerlandfr-FRFrench - Franceit-CHItaly - Switzerlandit-ITItalian - Italynb-NONorwegian - Norwaynl-BEDutch - Belgiumnl-NLDutch - Netherlandspl-PLPolish - Polandpt-PTPortugese - Portugalro-RORomanian - Romaniasv-FISwedish - Finlandsv-SESwedish - Sweden
payment_method_options.klarna.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.klarna.subscriptions(array of objects, optional) Subscription details if setting up or charging a subscription.payment_method_options.klarna.subscriptions.interval(enum, required) Unit of time between subscription charges. Possible enum values:dayUsedayif subscription charges occur within days.monthUsemonthif subscription charges occur within months.weekUseweekif subscription charges occur within weeks.yearUseyearif subscription charges occur within years.
payment_method_options.klarna.subscriptions.reference(string, required) A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges.The maximum length is 255 characters.
payment_method_options.klarna.subscriptions.interval_count(integer, optional) The number of intervals (specified in theintervalattribute) between subscription charges. For example,interval=monthandinterval_count=3charges every 3 months.payment_method_options.klarna.subscriptions.name(string, optional) Name for subscription.The maximum length is 255 characters.
payment_method_options.klarna.subscriptions.next_billing(object, optional) Describes the upcoming charge for this subscription.payment_method_options.klarna.subscriptions.next_billing.amount(integer, required) The amount of the next charge for the subscription.payment_method_options.klarna.subscriptions.next_billing.date(string, required) The date of the next charge for the subscription in YYYY-MM-DD format.
payment_method_options.konbini(object, optional) If this is akonbiniPaymentMethod, this sub-hash contains details about the Konbini payment method options.payment_method_options.konbini.confirmation_number(string, optional) An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer’s phone number.The maximum length is 11 characters.
payment_method_options.konbini.expires_after_days(integer, optional) The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini andexpires_after_daysset to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.payment_method_options.konbini.expires_at(timestamp, optional) The timestamp at which the Konbini payment instructions will expire. Only one ofexpires_after_daysorexpires_atmay be set.payment_method_options.konbini.product_description(string, optional) A product descriptor of up to 22 characters, which will appear to customers at the convenience store.The maximum length is 22 characters.
payment_method_options.konbini.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.kr_card(object, optional) If this is akr_cardPaymentMethod, this sub-hash contains details about the KR Card payment method options.payment_method_options.kr_card.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.kr_card.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.link(object, optional) If this is alinkPaymentMethod, this sub-hash contains details about the Link payment method options.payment_method_options.link.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.link.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.mb_way(object, optional) If this is amb_wayPaymentMethod, this sub-hash contains details about the MB WAY payment method options.payment_method_options.mb_way.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.mobilepay(object, optional) If this is aMobilePayPaymentMethod, this sub-hash contains details about the MobilePay payment method options.payment_method_options.mobilepay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.mobilepay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.multibanco(object, optional) If this is amultibancoPaymentMethod, this sub-hash contains details about the Multibanco payment method options.payment_method_options.multibanco.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.naver_pay(object, optional) If this is anaver_payPaymentMethod, this sub-hash contains details about the Naver Pay payment method options.payment_method_options.naver_pay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.naver_pay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.nz_bank_account(object, optional) If this is anz_bank_accountPaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.payment_method_options.nz_bank_account.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.nz_bank_account.target_date(string, optional) Controls when Stripe will attempt to debit the funds from the customer’s account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
payment_method_options.oxxo(object, optional) If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options.payment_method_options.oxxo.expires_after_days(integer, optional) The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.payment_method_options.oxxo.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.p24(object, optional) If this is ap24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.payment_method_options.p24.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.p24.tos_shown_and_accepted(boolean, optional) Confirm that the payer has accepted the P24 terms and conditions.
payment_method_options.pay_by_bank(object, optional) If this is apay_by_bankPaymentMethod, this sub-hash contains details about the PayByBank payment method options.payment_method_options.payco(object, optional) If this is apaycoPaymentMethod, this sub-hash contains details about the PAYCO payment method options.payment_method_options.payco.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.paynow(object, optional) If this is apaynowPaymentMethod, this sub-hash contains details about the PayNow payment method options.payment_method_options.paynow.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.paypal(object, optional) If this is apaypalPaymentMethod, this sub-hash contains details about the PayPal payment method options.payment_method_options.paypal.capture_method(enum, optional) Controls when the funds will be captured from the customer’s account. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.paypal.preferred_locale(enum, optional) Preferred locale of the PayPal checkout page that the customer is redirected to. Possible enum values:cs-CZCzech - The Czech Republicda-DKDanish - Denmarkde-ATGerman - Austriade-DEGerman - Germanyde-LUGerman - Luxembourgel-GRGreek - Greeceen-GBEnglish - United Kingdomen-USEnglish - United States of Americaes-ESSpanish - Spainfi-FIFinnish - Finlandfr-BEFrench - Belgiumfr-FRFrench - Francefr-LUFrench - Luxembourghu-HUHungarian - Hungaryit-ITItalian - Italynl-BEDutch - Belgiumnl-NLDutch - Netherlandspl-PLPolish - Polandpt-PTPortuguese - Portugalsk-SKSlovak - Slovakiasv-SESwedish - Sweden
payment_method_options.paypal.reference(string, optional) A reference of the PayPal transaction visible to customer which is mapped to PayPal’s invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.The maximum length is 127 characters.
payment_method_options.paypal.risk_correlation_id(string, optional) The risk correlation ID for an on-session payment using a saved PayPal payment method.The maximum length is 32 characters.
payment_method_options.paypal.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.paypay(object, optional) If this is apaypayPaymentMethod, this sub-hash contains details about the PayPay payment method options.payment_method_options.paypay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.payto(object, optional) If this is apaytoPaymentMethod, this sub-hash contains details about the PayTo payment method options.payment_method_options.payto.mandate_options(object, optional) Additional fields for Mandate creation. Onlypurposefield is configurable for PayTo PaymentIntent withsetup_future_usage=none. Other fields are only applicable to PayTo PaymentIntent withsetup_future_usage=off_sessionpayment_method_options.payto.mandate_options.amount(integer, optional) Amount that will be collected. It is required whenamount_typeisfixed.payment_method_options.payto.mandate_options.amount_type(enum, optional) The type of amount that will be collected. The amount charged must be exact or up to the value ofamountparam forfixedormaximumtype respectively. Defaults tomaximum. Possible enum values:fixedThe amount is the exact amount that will be charged.maximumThe amount is the maximum amount that can be charged.
payment_method_options.payto.mandate_options.end_date(string, optional) Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.payment_method_options.payto.mandate_options.payment_schedule(enum, optional) The periodicity at which payments will be collected. Defaults toadhoc. Possible enum values:adhocPayments will be made ad hocannualPayments will be made annuallydailyPayments will be made dailyfortnightlyPayments will be made fortnightlymonthlyPayments will be made monthlyquarterlyPayments will be made quarterlysemi_annualPayments will be made semi-annuallyweeklyPayments will be made weekly
payment_method_options.payto.mandate_options.payments_per_period(integer, optional) The number of payments that will be made during a payment period. Defaults to 1 except for whenpayment_scheduleisadhoc. In that case, it defaults to no limit.payment_method_options.payto.mandate_options.purpose(enum, optional) The purpose for which payments are made. Has a default value based on your merchant category code. Possible enum values:dependant_supportTransactions are made for dependant support reasonsgovernmentTransactions are made for government reasonsloanTransactions are made for loan reasonsmortgageTransactions are made for mortgage reasonsotherTransactions are made for other reasonspensionTransactions are made for pension reasonspersonalTransactions are made for personal reasonsretailTransactions are made for retail reasonssalaryTransactions are made for salary reasonstaxTransactions are made for tax reasonsutilityTransactions are made for utility reasons
payment_method_options.payto.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.pix(object, optional) If this is apixPaymentMethod, this sub-hash contains details about the Pix payment method options.payment_method_options.pix.amount_includes_iof(enum, optional) Determines if the amount includes the IOF tax. Defaults tonever. Possible enum values:alwaysThe IOF tax is included in the amount.neverThe IOF tax is not included in the amount.
payment_method_options.pix.expires_after_seconds(integer, optional) The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.payment_method_options.pix.expires_at(timestamp, optional) The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.payment_method_options.pix.mandate_options(object, optional) Additional fields for mandate creation. Only applicable whensetup_future_usage=off_session.payment_method_options.pix.mandate_options.amount(integer, optional) Amount to be charged for future payments. Required whenamount_type=fixed. If not provided foramount_type=maximum, defaults to 40000.payment_method_options.pix.mandate_options.amount_includes_iof(enum, optional) Determines if the amount includes the IOF tax. Defaults tonever. Possible enum values:alwaysThe IOF tax is included in the amount.neverThe IOF tax is not included in the amount.
payment_method_options.pix.mandate_options.amount_type(enum, optional) Type of amount. Defaults tomaximum. Possible enum values:fixedThe exact amount for future payments.maximumThe maximum amount for future payments.
payment_method_options.pix.mandate_options.currency(enum, optional) Three-letter ISO currency code, in lowercase. Onlybrlis supported currently.payment_method_options.pix.mandate_options.end_date(string, optional) Date when the mandate expires and no further payments will be charged, inYYYY-MM-DD. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.payment_method_options.pix.mandate_options.payment_schedule(enum, optional) Schedule at which the future payments will be charged. Defaults tomonthly. Possible enum values:halfyearlyThe future payments will be charged half-yearly.monthlyThe future payments will be charged monthly.quarterlyThe future payments will be charged quarterly.weeklyThe future payments will be charged weekly.yearlyThe future payments will be charged yearly.
payment_method_options.pix.mandate_options.reference(string, optional) Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.The maximum length is 35 characters.
payment_method_options.pix.mandate_options.start_date(string, optional) Start date of the mandate, inYYYY-MM-DD. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
payment_method_options.pix.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.promptpay(object, optional) If this is apromptpayPaymentMethod, this sub-hash contains details about the PromptPay payment method options.payment_method_options.promptpay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.revolut_pay(object, optional) If this is arevolut_payPaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.payment_method_options.revolut_pay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.revolut_pay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.samsung_pay(object, optional) If this is asamsung_payPaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.payment_method_options.samsung_pay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.satispay(object, optional) If this is asatispayPaymentMethod, this sub-hash contains details about the Satispay payment method options.payment_method_options.satispay.capture_method(enum, optional) Controls when the funds are captured from the customer’s account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_methodis already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. Possible enum values:manualUsemanualif you intend to place the funds on hold and want to override the top-levelcapture_methodvalue for this payment method.
payment_method_options.sepa_debit(object, optional) If this is asepa_debitPaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.payment_method_options.sepa_debit.mandate_options(object, optional) Additional fields for Mandate creationpayment_method_options.sepa_debit.mandate_options.reference_prefix(string, optional) Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: ‘/’, ‘_’, ‘-’, ‘&’, ‘.’. Cannot begin with ‘STRIPE’.The maximum length is 12 characters.
payment_method_options.sepa_debit.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.sepa_debit.target_date(string, optional) Controls when Stripe will attempt to debit the funds from the customer’s account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
payment_method_options.sofort(object, optional) If this is asofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options.payment_method_options.sofort.preferred_language(enum, optional) Language shown to the payer on redirect. Possible enum values:deGermanenEnglishesSpanishfrFrenchitItaliannlDutchplPolish
payment_method_options.sofort.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.swish(object, optional) If this is aSwishPaymentMethod, this sub-hash contains details about the Swish payment method options.payment_method_options.swish.reference(string, optional) A reference for this payment to be displayed in the Swish app.payment_method_options.swish.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.twint(object, optional) If this is atwintPaymentMethod, this sub-hash contains details about the TWINT payment method options.payment_method_options.twint.mandate_options(object, optional) Additional properties for mandate creation. Only applicable whensetup_future_usageisoff_session.payment_method_options.twint.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.
payment_method_options.upi(object, optional) If this is aupiPaymentIntent, this sub-hash contains details about the UPI payment method options.payment_method_options.upi.mandate_options(object, optional) Configuration options for setting up an eMandatepayment_method_options.upi.mandate_options.amount(integer, optional) Amount to be charged for future payments.payment_method_options.upi.mandate_options.amount_type(enum, optional) One offixedormaximum. Iffixed, theamountparam refers to the exact amount to be charged in future payments. Ifmaximum, the amount charged can be up to the value passed for theamountparam. Possible enum values:fixedIffixed, theamountparam refers to the exact amount to be charged in future payments.maximumIfmaximum, the amount charged can be up to the value passed for theamountparam.
payment_method_options.upi.mandate_options.description(string, optional) A description of the mandate or subscription that is meant to be displayed to the customer.The maximum length is 20 characters.
payment_method_options.upi.mandate_options.end_date(timestamp, optional) End date of the mandate or subscription.
payment_method_options.us_bank_account(object, optional) If this is aus_bank_accountPaymentMethod, this sub-hash contains details about the US bank account payment method options.payment_method_options.us_bank_account.financial_connections(object, optional) Additional fields for Financial Connections Session creationpayment_method_options.us_bank_account.financial_connections.filters(object, optional) Provide filters for the linked accounts that the customer can select for the payment method.payment_method_options.us_bank_account.financial_connections.filters.account_subcategories(array of strings, optional) The account subcategories to use to filter for selectable accounts. Valid subcategories arecheckingandsavings.
payment_method_options.us_bank_account.financial_connections.permissions(array of strings, optional) The list of permissions to request. If this parameter is passed, thepayment_methodpermission must be included. Valid permissions include:balances,ownership,payment_method, andtransactions.payment_method_options.us_bank_account.financial_connections.prefetch(array of enums, optional) List of data features that you would like to retrieve upon account creation. Possible enum values:balancesRequests to prefetch balance data on accounts collected in this session.ownershipRequests to prefetch ownership data on accounts collected in this session.transactionsRequests to prefetch transaction data on accounts collected in this session.
payment_method_options.us_bank_account.financial_connections.return_url(string, optional) For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
payment_method_options.us_bank_account.mandate_options(object, optional) Additional fields for Mandate creationpayment_method_options.us_bank_account.mandate_options.collection_method(enum, optional) The method used to collect offline mandate customer acceptance. Possible enum values:paperMandate customer acceptance was collected using a paper document
payment_method_options.us_bank_account.networks(object, optional) Additional fields for network related functionspayment_method_options.us_bank_account.networks.requested(array of enums, optional) Triggers validations to run across the selected networks Possible enum values:achus_domestic_wire
payment_method_options.us_bank_account.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
payment_method_options.us_bank_account.target_date(string, optional) Controls when Stripe will attempt to debit the funds from the customer’s account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.payment_method_options.us_bank_account.transaction_purpose(enum, optional) The purpose of the transaction. Possible enum values:goodsFor purchases of physical or digital goods, both recurring and one-off.otherFor anything other than the purchase of goods or services, like donations, loan repayments, and so on.servicesFor purchases of services, like streaming services, web hosting, and so on.unspecifiedThis is the default value for payment methods when transaction_purpose is not set.
payment_method_options.us_bank_account.verification_method(enum, optional) Bank account verification method. The default value isautomatic. Possible enum values:automaticInstant verification with fallback to microdeposits.instantInstant verification only.microdepositsVerification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element.
payment_method_options.wechat_pay(object, optional) If this is awechat_payPaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.payment_method_options.wechat_pay.app_id(string, optional) The app ID registered with WeChat Pay. Only required when client is ios or android.payment_method_options.wechat_pay.client(enum, optional) The client type that the end customer will pay from Possible enum values:androidThe end customer will pay from an Android appiosThe end customer will pay from an iOS appwebThe end customer will pay from web browser
payment_method_options.wechat_pay.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_options.zip(object, optional) If this is azipPaymentMethod, this sub-hash contains details about the Zip payment method options.payment_method_options.zip.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:noneUsenoneif you do not intend to reuse this payment method and want to override the top-levelsetup_future_usagevalue for this payment method.
payment_method_types(array of strings, optional) The list of payment method types (for example, a card) that this PaymentIntent can use. Useautomatic_payment_methodsto manage payment methods from the Stripe Dashboard. A list of valid payment method types can be found here.radar_options(object, optional) Options to configure Radar. Learn more about Radar Sessions.radar_options.session(string, optional) A Radar Session is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
receipt_email(string, optional) Email address that the receipt for the resulting payment will be sent to. Ifreceipt_emailis specified for a payment in live mode, a receipt will be sent regardless of your email settings.return_url(string, optional) The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method’s app or site. If you’d prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter is only used for cards and other redirect-based payment methods.setup_future_usage(enum, optional) Indicates 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 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 the payment method to a Customer after the transaction completes.
If the payment method is
card_presentand isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.When processing card payments, Stripe uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.If you’ve already set
setup_future_usageand you’re performing a request using a publishable key, you can only update the value fromon_sessiontooff_session. Possible enum values:off_sessionUseoff_sessionif your customer may or may not be present in your checkout flow.on_sessionUseon_sessionif you intend to only reuse the payment method when your customer is present in your checkout flow.
shipping(object, optional) Shipping information for this PaymentIntent.shipping.address(object, required) Shipping address.shipping.address.city(string, optional) City, district, suburb, town, or village.shipping.address.country(string, required for calculating taxes) Two-letter country code (ISO 3166-1 alpha-2).shipping.address.line1(string, optional) Address line 1, such as the street, PO Box, or company name.shipping.address.line2(string, optional) Address line 2, such as the apartment, suite, unit, or building.shipping.address.postal_code(string, required for calculating taxes) ZIP or postal code.shipping.address.state(string, optional) State, county, province, or region (ISO 3166-2).
shipping.name(string, required) Recipient name.shipping.carrier(string, optional) The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.shipping.phone(string, optional) Recipient phone (including extension).shipping.tracking_number(string, optional) The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
use_stripe_sdk(boolean, optional) Set totruewhen confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
curl
curl https://api.stripe.com/v1/payment_intents/{{PAYMENT_INTENT_ID}}/confirm \
-u "<<YOUR_SECRET_KEY>>" \
-d payment_method=pm_card_visa \
--data-urlencode "return_url=https://www.example.com"Response
json
{
"id": "pi_3MtweELkdIwHu7ix0Dt0gF2H",
"object": "payment_intent",
"amount": 2000,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 2000,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": {
"enabled": true
},
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3MtweELkdIwHu7ix0Dt0gF2H_secret_ALlpPMIZse0ac8YzPxkMkFgGC",
"confirmation_method": "automatic",
"created": 1680802258,
"currency": "usd",
"customer": null,
"description": null,
"last_payment_error": null,
"latest_charge": "ch_3MtweELkdIwHu7ix05lnLAFd",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1MtweELkdIwHu7ixxrsejPtG",
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
},
"link": {
"persistent_token": null
}
},
"payment_method_types": [
"card",
"link"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}