Create a card
Changed onWhen you create a new credit card, you must specify a customer or recipient on which to create it.
If the card’s owner has no default card, then the new card will become the default. However, if the owner already has a default, then it will not change. To change the default, you should update the customer to have a new default_source.
Request
- Base URL: https://api.stripe.com
- URL: https://api.stripe.com/v1/customers/{customer}/cards
- Auth: one of:
- HTTP basic
- HTTP bearer
Path parameters
Request body application/x-www-form-urlencoded
Response
Successful response.
Changes
- warning
added the new
final_payment_failureenum value to the/////////////response property for the response status - warning
added the new
final_payment_failureenum value to the/////////response property for the response status - warning
added the new
first_payment_failureenum value to the/////////////response property for the response status - warning
added the new
first_payment_failureenum value to the/////////response property for the response status
- warning
- info
added the optional property
//////////to the response with the status - info
added the optional property
//////to the response with the status
- info
Some revisions have not been checked yet.