Fintech APIs & Platform for KYC, Verification & Transactions in India | Eko Platform Services
Eko Platform Services Logo

POSTSend Transaction OTP

Request an OTP to the sender's mobile number to authorise an upcoming DMT-Levin transfer.

POST/customer/payment/dmt-levin/otp
Warning
The UAT environment is not available for this API — requests to https://staging.eko.in/ekoapi/v3 return an error response. Test it in Production.

Generates an OTP and delivers it to the sender's registered mobile number as a pre-authorisation step before the money transfer. Provide the recipient_id, the transfer amount, and the sender's customer_id. The returned otp_ref_id must be passed to the transfer call along with the OTP entered by the customer.

Request

Body parameters

initiator_idstringRequired

Registered mobile number of the API user (see Platform Credentials).

example: 9962981729

client_ref_idstringoptional

Unique reference ID per API call, generated by your system (10–20 characters; 10 recommended). The SDKs generate one for every non-GET call when you don't.

example: 2026010100123456789

user_codestringRequired

User code value of the retailer from whom the request is coming.

example: 99080253

recipient_idintegerRequired

Unique recipient ID returned by Add Recipient or Get Recipients.

example: 116456986

amountintegerRequired

Transfer amount in INR.

example: 500

customer_idstringRequired

Sender's 10-digit mobile number.

example: 9999999999

beneficiary_idstringoptional

Unique ID generated when adding the recipient's bank details (see Get Recipients).

example: 40378

Response types

response_type_idMeaningNext step
2133Transaction OTP sent — proceed to Initiate TransactionInitiate DMT-Levin Transaction

Responses

2133Transaction OTP sent — proceed to Initiate TransactionNext:Initiate DMT-Levin Transaction

  • statusnumber

    Primary success indicator (0 = success).

  • messagestring

    Human-readable response / error message.

  • response_status_idnumber

    UI display hint only (-1/0 success, 1 failure, 2 initiated, 3 refund initiated, 4 refunded). Never branch on it — use `status` (and `tx_status` for financial APIs), or `response_type_id` where documented.

  • response_type_idnumber

    A unique id for every possible response shape (success or error) — useful for client logic branching and analytics.

  • dataobject

    API-specific response payload.

    • otp_ref_idstring

      Reference ID for the OTP sent. Pass it to the transfer call along with the customer-entered OTP.

Next steps

NextPOSTInitiate DMT-Levin TransactionExecute a DMT-Levin money transfer to a bank account after OTP verification.

Related