To deactivate a card profile by id, send a DELETE request to:
https://api.axepta.pl/v1/merchant/{merchantId}/profile/id/{paymentProfileId}
where:
merchantId- client identifier.paymentProfileId- card profile identifier.
Response body
{
"status": "SUCCESS",
"data": {
"paymentProfile": {
"id": "rfgcabf2-5229-4d70-a175-96f7fc3458d5",
"firstName": "Jan",
"lastName": "Kowalski",
"maskedNumber": "411111****1111",
"month": "12",
"year": "2029",
"organization": "MASTERCARD",
"isActive": 0,
"profile": "RECURRING"
},
"Jcd": "sBR"
}
}