Delete Customer

Delete a customer record.

Deletes a customer record. This is a soft delete — the record is deactivated but not permanently removed.

circle-exclamation

Endpoint

DELETE /v1/customers/:prop

Authentication

Header
Value

x-api-key

Your API key

Path parameters

Parameter
Type
Description

prop

string

Customer UUID, email address, or refCode

Example request

curl -X DELETE https://ramp-api.ivorypay.io/api/v1/customers/amina@example.com \
  -H "x-api-key: your_api_key"

Example response

{
  "statusCode": 200,
  "success": true,
  "message": "Customer deleted successfully"
}

Error cases

Scenario
Description

Customer has transactions

Cannot delete — customer has associated transaction history

Customer not found

No customer exists with the given identifier

Last updated