Update a PaymentMethod
开发中POST
/v1/payment_methods/{id}Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated.
请求参数
Path Params
id
string
required
Body Params application/json
card
object
optional
exp_month
string
optional
Two-digit number representing the card’s expiration month.
exp_year
string
optional
Four-digit number representing the card’s expiration year.
Example
{
"card": {
"exp_month": "string",
"exp_year": "string"
}
}
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 1 年前