v1
latestOpenAPI 3.0.02026-07-26168846732.2 KBPayment Methods
Payment Method - Set Default Payment Method for Customer
Set the Payment Method as Default for the Customer.
post/{customer_id}/payment_methods/{payment_method_id}/default
Path parameters
customer_idstring required
The unique identifier for the Customer
payment_method_idstring required
The unique identifier for the Payment Method
Response
Payment Method has been set as default
Example response
{
"default_payment_method_id": "card_rGK4Vi5iSW70MY7J2mIg",
"customer_id": "cus_y3oqhf46pyzuxjbcn2giaqnb44"
}