Validate Email API
The Validate Email API is used to verify whether a customer email exists in the system before initiating a withdrawal.
Description
Use this endpoint to check if an email address is registered in the CentPay system. This is recommended as a pre-check before initiating a withdrawal to avoid errors.
Endpoint
HTTP
POST{{baseURL}}/api/merchant/v2/validate-email
Request Body
JSON
{
"email": "sneha@techysquad.com"
}
Success Response
JSON
{
"status": 200,
"success": true,
"message": "Email is valid and exists in our system"
}
Response Codes
| Status | Description |
|---|---|
| 400 | Email is required |
| 404 | User not found with this email |
| 500 | Internal server error |