Delete Customer
Delete a customer record.
Endpoint
DELETE /v1/customers/:propAuthentication
Header
Value
Path parameters
Parameter
Type
Description
Example request
curl -X DELETE https://ramp-api.ivorypay.io/api/v1/customers/amina@example.com \
-H "x-api-key: your_api_key"const response = await fetch("https://ramp-api.ivorypay.io/api/v1/customers/amina@example.com", {
method: "DELETE",
headers: {
"x-api-key": "your_api_key",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.delete(
"https://ramp-api.ivorypay.io/api/v1/customers/amina@example.com",
headers={
"x-api-key": "your_api_key",
},
)
print(response.json())Example response
{
"statusCode": 200,
"success": true,
"message": "Customer deleted successfully"
}Error cases
Scenario
Description
Last updated