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

Select a family account after OTP

POST
https://api-dev.myemipay.com/auth/accounts/select
Auth
Last modified:2026-11-13 07:18:36
x-auth:Phone session token
x-called-from:after OTP verify, for every profile in `accounts` — one person or many. This is the call that issues the token.
x-details:body `{ accountId, phoneSessionToken? }` **or** Bearer + `accountId`. This is the call that issues `accessToken`, `refreshToken`, `customerId`, `productId`, and `isNewUser`. One profile or many — same call. Unknown id (including a User draft) → `not_found`. Expired / missing phone session and no Bearer → `session_expired` / `unauthorized`. Too soon after a terminal case → `reapply_cooldown` with `remainingDays`, `title`, and `reason`.
x-errors:[{"meaning":"session_expired: Your session has expired. Please sign in again.","status":401},{"meaning":"reapply_cooldown: You can apply again in 180 days.","status":403},{"meaning":"not_found: That account was not found.","status":404},{"meaning":"validation_failed: accountId is required","status":422}]
x-next:send the new Bearer on customer routes. `GET /application/journey` shows that person's next step.
x-order:1
x-section:family-accounts
x-when:body `{ accountId, phoneSessionToken? }` or Bearer + `accountId`.
one phone can belong to several people (family).

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Selected account
application/json
Selected account
Bodyapplication/json

🟠401Session expired
🟠403Reapply cooldown
🟠404Account not found
🟠422accountId required
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api-dev.myemipay.com/auth/accounts/select' \
--header 'Content-Type: application/json' \
--data '{
    "accountId": "",
    "phoneSessionToken": ""
}'
Response Response Example
200 - Selected account
{
    "data": {
        "accessToken": "access.token.sample…",
        "customerId": "cust_1735123456789",
        "expiresIn": 86400,
        "identityKind": "customer",
        "isNewUser": false,
        "phoneSessionToken": "phone_session_…",
        "productId": "prod_personal",
        "refreshToken": "refresh_…",
        "tokenType": "Bearer"
    },
    "message": "OK",
    "success": true
}
Modified at 2026-11-13 07:18:36
Previous
iOS Universal Link file
Next
Android App Links file
Built with