Base URL https://payments.clocknext.com/api/v1
Archives the customer and frees its external id. Archiving it again succeeds and changes nothing. A running plan, or a paid one waiting to start, is a 409: cancel the purchase first. An unpaid purchase does not block it: archiving cancels it.
apiKeyAuthorizationBearer <cnk_…>Organisation-scoped key from Settings → API Keys.
id*stringCustomer id.
Customer deleted.
application/json- response
statusCode*integerThe HTTP status code of the response, repeated in the body.
statusDetail*The status of the request. status is SUCCESS, and message says what happened.
result*The result of the deletion.
curl -X DELETE 'https://payments.clocknext.com/api/v1/customers/cus_abc123'{ "statusCode": 200, "statusDetail": { "status": "SUCCESS", "message": "Request processed successfully." }, "result": { "deleted": true }}Base URL https://payments.clocknext.com/api/v1
The same call, addressed by the customer's externalId. Same response.
apiKeyAuthorizationBearer <cnk_…>Organisation-scoped key from Settings → API Keys.
externalId*stringYour own id for the customer: 1–64 letters, numbers or "-". Case-sensitive.
^[A-Za-z0-9-]{1,64}$1 <= length <= 64Customer deleted.
application/json- response
statusCode*integerThe HTTP status code of the response, repeated in the body.
statusDetail*The status of the request. status is SUCCESS, and message says what happened.
result*The result of the deletion.
curl -X DELETE 'https://payments.clocknext.com/api/v1/customers/ext/string'{ "statusCode": 200, "statusDetail": { "status": "SUCCESS", "message": "Request processed successfully." }, "result": { "deleted": true }}