My EMI Pay
  1. Auth
  • My-EMI Lending API
  • System
    • Health check
      GET
  • Products
    • List published loan products
      GET
  • Auth
    • List family profiles on this phone
      GET
    • Add a family member on this phone
      POST
    • iOS Universal Link file
      GET
    • Select a family account after OTP
      POST
    • Android App Links file
      GET
    • Confirm email verification (Bearer)
      GET
    • Confirm email verification token (Bearer)
      POST
    • Send email verification link
      POST
    • Email verification status
      GET
    • Logout
      POST
    • Request OTP
      POST
    • Resend OTP
      POST
    • Verify OTP
      POST
    • Refresh tokens
      POST
  • Profile
    • Record area pincode from location
      POST
    • Get customer profile
      GET
    • Update customer profile
      POST
  • Application journey
    • HTML origination document pack
      GET
    • Customer's stored accounts
      GET
    • Start bank statement consent
      POST
    • Profile from the signed-in phone
      GET
    • Poll bank statement consent
      GET
    • Unfinished advance
      GET
    • Start PAN KYC via DigiLocker
      POST
    • PAN KYC status
      GET
    • Start Aadhaar KYC via DigiLocker
      POST
    • Application journey
      GET
    • Aadhaar KYC status
      GET
    • Start DigiLocker KYC
      POST
    • Edit Aadhaar communication address
      POST
    • DigiLocker KYC status
      GET
    • Upload PAN and Aadhaar PDFs
      POST
    • Verify bank account (KYC)
      POST
    • Complete PAN KYC (poll DigiLocker)
      POST
    • Complete Aadhaar KYC (poll DigiLocker)
      POST
    • Selfie liveness check (KYC)
      POST
    • Pull bureau report
      POST
    • Selfie liveness probe
      POST
    • Selfie face-match probe
      POST
    • Start eSign
      POST
    • Loan eligibility
      GET
    • eSign status
      GET
    • Start e-NACH
      POST
    • e-NACH status
      GET
    • PAN and address from the signed-in phone
      GET
    • Save company details
      POST
    • Upload a bank statement PDF
      POST
    • Bureau report
      GET
    • Price an advance
      POST
    • Stream application status (SSE)
      GET
    • List loan PDFs
      GET
    • One loan document link
      GET
    • Penny-drop the salary account
      POST
  • Webhooks
    • Accept a servicing action from the LMS
    • Mandate and debit status
    • Resolve or fail bureau claim
    • Cashfree payout, subscription, and payment events
    • Easebuzz EMI payment result
    • Resolve or fail eSign claim
    • Resolve or fail income claim
    • Resolve or fail KYC claim
    • Cashfree payout status
  • Ops
    • Confirm queued payouts
    • Wake steps that are waiting on a clock
    • Retry one failed payout row
  • Other
    • List published originators
    • HTML origination pack for one originator
    • List banks
    • Bank account rule
  • Application
    • Permanently delete one user
    • Get current application screen
    • JSON origination document pack
    • Accept offer
    • List EMIs for this customer
    • Begin verification
    • Create loan
    • Past applications
    • Verify PAN and pull the credit file
    • Acknowledge credit score
    • Key Facts Statement
    • Current application revision
    • Request payout
    • Open UPI or netbanking for one instalment
    • Loan details
    • Transaction details
  • Applications
    • Get current application screen
    • Begin verification
    • Verify PAN
    • Acknowledge credit score
    • Accept offer
    • Create loan
    • Request payout
  • Collection
    • Notify borrower before collection
    • Refresh notification status
    • Present collection debit
    • Cancel a due presentment and mandate
    • Refresh debit status
    • Read collection request
  • PII tools
    • Encrypt a value
    • Decrypt a value
    • Generate a cipher key
  1. Auth

Request OTP

POST
https://api-dev.myemipay.com/auth/otp/request
Auth
Last modified:2026-11-19 19:46:24
x-auth:Public
x-called-from:after the customer picked a product and entered a phone. Must run **before** verify.
x-details:body `{ phone, product_id, consent }`. `consent` must be `true`; it is stored against the hashed phone before the code is sent. Success `data.message` is `OTP has been sent to 9876543210 successfully` (10-digit number, no country code). The code is never in JSON. Mock: use collection `otpCode` (server `MOCK_OTP_CODE`, default `123456`). Missing or false consent → `422 validation_failed`. Too many requests → `429 rate_limited`.
x-errors:[{"meaning":"invalid_phone: That phone number doesn't look valid. Please check and try again.","status":422},{"meaning":"invalid_product: This loan product isn't available. Please choose a product from the list and try again.","status":422},{"meaning":"phone_required: A phone number is required.","status":422},{"meaning":"product_id_required: A product_id is required. Choose a product from the list first.","status":422},{"meaning":"validation_failed: Consent is required.","status":422},{"meaning":"rate_limited: Too many OTP requests. Try again later.","status":429}]
x-next:`POST /auth/otp/verify` with the same phone, the same `product_id`, and the code. If the SMS didn't arrive, `POST /auth/otp/resend` (same body, same rate limit).
x-order:0
x-section:otp
x-when:body `{ phone, product_id, consent }`.
the server hashes the phone, stores a one-time code in Redis, and (unless mock) sends it over WhatsApp/SMS.

Request

Body Params application/jsonRequired

Examples

Responses

🟢200OTP requested
application/json
OTP requested
Bodyapplication/json

🟠422Phone required
🟠429Rate limited
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api-dev.myemipay.com/auth/otp/request' \
--header 'Content-Type: application/json' \
--data '{
    "consent": true,
    "phone": "",
    "product_id": ""
}'
Response Response Example
200 - OTP requested
{
    "data": {
        "message": "OTP has been sent to 9876543210 successfully"
    },
    "message": "OK",
    "success": true
}
Modified at 2026-11-19 19:46:24
Previous
Logout
Next
Resend OTP
Built with