Send OTP
X-API-KeyPOST
/airtime-to-cash/otp/sendSend a one-time password to the customer's MTN line. Use the same phone on verify and convert.
Language
curl -X POST "https://api.vendpower.ng/api/v1/airtime-to-cash/otp/send" \
-H "X-API-Key: YOUR_X_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"biller_code": "MTN",
"phone": "08031234567"
}'Authentication
Send your approved API key on every request. Keep it on your server only.
| Header | Value | Required |
|---|---|---|
| X-API-Key | YOUR_X_API_KEY | Yes |
| Content-Type | application/json | Yes |
| Accept | application/json | Recommended |
Authentication failures (401 / 403 / 429) are listed in Authentication.
Parameters
Responses
200 OK — OTP sent
{
"success": true,
"message": "OTP sent.",
"data": {
"phone": "2348031234567",
"otp_sent": true
}
}