Delete a Cardholder
Permanently delete a cardholder. The record is physically removed from storage rather than moved to a terminal status, so the operation cannot be undone. Before you call this endpoint, unbind or cancel every card issued to the cardholder. If any card is still linked, the request fails with CARDHOLDER_HAS_ASSOCIATED_CARD. If the cardholder still has cards linked to it, the call fails:
Request Parameters
CARDHOLDER_HAS_ASSOCIATED_CARD
idstring
required
Unique cardholder identifier to delete. Max 64 characters.
Response Parameters
resultResult
Deletion outcome. resultStatus=S confirms the cardholder was deleted. See Result.
Error Codes
Definition
POST /api/open/v1/issuing/cardholders/deleteResponse
{
"result": {
"resultCode": "CARDHOLDER_HAS_ASSOCIATED_CARD",
"resultMessage": "Cardholder still has associated cards, please unbind/delete cards first",
"resultStatus": "F"
}
}