Delete a card
Permanently removes a card and returns 204 No Content. There is no soft delete and no way to deactivate a card instead.
The request is refused while the card is still referenced — by a bin number that resolves to it, by one of its installment options, by one of its multi-currency records, or by an order that was paid with it. The response then names the records that hold the reference. Since an order keeps its reference for as long as it is retained, a card that has ever been used in a completed payment is in practice not deletable; change its terminal assignments instead of removing it.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the card.
The card was deleted successfully. No response body.
No content
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested card does not exist.
The card cannot be deleted because other records still reference it — a bin number that resolves to it, one of its installment options, one of its multi-currency records, or an order that was paid with it.
DELETE /api/v1/remote/1/cards/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

