cURL
curl --request DELETE \ --url https://api.yuvexpay.com/v1/customers/{customerId} \ --header 'Authorization: Bearer <token>'
{ "message": "<string>" }
Soft-delete a customer by setting them as inactive. Customer data is preserved.
API access token obtained from POST /oauth/token. Include as Authorization: Bearer {token}.
Authorization: Bearer {token}
The customer ID.
Customer deactivated.