Cards
Cancel a card
Changed onPermanently cancel a card. This action cannot be undone.
post/cards/{cardId}/cancel
Request
- Base URLhttps://api.mercury.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cardIdstring uuid required
Unique identifier for a card
Response
Example response
{
"createdAt": "2016-07-22T00:00:00Z",
"expiration": {
"month": 8,
"year": 2026
},
"updatedAt": "2016-07-22T00:00:00Z"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking