My EMI Pay
  1. Application journey
  • My-EMI Lending API
  • System
    • Health check
  • Products
    • List published loan products
  • Auth
    • List family profiles on this phone
    • Add a family member on this phone
    • iOS Universal Link file
    • Select a family account after OTP
    • Android App Links file
    • Confirm email verification (Bearer)
    • Confirm email verification token (Bearer)
    • Send email verification link
    • Email verification status
    • Logout
    • Request OTP
    • Resend OTP
    • Verify OTP
    • Refresh tokens
  • Profile
    • Record area pincode from location
    • Get customer profile
    • Update customer profile
  • 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. Application journey

Start DigiLocker KYC

POST
https://api-dev.myemipay.com/application/kyc
KYC
Last modified:2026-11-13 07:18:36
x-auth:Bearer access token
x-called-from:journey `kyc` after the profile. PAN and Aadhaar share this step. After 3 failures, `POST /application/kyc/upload`.
x-details:body `{ pan?, aadhaar?, redirectUrl? }`. `pan` and `aadhaar` are `e1.` blobs sealed with `PII_CIPHER_KEY`. The server opens them, then checks the number. A blob the key cannot open is `422` `validation_failed`. One of `pan` or `aadhaar` is required. DigiLocker is sent back to `https://myemipay.com/__callback/kyc`. A `redirectUrl` in the body is not sent. Header `X-App-Session` is the app process id. The same value keeps this DigiLocker client id for the visit. Pending → `{ status: "pending", url, pan, aadhaar }`.
x-errors:[{"meaning":"unauthorized: Authorization required","status":401},{"meaning":"step_not_ready: Finish the current step before you can continue.","status":409},{"meaning":"validation_failed: Aadhaar does not match the verified Aadhaar","status":422},{"meaning":"validation_failed: Enter a PAN or a 12-digit Aadhaar number.","status":422},{"meaning":"validation_failed: Enter a valid 12-digit Aadhaar number.","status":422},{"meaning":"validation_failed: PAN does not match the verified PAN","status":422},{"meaning":"validation_failed: Please enter a valid 10-character PAN.","status":422}]
x-next:open `url`, then poll `GET /application/kyc/status`.
x-order:0
x-section:digilocker
x-when:body `{ pan?, aadhaar?, redirectUrl? }`.
DigiLocker for the document in the body.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200DigiLocker pending
application/json
DigiLocker pending
Bodyapplication/json

🟠401Unauthorized
🟠409Step not ready
🟠422PAN blob will not open
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api-dev.myemipay.com/application/kyc' \
--header 'Idempotency-Key: idem-sample-1' \
--header 'If-Match: 3' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "aadhaar": "234123412346",
    "pan": "ACUPA7085R",
    "redirectUrl": "https://myemipay.com/__callback/kyc"
}'
Response Response Example
200 - DigiLocker pending
{
    "data": {
        "status": "pending",
        "url": "https://trulens.in/digilocker"
    },
    "message": "OK",
    "success": true
}
Modified at 2026-11-13 07:18:36
Previous
Aadhaar KYC status
Next
Edit Aadhaar communication address
Built with