Delete Client

delete
Delete Client

https://api.payant.ng/clients/:id
Request
Response
Path Parameters
id
required
string
Client ID
Headers
Authorization
required
string
Payant secret key prefixed with "Bearer "
200: OK
{
"status": "success",
"message": "Client deleted successfully."
}

Request

curl https://api.payant.ng/clients/1 \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SECRET_KEY" \
-X DELETE

Response

{
"status": "success",
"message": "Client deleted successfully."
}