Create a PaymentMethod
Changed onCreates a PaymentMethod object. Read the Stripe.js reference to learn how to create PaymentMethods via Stripe.js.
Instead of creating a PaymentMethod directly, we recommend using the PaymentIntents API to accept a payment immediately or the SetupIntent API to collect payment method details ahead of a future payment.
Request
- Base URL: https://api.stripe.com
- URL: https://api.stripe.com/v1/payment_methods
- Auth: one of:
- HTTP basic
- HTTP bearer
Response
Successful response.
Changes
- breaking
removed the enum value
bnp_paribasof the request property/ - breaking
removed the enum value
citibankof the request property/ - breaking
removed the enum value
mbsb_bankof the request property/ - breaking
removed the required property
//////////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status - breaking
removed the required property
////////////from the response with the status - breaking
removed the required property
//////////from the response with the status - breaking
removed the required property
//////////from the response with the status - breaking
removed the required property
/////////////from the response with the status - breaking
removed the required property
///////////from the response with the status - breaking
removed the required property
///////////from the response with the status - breaking
removed the required property
//////////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status
This list may be incomplete.
- breaking
Some revisions have not been checked yet.