Delete Customer

You can delete a customer via this API request. In addition to deleting or anonymizing the customer within WHITELABEL, this request will also trigger the deletion process with the payment providers the customer has interacted with.

DELETE/customers/{customer_id}

Header Parameters

x-account-codestringrequired

The account_id found in the WHITELABEL Dashboard (UUID | MAX 36; MIN 36).

Path Parameters

customer_idstringrequired

Response

Accepted (body is empty)

Customer not found

codestring
messagesstring[]
Request
curl -X DELETE "https://api-sandbox.whitelabel.com/v1/customers/<customer_id>" \
  -H "x-account-code: <x-account-code>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
(no body)