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 PAN KYC via DigiLocker

POST
https://api-dev.myemipay.com/application/kyc/pan
Last modified:2026-10-13 20:32:24
Start PAN KYC via DigiLocker
Description: DigiLocker issues PAN XML/PDF. The entered PAN must match the XML or the step fails. This is the journey start; POST /application/verify-pan is the screen-level cousin that also kicks bureau.
Usage: journey kyc_pan — after profile is complete. Local 10-character PAN check runs first.
Details: body { pan, redirectUrl? }. Header X-App-Session is the app process id (new when the app is killed and opened again). The same value keeps this DigiLocker client id for the rest of the visit, including status polls. A different value starts a new client id. Pending → { status: "pending", url }. Already verified returns the resolved status shape.
Next: open url in a browser/WebView (customer completes DigiLocker). Then poll GET /application/kyc/pan/status. Do not start Aadhaar yet.
Auth: Authorization: Bearer {{accessToken}}
Errors: 400 rejected — wrong application status · 401 unauthorized | session_expired · 404 not_found · 409 pan_already_exists | aadhaar_already_exists — number is already on another customer. error.maskedPhone is optional · 422 validation_failed

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200DigiLocker pending
application/json
Bodyapplication/json

🟠401Unauthorized
🟠409Step not ready
🟠422Invalid PAN
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api-dev.myemipay.com/application/kyc/pan' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
  "pan": "",
  "redirectUrl": "{{kycRedirectReturnUrl}}"
}'
Response Response Example
200 - DigiLocker pending
{
  "success": true,
  "message": "OK",
  "data": {
    "status": "pending",
    "url": "https://trulens.in/digilocker"
  }
}
Modified at 2026-10-13 20:32:24
Previous
Unfinished advance
Next
PAN KYC status
Built with