Confirm a SetupIntent
Confirm that your customer intends to set up the current or provided payment method. For example, you would confirm a SetupIntent when a customer hits the “Save” button on a payment method management page on your website.
If the selected payment method does not require any additional steps from the customer, the SetupIntent will transition to the succeeded status.
Otherwise, it will transition to the requires_action status and suggest additional actions via next_action. If setup fails, the SetupIntent will transition to the requires_payment_method status or the canceled status if the confirmation limit is reached.
Path parameters
Response
Successful response.
Changes
Changed in 10 of the 51 revisions of this API.171626
- ○
added the optional property
error/payment_intent/payment_method_options/anyOf[subschema #1: PaymentIntentPaymentMethodOptions]/card_present/anyOf[subschema #1: payment_method_options_card_present]/capture_methodto the response with thedefaultstatusresponse-optional-property-added
- ○
- ○
added the optional property
error/payment_intent/amount_details/anyOf[subschema #1: PaymentFlowsAmountDetails]/line_items/data/items/payment_method_options/anyOf[subschema #1: PaymentFlowsAmountDetailsResourceLineItemsListResourceLineItemResourcePaymentMethodOptions]/klarna/subscription_referenceto the response with thedefaultstatusresponse-optional-property-added
- ○
- ▲
removed the enum value
paypayof the request propertypayment_method_data/typerequest-property-enum-value-removed
This revision's changelog hit the recording limit, so it may not list every change to this endpoint.
- ▲
- ○
added the optional property
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/paynow/locationto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/paynow/readerto the response with thedefaultstatusresponse-optional-property-added
- ○
- ○
added the optional property
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/cashapp/transaction_idto the response with thedefaultstatusresponse-optional-property-added
- ○
- ▲
the response property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/pretax_credit_amounts/items/credit_balance_transaction/anyOf[subschema #2: CreditBalanceTransaction]/credit_grant/anyOf[subschema #2: CreditGrant]/applicability_config/scope/price_typebecame optional for the statusdefaultresponse-property-became-optional
- ▲
the response property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/total_pretax_credit_amounts/items/credit_balance_transaction/anyOf[subschema #2: CreditBalanceTransaction]/credit_grant/anyOf[subschema #2: CreditGrant]/applicability_config/scope/price_typebecame optional for the statusdefaultresponse-property-became-optional
- ○
added the optional property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/pretax_credit_amounts/items/credit_balance_transaction/anyOf[subschema #2: CreditBalanceTransaction]/credit_grant/anyOf[subschema #2: CreditGrant]/applicability_config/scope/pricesto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/pretax_credit_amounts/items/credit_balance_transaction/anyOf[subschema #2: CreditBalanceTransaction]/credit_grant/anyOf[subschema #2: CreditGrant]/priorityto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/total_pretax_credit_amounts/items/credit_balance_transaction/anyOf[subschema #2: CreditBalanceTransaction]/credit_grant/anyOf[subschema #2: CreditGrant]/applicability_config/scope/pricesto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/total_pretax_credit_amounts/items/credit_balance_transaction/anyOf[subschema #2: CreditBalanceTransaction]/credit_grant/anyOf[subschema #2: CreditGrant]/priorityto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/payment_method_options/anyOf[subschema #1: PaymentIntentPaymentMethodOptions]/acss_debit/anyOf[subschema #1: payment_intent_payment_method_options_acss_debit]/target_dateto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/payment_method_options/anyOf[subschema #1: PaymentIntentPaymentMethodOptions]/au_becs_debit/anyOf[subschema #1: payment_intent_payment_method_options_au_becs_debit]/target_dateto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/payment_method_options/anyOf[subschema #1: PaymentIntentPaymentMethodOptions]/bacs_debit/anyOf[subschema #1: payment_intent_payment_method_options_bacs_debit]/target_dateto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/payment_method_options/anyOf[subschema #1: PaymentIntentPaymentMethodOptions]/sepa_debit/anyOf[subschema #1: payment_intent_payment_method_options_sepa_debit]/target_dateto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/payment_method_options/anyOf[subschema #1: PaymentIntentPaymentMethodOptions]/us_bank_account/anyOf[subschema #1: payment_intent_payment_method_options_us_bank_account]/target_dateto the response with thedefaultstatusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
payment_method_data/pay_by_banknew-optional-request-property
- ○
added the new
pay_by_bankenum value to the request propertypayment_method_data/typerequest-property-enum-value-added
- ○
added the optional property
error/advice_codeto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/outcome/anyOf[subschema #1: ChargeOutcome]/advice_codeto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/pay_by_bankto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/paypal/countryto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/outcome/anyOf[subschema #1: ChargeOutcome]/advice_codeto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/pay_by_bankto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/paypal/countryto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/payment_method_options/anyOf[subschema #1: PaymentIntentPaymentMethodOptions]/pay_by_bankto the response with thedefaultstatusresponse-optional-property-added
- ○
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/customer_tax_ids/items/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/invoice_item/anyOf[subschema #2: InvoiceItem]/subscription/anyOf[subschema #2: Subscription]/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/invoice_item/anyOf[subschema #2: InvoiceItem]/subscription/anyOf[subschema #2: Subscription]/schedule/anyOf[subschema #2: SubscriptionSchedule]/default_settings/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/invoice_item/anyOf[subschema #2: InvoiceItem]/subscription/anyOf[subschema #2: Subscription]/schedule/anyOf[subschema #2: SubscriptionSchedule]/phases/items/invoice_settings/anyOf[subschema #1: InvoiceSettingSubscriptionSchedulePhaseSetting]/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/subscription/anyOf[subschema #2: Subscription]/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/subscription/anyOf[subschema #2: Subscription]/schedule/anyOf[subschema #2: SubscriptionSchedule]/default_settings/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/lines/data/items/subscription/anyOf[subschema #2: Subscription]/schedule/anyOf[subschema #2: SubscriptionSchedule]/phases/items/invoice_settings/anyOf[subschema #1: InvoiceSettingSubscriptionSchedulePhaseSetting]/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/quote/anyOf[subschema #2: Quote]/subscription/anyOf[subschema #2: Subscription]/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/quote/anyOf[subschema #2: Quote]/subscription/anyOf[subschema #2: Subscription]/schedule/anyOf[subschema #2: SubscriptionSchedule]/default_settings/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/quote/anyOf[subschema #2: Quote]/subscription/anyOf[subschema #2: Subscription]/schedule/anyOf[subschema #2: SubscriptionSchedule]/phases/items/invoice_settings/anyOf[subschema #1: InvoiceSettingSubscriptionSchedulePhaseSetting]/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/quote/anyOf[subschema #2: Quote]/subscription_schedule/anyOf[subschema #2: SubscriptionSchedule]/default_settings/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/quote/anyOf[subschema #2: Quote]/subscription_schedule/anyOf[subschema #2: SubscriptionSchedule]/phases/items/invoice_settings/anyOf[subschema #1: InvoiceSettingSubscriptionSchedulePhaseSetting]/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/subscription/anyOf[subschema #2: Subscription]/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/subscription/anyOf[subschema #2: Subscription]/schedule/anyOf[subschema #2: SubscriptionSchedule]/default_settings/invoice_settings/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
al_tinenum value to theerror/payment_intent/invoice/anyOf[subschema #2: Invoice]/subscription/anyOf[subschema #2: Subscription]/schedule/anyOf[subschema #2: SubscriptionSchedule]/phases/items/invoice_settings/anyOf[subschema #1: InvoiceSettingSubscriptionSchedulePhaseSetting]/account_tax_ids/items/anyOf[subschema #2: tax_id]/typeresponse property for the response statusdefaultresponse-property-enum-value-added
This revision's changelog hit the recording limit, so it may not list every change to this endpoint.
- ●
- ○
added the optional property
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/card/network_transaction_idto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/card/network_transaction_idto the response with thedefaultstatusresponse-optional-property-added
- ○
- ▲
the
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/application_fee/anyOf[subschema #2: PlatformFee]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #12: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/application_fee/anyOf[subschema #2: PlatformFee]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #5: CustomerCashBalanceTransaction]/refunded_from_payment/refund/anyOf[subschema #2: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #12: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #5: CustomerCashBalanceTransaction]/refunded_from_payment/refund/anyOf[subschema #2: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/failure_balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #12: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/failure_balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #5: CustomerCashBalanceTransaction]/refunded_from_payment/refund/anyOf[subschema #2: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/invoice/anyOf[subschema #2: Invoice]/charge/anyOf[subschema #2: Charge]/refunds/data/items/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/application_fee/anyOf[subschema #2: PlatformFee]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #12: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/application_fee/anyOf[subschema #2: PlatformFee]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #5: CustomerCashBalanceTransaction]/refunded_from_payment/refund/anyOf[subschema #2: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #12: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #5: CustomerCashBalanceTransaction]/refunded_from_payment/refund/anyOf[subschema #2: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/failure_balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #12: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/failure_balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #5: CustomerCashBalanceTransaction]/refunded_from_payment/refund/anyOf[subschema #2: Refund]/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
- ▲
the
error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/refunds/data/items/next_action/display_detailsresponse's property type/format changed from/toobject/for statusdefaultresponse-property-type-changed
This revision's changelog hit the recording limit, so it may not list every change to this endpoint.
- ▲
Of the 51 revisions, 14 have no diff computed and 6 have a changelog that could not be searched.