Skip to content

Delete Card

Endpoint

DELETE/api/v1/merchant/cards/{cardId}/terminate/

Terminate a card and remove user attributes associated with the card.

Path Parameters

Name Type Required Description
cardId string The unique identifier for the card you want to delete.

Example Request

DELETE /api/v1/merchant/cards/{cardId}/

Response

{
  "remainingCredit": "1000.00",
  "availableCredit": "0.00"
}

Response Body

Name Type Required Description
remainingCredit string The credit limit of the card before it was deleted. This field is applicable only to clients using standard authentication.
availableCredit string The credit limit of the card after deletion. This value is 0 by default.

Response Codes

Status Code Description
200 OK Card successfully deleted, with remaining and available credit details returned.
400 Bad Request Invalid request parameters.
401 Unauthorized Authentication failed.
404 Not Found Card not found.
500 Internal Server Error Server error.