cards
Update Card
Changed onpatch/v2/cards/{id}
Request
- Base URLhttps://docs.stancer.com (the document declares no server; this is the origin it was published from)
- URLhttps://docs.stancer.com/v2/cards/{id}
- Auth
- HTTP basic
- or HTTP bearer
Path parameters
idstring required
Example:card_yWYfCSzsUUhr9KwMv7vuLZHX
Request body
Example request
{
"exp_month": 12,
"exp_year": 2022,
"external_id": "UniqueId123",
"zip_code": "75001"
}Response
Successful Response
Example response
{
"customer": "cust_yWYfCSzsUUhr9KwMv7vuLZHX",
"brand": "visa",
"country": "FR",
"created": "1512518400",
"exp_month": 12,
"exp_year": 2022,
"external_id": "UniqueId123",
"id": "card_yWYfCSzsUUhr9KwMv7vuLZHX",
"last4": "4242",
"name": "My card",
"zip_code": "75001"
}Changes
- breaking
the response property
became optional for the status
- breaking