Updates properties on a PaymentIntent object without confirming.
Depending on which properties you update, you might need to confirm the PaymentIntent again. For example, updating the payment_ always requires you to confirm the PaymentIntent again. If you prefer to update and confirm at the same time, we recommend updating properties through the confirm API instead.
Parameters
- amountinteger
Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
- currencyenum
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- customerstring
ID of the Customer this PaymentIntent belongs to, if one exists.
Payment methods attached to other Customers cannot be used with this PaymentIntent.
If setup_future_usage is set and this PaymentIntent’s payment method is not
card_, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method ispresent card_and isn’t a digital wallet, then a generated_card payment method representing the card is created and attached to the Customer instead.present - descriptionstring
An arbitrary string attached to the object. Often useful for displaying to users.
- metadataobject
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 to
metadata. - payment_
methodstring ID of the payment method (a PaymentMethod, Card, or compatible Source object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
- receipt_
emailstring Email address that the receipt for the resulting payment will be sent to. If
receipt_is specified for a payment in live mode, a receipt will be sent regardless of your email settings.email - setup_
future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesoff_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session - shippingobject
Shipping information for this PaymentIntent.
- shipping.
addressobjectRequired Shipping address.
- shipping.
address. citystring City, district, suburb, town, or village.
- shipping.
address. countrystringRequired for calculating taxes Two-letter country code (ISO 3166-1 alpha-2).
- shipping.
address. line1string Address line 1 (e.g., street, PO Box, or company name).
- shipping.
address. line2string Address line 2 (e.g., apartment, suite, unit, or building).
- shipping.
address. postal_ codestringRequired for calculating taxes ZIP or postal code.
- shipping.
address. statestring State, county, province, or region.
- shipping.
namestringRequired Recipient name.
- shipping.
carrierstring The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
- shipping.
phonestring Recipient phone (including extension).
- shipping.
tracking_ numberstring 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.
- statement_
descriptorstring Text that appears on the customer’s statement as the statement descriptor for a non-card charge. This value overrides the account’s default statement descriptor. For information about requirements, including the 22-character limit, see the Statement Descriptor docs.
Setting this value for a card charge returns an error. For card charges, set the statement_descriptor_suffix instead.
- statement_
descriptor_ suffixstring Provides information about a card charge. Concatenated to the account’s statement descriptor prefix to form the complete statement descriptor that appears on the customer’s statement.
More parameters
- application_
fee_ amountintegerConnect only The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner’s Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents use case for connected accounts.
- capture_
methodenumsecret key only Controls when the funds will be captured from the customer’s account.
Possible enum valuesautomaticStripe automatically captures funds when the customer authorizes the payment.
automatic_async (Default) Stripe asynchronously captures funds when the customer authorizes the payment. Recommended over
capture_due to improved latency. Read the integration guide for more information.method=automatic 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.)
- payment_
method_ configurationstring The ID of the payment method configuration to use with this PaymentIntent.
- payment_
method_ dataobject 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.
typeenumRequired 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_ debitobject If this is an
acss_PaymentMethod, this hash contains details about the ACSS Debit payment method.debit - payment_method_data.
acss_debit. account_ numberstringRequired Customer’s bank account number.
- payment_method_data.
acss_debit. institution_ numberstringRequired Institution number of the customer’s bank.
- payment_method_data.
acss_debit. transit_ numberstringRequired Transit number of the customer’s bank.
- payment_method_data.
affirmobject If this is an
affirmPaymentMethod, this hash contains details about the Affirm payment method. - payment_method_data.
afterpay_ clearpayobject If this is an
AfterpayClearpayPaymentMethod, this hash contains details about the AfterpayClearpay payment method. - payment_method_data.
alipayobject If this is an
AlipayPaymentMethod, this hash contains details about the Alipay payment method. - payment_method_data.
allow_ redisplayenum 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 to
unspecified.Possible enum valuesalwaysUse
alwaysto indicate that this payment method can always be shown to a customer in a checkout flow.limitedUse
limitedto 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 where
allow_wasn’t set.redisplay - payment_method_data.
almaobject If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
- payment_method_data.
amazon_ payobject If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
- payment_method_data.
au_ becs_ debitobject If this is an
au_PaymentMethod, this hash contains details about the bank account.becs_ debit - payment_method_data.
au_becs_debit. account_ numberstringRequired The account number for the bank account.
- payment_method_data.
au_becs_debit. bsb_ numberstringRequired Bank-State-Branch number of the bank account.
- payment_method_data.
bacs_ debitobject If this is a
bacs_PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.debit - payment_method_data.
bacs_debit. account_ numberstring Account number of the bank account that the funds will be debited from.
- payment_method_data.
bacs_debit. sort_ codestring Sort code of the bank account. (e.g.,
10-20-30)
- payment_method_data.
bancontactobject If this is a
bancontactPaymentMethod, this hash contains details about the Bancontact payment method. - payment_method_data.
billing_ detailsobject Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
- payment_method_data.
billing_details. addressobject Billing address.
- payment_method_data.
billing_details. address. citystring City, district, suburb, town, or village.
- payment_method_data.
billing_details. address. countrystring Two-letter country code (ISO 3166-1 alpha-2).
- payment_method_data.
billing_details. address. line1string Address line 1 (e.g., street, PO Box, or company name).
- payment_method_data.
billing_details. address. line2string Address line 2 (e.g., apartment, suite, unit, or building).
- payment_method_data.
billing_details. address. postal_ codestring ZIP or postal code.
- payment_method_data.
billing_details. address. statestring State, county, province, or region.
- payment_method_data.
billing_details. emailstring Email address.
- payment_method_data.
billing_details. namestring Full name.
- payment_method_data.
billing_details. phonestring Billing phone number (including extension).
- payment_method_data.
blikobject If this is a
blikPaymentMethod, this hash contains details about the BLIK payment method. - payment_method_data.
boletoobject If this is a
boletoPaymentMethod, this hash contains details about the Boleto payment method.- payment_method_data.
boleto. tax_ idstringRequired The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
- payment_method_data.
cashappobject If this is a
cashappPaymentMethod, this hash contains details about the Cash App Pay payment method. - payment_method_data.
customer_ balanceobject If this is a
customer_PaymentMethod, this hash contains details about the CustomerBalance payment method.balance - payment_method_data.
epsobject If this is an
epsPaymentMethod, this hash contains details about the EPS payment method.- payment_method_data.
eps. bankstring The customer’s bank.
- payment_method_data.
fpxobject If this is an
fpxPaymentMethod, this hash contains details about the FPX payment method.- payment_method_data.
fpx. bankstringRequired The customer’s bank.
- payment_method_data.
giropayobject If this is a
giropayPaymentMethod, this hash contains details about the Giropay payment method. - payment_method_data.
grabpayobject If this is a
grabpayPaymentMethod, this hash contains details about the GrabPay payment method. - payment_method_data.
idealobject If this is an
idealPaymentMethod, this hash contains details about the iDEAL payment method.- payment_method_data.
ideal. bankstring The customer’s bank. Only use this parameter for existing customers. Don’t use it for new customers.
- payment_method_data.
interac_ presentobjectPreview feature If this is an
interac_PaymentMethod, this hash contains details about the Interac Present payment method.present - payment_method_data.
kakao_ payobject If this is a
kakao_PaymentMethod, this hash contains details about the Kakao Pay payment method.pay - payment_method_data.
klarnaobject If this is a
klarnaPaymentMethod, this hash contains details about the Klarna payment method.- payment_method_data.
klarna. dobobject Customer’s date of birth
- payment_method_data.
klarna. dob. dayintegerRequired The day of birth, between 1 and 31.
- payment_method_data.
klarna. dob. monthintegerRequired The month of birth, between 1 and 12.
- payment_method_data.
klarna. dob. yearintegerRequired The four-digit year of birth.
- payment_method_data.
konbiniobject If this is a
konbiniPaymentMethod, this hash contains details about the Konbini payment method. - payment_method_data.
kr_ cardobject If this is a
kr_PaymentMethod, this hash contains details about the Korean Card payment method.card - payment_method_data.
linkobject If this is an
LinkPaymentMethod, this hash contains details about the Link payment method. - payment_method_data.
metadataobject 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 to
metadata. - payment_method_data.
mobilepayobject If this is a
mobilepayPaymentMethod, this hash contains details about the MobilePay payment method. - payment_method_data.
multibancoobject If this is a
multibancoPaymentMethod, this hash contains details about the Multibanco payment method. - payment_method_data.
object If this is a
naver_PaymentMethod, this hash contains details about the Naver Pay payment method.pay - payment_method_data.
naver_pay. enum Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to
card.Possible enum valuescardUse a card to fund this transaction.
pointsUse Naver Pay points to fund this transaction.
- payment_method_data.
nz_ bank_ accountobjectPreview feature 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_ numberstringRequired The account number for the bank account.
- payment_method_data.
nz_bank_account. bank_ codestringRequired The numeric code for the bank account’s bank.
- payment_method_data.
nz_bank_account. branch_ codestringRequired The numeric code for the bank account’s bank branch.
- payment_method_data.
nz_bank_account. suffixstringRequired The suffix of the bank account number.
- payment_method_data.
nz_bank_account. account_ holder_ namestring 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.
oxxoobject If this is an
oxxoPaymentMethod, this hash contains details about the OXXO payment method. - payment_method_data.
p24object If this is a
p24PaymentMethod, this hash contains details about the P24 payment method.- payment_method_data.
p24. bankenum The customer’s bank.
- payment_method_data.
paycoobject If this is a
paycoPaymentMethod, this hash contains details about the PAYCO payment method. - payment_method_data.
paynowobject If this is a
paynowPaymentMethod, this hash contains details about the PayNow payment method. - payment_method_data.
paypalobject If this is a
paypalPaymentMethod, this hash contains details about the PayPal payment method. - payment_method_data.
paypayobjectPreview feature If this is a
paypayPaymentMethod, this hash contains details about the paypay payment method. - payment_method_data.
pixobject If this is a
pixPaymentMethod, this hash contains details about the Pix payment method. - payment_method_data.
promptpayobject If this is a
promptpayPaymentMethod, this hash contains details about the PromptPay payment method. - payment_method_data.
radar_ optionsobject Options to configure Radar. See Radar Session for more information.
- payment_method_data.
radar_options. sessionstringsecret key only 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_ payobject If this is a
Revolut PayPaymentMethod, this hash contains details about the Revolut Pay payment method. - payment_method_data.
samsung_ payobject If this is a
samsung_PaymentMethod, this hash contains details about the SamsungPay payment method.pay - payment_method_data.
sepa_ debitobject If this is a
sepa_PaymentMethod, this hash contains details about the SEPA debit bank account.debit - payment_method_data.
sepa_debit. ibanstringRequired IBAN of the bank account.
- payment_method_data.
sofortobject If this is a
sofortPaymentMethod, this hash contains details about the SOFORT payment method.- payment_method_data.
sofort. countryenumRequired Two-letter ISO code representing the country the bank account is located in.
Possible enum valuesATAustria
BEBelgium
DEGermany
ESSpain
ITItaly
NLNetherlands
- payment_method_data.
swishobject If this is a
swishPaymentMethod, this hash contains details about the Swish payment method. - payment_method_data.
twintobject If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
- payment_method_data.
us_ bank_ accountobject If this is an
us_PaymentMethod, this hash contains details about the US bank account payment method.bank_ account - payment_method_data.
us_bank_account. account_ holder_ typeenum Account holder type: individual or company.
Possible enum valuescompanyAccount belongs to a company
individualAccount belongs to an individual
- payment_method_data.
us_bank_account. account_ numberstring Account number of the bank account.
- payment_method_data.
us_bank_account. account_ typeenum Account type: checkings or savings. Defaults to checking if omitted.
Possible enum valuescheckingBank account type is checking
savingsBank account type is savings
- payment_method_data.
us_bank_account. financial_ connections_ accountstring The ID of a Financial Connections Account to use as a payment method.
- payment_method_data.
us_bank_account. routing_ numberstring Routing number of the bank account.
- payment_method_data.
wechat_ payobject If this is an
wechat_PaymentMethod, this hash contains details about the wechat_pay payment method.pay - payment_method_data.
zipobject If this is a
zipPaymentMethod, this hash contains details about the Zip payment method.
- payment_
method_ optionsobject Payment-method-specific configuration for this PaymentIntent.
- payment_method_options.
acss_ debitobject If this is a
acss_PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.debit - payment_method_options.
acss_debit. mandate_ optionsobject Additional fields for Mandate creation
- payment_method_options.
acss_debit. mandate_options. custom_ mandate_ urlstring A URL for custom mandate text to render during confirmation step. The URL will be rendered with additional GET parameters
payment_andintent payment_when confirming a Payment Intent, orintent_ client_ secret setup_andintent setup_when confirming a Setup Intent.intent_ client_ secret - payment_method_options.
acss_debit. mandate_options. interval_ descriptionstring Description of the mandate interval. Only required if ‘payment_schedule’ parameter is ‘interval’ or ‘combined’.
- payment_method_options.
acss_debit. mandate_options. payment_ scheduleenum Payment schedule for the mandate.
Possible enum valuescombinedPayments can be initiated at a pre-defined interval or sporadically
intervalPayments are initiated at a regular pre-defined interval
sporadicPayments are initiated sporadically
- payment_method_options.
acss_debit. mandate_options. transaction_ typeenum Transaction type of the mandate.
Possible enum valuesbusinessTransactions are made for business reasons
personalTransactions are made for personal reasons
- payment_method_options.
acss_debit. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session - payment_method_options.
acss_debit. verification_ methodenum Bank account verification method.
Possible enum valuesautomaticInstant verification with fallback to microdeposits.
instantInstant verification.
microdepositsVerification using microdeposits.
- payment_method_options.
affirmobject If this is an
affirmPaymentMethod, this sub-hash contains details about the Affirm payment method options.- payment_method_options.
affirm. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
affirm. preferred_ localestring Preferred language of the Affirm authorization page that the customer is redirected to.
- payment_method_options.
affirm. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
afterpay_ clearpayobject If this is a
afterpay_PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.clearpay - payment_method_options.
afterpay_clearpay. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
afterpay_clearpay. referencestring 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.
- payment_method_options.
afterpay_clearpay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
alipayobject If this is a
alipayPaymentMethod, this sub-hash contains details about the Alipay payment method options.- payment_method_options.
alipay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
almaobject If this is a
almaPaymentMethod, this sub-hash contains details about the Alma payment method options.- payment_method_options.
alma. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method
- payment_method_options.
amazon_ payobject If this is a
amazon_PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.pay - payment_method_options.
amazon_pay. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
amazon_pay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
au_ becs_ debitobject If this is a
au_PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.becs_ debit - payment_method_options.
au_becs_debit. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session
- payment_method_options.
bacs_ debitobject If this is a
bacs_PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.debit - payment_method_options.
bacs_debit. mandate_ optionsobject Additional fields for Mandate creation
- payment_method_options.
bacs_debit. mandate_options. reference_ prefixstringPreview feature 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’.
- payment_method_options.
bacs_debit. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session
- payment_method_options.
bancontactobject If this is a
bancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options.- payment_method_options.
bancontact. preferred_ languageenum Preferred language of the Bancontact authorization page that the customer is redirected to.
Possible enum valuesdeGerman
enEnglish
frFrench
nlDutch
- payment_method_options.
bancontact. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
blikobject If this is a
blikPaymentMethod, this sub-hash contains details about the BLIK payment method options.- payment_method_options.
blik. codestring 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_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
boletoobject If this is a
boletoPaymentMethod, this sub-hash contains details about the Boleto payment method options.- payment_method_options.
boleto. expires_ after_ daysinteger 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_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session
- payment_method_options.
cardobject Configuration for any card payments attempted on this PaymentIntent.
- payment_method_options.
card. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
card. cvc_ tokenstring A single-use
cvc_Token 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.update - payment_method_options.
card. installmentsobject Installment configuration for payments attempted on this PaymentIntent (Mexico Only).
For more information, see the installments integration guide.
- payment_method_options.
card. installments. enabledboolean 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. planobject The selected installment plan to use for this payment attempt. This parameter can only be provided during confirmation.
- payment_method_options.
card. installments. plan. typeenumRequired Type of installment plan, one of
fixed_.count Possible enum valuesfixed_count - payment_method_options.
card. installments. plan. countinteger For
fixed_installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.count - payment_method_options.
card. installments. plan. intervalenum For
fixed_installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. One ofcount month.Possible enum valuesmonth
- payment_method_options.
card. mandate_ optionsobject Configuration options for setting up an eMandate for cards issued in India.
- payment_method_options.
card. mandate_options. amountintegerRequired Amount to be charged for future payments.
- payment_method_options.
card. mandate_options. amount_ typeenumRequired One of
fixedormaximum. 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 valuesfixedmaximum - payment_method_options.
card. mandate_options. intervalenumRequired Specifies payment frequency. One of
day,week,month,year, orsporadic.Possible enum valuesdaymonthsporadicweekyear - payment_method_options.
card. mandate_options. referencestringRequired Unique identifier for the mandate or subscription.
- payment_method_options.
card. mandate_options. start_ datetimestampRequired Start date of the mandate or subscription. Start date should not be lesser than yesterday.
- payment_method_options.
card. mandate_options. descriptionstring A description of the mandate or subscription that is meant to be displayed to the customer.
- payment_method_options.
card. mandate_options. end_ datetimestamp 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_ countinteger The number of intervals between payments. For example,
interval=monthandinterval_indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional whencount=3 interval=sporadic. - payment_method_options.
card. mandate_options. supported_ typesarray of enums Specifies the type of mandates supported. Possible values are
india.Possible enum valuesindia
- payment_method_options.
card. networkstring 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. enum Request ability to capture beyond the standard authorization validity window for this PaymentIntent.
Possible enum valuesif_available Use
if_if you want to extend the capture window when eligible for extended authorization.available neverUse
neverif you don’t want to extend the capture window. - payment_method_options.
card. enum Request ability to increment the authorization for this PaymentIntent.
Possible enum valuesif_available Use
if_if you want to increment the authorization on the PaymentIntent when eligible.available neverUse
neverif you don’t want to increment the authorization on the PaymentIntent. - payment_method_options.
card. request_ multicaptureenum Request ability to make multiple captures for this PaymentIntent.
Possible enum valuesif_available Use
if_if you want to use multicapture when eligible.available neverUse
neverif you don’t want to use multicapture. - payment_method_options.
card. request_ overcaptureenum Request ability to overcapture for this PaymentIntent.
Possible enum valuesif_available Use
if_if you want to overcapture the payment when eligible.available neverUse
neverif you don’t want to overcapture the payment. - payment_method_options.
card. request_ three_ d_ secureenumadvanced 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 to
automatic. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine.Possible enum valuesanyUse
anyto 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.
challengeUse
challengeto 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_ recollectionboolean 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_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session - payment_method_options.
card. statement_ descriptor_ suffix_ kanastring 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_ kanjistring 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_ secureobject 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. cryptogramstringRequired 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_ idstringRequired For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server Transaction ID (dsTransID).
- payment_method_options.
card. three_d_secure. versionenumRequired The version of 3D Secure that was performed.
- payment_method_options.
card. three_d_secure. ares_ trans_ statusenum The
transStatusreturned from the card Issuer’s ACS in the ARes.Possible enum valuesAAttempts 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_ indicatorenumRequired 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 values01Mastercard 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_ indicatorenum The exemption requested via 3DS and accepted by the issuer at authentication time.
Possible enum valueslow_risk Transaction 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_ optionsobject Network specific 3DS fields. Network specific arguments require an explicit card brand choice. The parameter `payment_method_options.card.network`` must be populated accordingly
- payment_method_options.
card. three_d_secure. network_options. cartes_ bancairesobject Cartes Bancaires-specific 3DS fields.
- payment_method_options.
card. three_d_secure. network_options. cartes_bancaires. cb_ avalgoenumRequired The cryptogram calculation algorithm used by the card Issuer’s ACS to calculate the Authentication cryptogram. Also known as
cavvAlgorithm. messageExtension: CB-AVALGOPossible enum values0HMAC
1CVV
2CVV with ATN
3Mastercard SPA
4American Express SafeKey 1
AAV-CB
- payment_method_options.
card. three_d_secure. network_options. cartes_bancaires. cb_ exemptionstring 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 encoded
- payment_method_options.
card. three_d_secure. network_options. cartes_bancaires. cb_ scoreinteger 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_ indicatorstring 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.
- payment_method_options.
card_ presentobject If this is a
card_PaymentMethod, this sub-hash contains details about the Card Present payment method options.present - payment_method_options.
card_present. capture_ methodenumPreview feature 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method manual_preferred Use
manual_if you preferpreferred manualcapture_method but support falling back toautomaticbased on the presented payment method. - payment_method_options.
card_present. boolean Request ability to capture this payment beyond the standard authorization validity window
- payment_method_options.
card_present. boolean 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. routingobject Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
- payment_method_options.
card_present. routing. requested_ priorityenum Routing requested priority
Possible enum valuesdomesticPrioritize domestic debit network routing on payment method collection
internationalPrioritize international network routing on payment method collection
- payment_method_options.
cashappobject If this is a
cashappPaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.- payment_method_options.
cashapp. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
cashapp. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session
- payment_method_options.
customer_ balanceobject If this is a
customer balancePaymentMethod, this sub-hash contains details about the customer balance payment method options.- payment_method_options.
customer_balance. bank_ transferobject Configuration for the bank transfer funding type, if the
funding_is set totype bank_.transfer - payment_method_options.
customer_balance. bank_transfer. typeenumRequired 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_, orbank_ transfer us_.bank_ transfer Possible enum valueseu_bank_ transfer eu_bank_transfer bank transfer type
gb_bank_ transfer gb_bank_transfer bank transfer type
jp_bank_ transfer jp_bank_transfer bank transfer type
mx_bank_ transfer mx_bank_transfer bank transfer type
us_bank_ transfer us_bank_transfer bank transfer type
- payment_method_options.
customer_balance. bank_transfer. eu_ bank_ transferobject Configuration for the eu_bank_transfer funding type.
- payment_method_options.
customer_balance. bank_transfer. eu_bank_transfer. countrystringRequired The desired country code of the bank account information. Permitted values include:
BE,DE,ES,FR,IE, orNL.
- payment_method_options.
customer_balance. bank_transfer. requested_ address_ typesarray of enums 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 valuesabaaba bank account address type
ibaniban bank account address type
sepasepa bank account address type
sort_code sort_code bank account address type
speispei bank account address type
swiftswift bank account address type
zenginzengin bank account address type
- payment_method_options.
customer_balance. funding_ typeenum The funding method type to be used when there are not enough funds in the customer balance. Permitted values include:
bank_.transfer Possible enum valuesbank_transfer - payment_method_options.
customer_balance. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
epsobject If this is a
epsPaymentMethod, this sub-hash contains details about the EPS payment method options.- payment_method_options.
eps. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
fpxobject If this is a
fpxPaymentMethod, this sub-hash contains details about the FPX payment method options.- payment_method_options.
fpx. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
giropayobject If this is a
giropayPaymentMethod, this sub-hash contains details about the Giropay payment method options.- payment_method_options.
giropay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
grabpayobject If this is a
grabpayPaymentMethod, this sub-hash contains details about the Grabpay payment method options.- payment_method_options.
grabpay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
idealobject If this is a
idealPaymentMethod, this sub-hash contains details about the Ideal payment method options.- payment_method_options.
ideal. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
interac_ presentobjectPreview feature If this is a
interac_PaymentMethod, this sub-hash contains details about the Card Present payment method options.present - payment_method_options.
kakao_ payobject If this is a
kakao_PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.pay - payment_method_options.
kakao_pay. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
kakao_pay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
klarnaobject If this is a
klarnaPaymentMethod, this sub-hash contains details about the Klarna payment method options.- payment_method_options.
klarna. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
klarna. preferred_ localeenum Preferred language of the Klarna authorization page that the customer is redirected to
Possible enum valuescs-CZCzech - Czechia
da-DKDanish - Denmark
de-ATGerman - Austria
de-CHGerman - Switzerland
de-DEGerman - Germany
el-GRGreek - Greece
en-ATEnglish - Austria
en-AUEnglish - Australia
en-BEEnglish - Belgium
en-CAEnglish - Canada
Show 36 more - payment_method_options.
klarna. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
konbiniobject If this is a
konbiniPaymentMethod, this sub-hash contains details about the Konbini payment method options.- payment_method_options.
konbini. confirmation_ numberstring 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.
- payment_method_options.
konbini. expires_ after_ daysinteger 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 and
expires_set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.after_ days - payment_method_options.
konbini. expires_ attimestamp The timestamp at which the Konbini payment instructions will expire. Only one of
expires_orafter_ days expires_may be set.at - payment_method_options.
konbini. product_ descriptionstring A product descriptor of up to 22 characters, which will appear to customers at the convenience store.
- payment_method_options.
konbini. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
kr_ cardobject If this is a
kr_PaymentMethod, this sub-hash contains details about the KR Card payment method options.card - payment_method_options.
kr_card. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
kr_card. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
linkobject If this is a
linkPaymentMethod, this sub-hash contains details about the Link payment method options.- payment_method_options.
link. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
link. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
mobilepayobject If this is a
MobilePayPaymentMethod, this sub-hash contains details about the MobilePay payment method options.- payment_method_options.
mobilepay. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
mobilepay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
multibancoobject If this is a
multibancoPaymentMethod, this sub-hash contains details about the Multibanco payment method options.- payment_method_options.
multibanco. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
object If this is a
naver_PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.pay - payment_method_options.
naver_pay. enum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method
- payment_method_options.
nz_ bank_ accountobjectPreview feature If this is a
nz_PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.bank_ account - payment_method_options.
nz_bank_account. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session
- payment_method_options.
oxxoobject If this is a
oxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options.- payment_method_options.
oxxo. expires_ after_ daysinteger 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_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
p24object If this is a
p24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.- payment_method_options.
p24. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage - payment_method_options.
p24. tos_ shown_ and_ acceptedboolean Confirm that the payer has accepted the P24 terms and conditions.
- payment_method_options.
paycoobject If this is a
paycoPaymentMethod, this sub-hash contains details about the PAYCO payment method options.- payment_method_options.
payco. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method
- payment_method_options.
paynowobject If this is a
paynowPaymentMethod, this sub-hash contains details about the PayNow payment method options.- payment_method_options.
paynow. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
paypalobject If this is a
paypalPaymentMethod, this sub-hash contains details about the PayPal payment method options.- payment_method_options.
paypal. capture_ methodenum Controls when the funds will be captured from the customer’s account.
Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
paypal. preferred_ localeenum Preferred locale of the PayPal checkout page that the customer is redirected to.
Possible enum valuescs-CZCzech - The Czech Republic
da-DKDanish - Denmark
de-ATGerman - Austria
de-DEGerman - Germany
de-LUGerman - Luxembourg
el-GRGreek - Greece
en-GBEnglish - United Kingdom
en-USEnglish - United States of America
es-ESSpanish - Spain
fi-FIFinnish - Finland
Show 11 more - payment_method_options.
paypal. referencestring 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.
- payment_method_options.
paypal. risk_ correlation_ idstring The risk correlation ID for an on-session payment using a saved PayPal payment method.
- payment_method_options.
paypal. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
pixobject If this is a
pixPaymentMethod, this sub-hash contains details about the Pix payment method options.- payment_method_options.
pix. expires_ after_ secondsinteger The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
- payment_method_options.
pix. expires_ attimestamp 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. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
promptpayobject If this is a
promptpayPaymentMethod, this sub-hash contains details about the PromptPay payment method options.- payment_method_options.
promptpay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
revolut_ payobject If this is a
revolut_PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.pay - payment_method_options.
revolut_pay. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method - payment_method_options.
revolut_pay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
samsung_ payobject If this is a
samsung_PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.pay - payment_method_options.
samsung_pay. capture_ methodenum 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_is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.method Possible enum valuesmanualUse
manualif you intend to place the funds on hold and want to override the top-levelcapture_value for this payment method.method
- payment_method_options.
sepa_ debitobject If this is a
sepa_PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.debit - payment_method_options.
sepa_debit. mandate_ optionsobject Additional fields for Mandate creation
- payment_method_options.
sepa_debit. mandate_options. reference_ prefixstringPreview feature 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’.
- payment_method_options.
sepa_debit. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session
- payment_method_options.
sofortobject If this is a
sofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options.- payment_method_options.
sofort. preferred_ languageenum Language shown to the payer on redirect.
Possible enum valuesdeGerman
enEnglish
esSpanish
frFrench
itItalian
nlDutch
plPolish
- payment_method_options.
sofort. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session
- payment_method_options.
swishobject If this is a
SwishPaymentMethod, this sub-hash contains details about the Swish payment method options.- payment_method_options.
swish. referencestring A reference for this payment to be displayed in the Swish app.
- payment_method_options.
swish. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
twintobject If this is a
twintPaymentMethod, this sub-hash contains details about the TWINT payment method options.- payment_method_options.
twint. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
us_ bank_ accountobject If this is a
us_PaymentMethod, this sub-hash contains details about the US bank account payment method options.bank_ account - payment_method_options.
us_bank_account. financial_ connectionsobject Additional fields for Financial Connections Session creation
- payment_method_options.
us_bank_account. financial_connections. filtersobject 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_ subcategoriesarray of strings The account subcategories to use to filter for selectable accounts. Valid subcategories are
checkingandsavings.
- payment_method_options.
us_bank_account. financial_connections. permissionsarray of strings The list of permissions to request. If this parameter is passed, the
payment_permission must be included. Valid permissions include:method balances,ownership,payment_, andmethod transactions. - payment_method_options.
us_bank_account. financial_connections. prefetcharray of enums List of data features that you would like to retrieve upon account creation.
Possible enum valuesbalancesRequests 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_ urlstring 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_ optionsobject Additional fields for Mandate creation
- payment_method_options.
us_bank_account. mandate_options. collection_ methodenum The method used to collect offline mandate customer acceptance.
Possible enum valuespaperMandate customer acceptance was collected using a paper document
- payment_method_options.
us_bank_account. networksobject Additional fields for network related functions
- payment_method_options.
us_bank_account. networks. requestedarray of enums Triggers validations to run across the selected networks
Possible enum valuesachus_domestic_ wire
- payment_method_options.
us_bank_account. preferred_ settlement_ speedenum Preferred transaction settlement speed
Possible enum valuesfastestPrefer fastest available settlement
standardPrefer standard settlement
- payment_method_options.
us_bank_account. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage off_session Use
off_if your customer may or may not be present in your checkout flow.session on_session Use
on_if you intend to only reuse the payment method when your customer is present in your checkout flow.session - payment_method_options.
us_bank_account. verification_ methodenum Bank account verification method.
Possible enum valuesautomaticInstant 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_ payobject If this is a
wechat_PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.pay - payment_method_options.
wechat_pay. clientenumRequired The client type that the end customer will pay from
Possible enum valuesandroidThe end customer will pay from an Android app
iosThe end customer will pay from an iOS app
webThe end customer will pay from web browser
- payment_method_options.
wechat_pay. app_ idstring The app ID registered with WeChat Pay. Only required when client is ios or android.
- payment_method_options.
wechat_pay. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_method_options.
zipobject If this is a
zipPaymentMethod, this sub-hash contains details about the Zip payment method options.- payment_method_options.
zip. setup_ future_ usageenum 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_and isn’t a digital wallet, Stripe creates and attaches a generated_card payment method representing the card to the Customer instead.present When processing card payments, Stripe uses
setup_to help you comply with regional legislation and network rules, such as SCA.future_ usage If you’ve already set
setup_and you’re performing a request using a publishable key, you can only update the value fromfuture_ usage on_tosession off_.session Possible enum valuesnoneUse
noneif you do not intend to reuse this payment method and want to override the top-levelsetup_value for this payment method.future_ usage
- payment_
method_ typesarray of strings The list of payment method types (for example, card) that this PaymentIntent can use. Use
automatic_to manage payment methods from the Stripe Dashboard.payment_ methods - transfer_
dataobjectConnect only Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the use case for connected accounts.
- transfer_data.
amountinteger The amount that will be transferred automatically when a charge succeeds.
- transfer_
groupstringConnect only A string that identifies the resulting payment as part of a group. You can only provide
transfer_if it hasn’t been set. Learn more about the use case for connected accounts.group
Returns
Returns a PaymentIntent object.
{ "id": "pi_3MtwBwLkdIwHu7ix28a3tqPa", "object": "payment_intent", "amount": 2000, "amount_capturable": 0, "amount_details": { "tip": {} }, "amount_received": 0, "application": null, "application_fee_amount": null, "automatic_payment_methods": { "enabled": true }, "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", "client_secret": "pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH", "confirmation_method": "automatic", "created": 1680800504, "currency": "usd", "customer": null, "description": null, "invoice": null, "last_payment_error": null, "latest_charge": null, "livemode": false, "metadata": { "order_id": "6735" }, "next_action": null, "on_behalf_of": null, "payment_method": null, "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": "requires_payment_method", "transfer_data": null, "transfer_group": null}