My EMI Pay
  1. Profile
  • 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. Profile

Record area pincode from location

POST
https://api-dev.myemipay.com/application/geolocation
Profile
Last modified:2026-11-13 07:18:36
x-auth:Bearer access token
x-called-from:when the customer confirms location during onboarding, and again when they take an advance.
x-details:body is `{ latitude, longitude, purpose }` (`lat` / `lng` also work). Latitude must be 6.0 to 38.0 and longitude 68.0 to 98.0. Outside that box → `422 validation_failed` with `Latitude must be between 6.0 and 38.0, and Longitude between 68.0 and 98.0 (India territorial boundaries).` The lookup does not run. `purpose` is `onboarding` or `advance`. `200` is `{ pincode, office, district, state, distanceMeters, serviceable: true }` only when the location pincode equals the pincode on the saved address and that pin is in `service_pincodes`. Google results leave `office` and `distanceMeters` empty. That success writes a `customer_geolocations` row for the purpose. If the address pincode is not supported, the application is rejected (`422 ineligible`) and nothing is stored. A pin mismatch → `422 validation_failed`. No pincode for the coordinates → `404 not_found`. Lookup down → `502 provider_failed`.
x-errors:[{"meaning":"unauthorized: Authorization required","status":401},{"meaning":"validation_failed: Please check the request and try again.","status":422}]
x-next:`GET /application/profile` to read the saved pin.
x-order:0
x-section:location
x-when:body is `{ latitude, longitude, purpose }` (`lat` / `lng` also work).
saves the customer's device location during onboarding or while taking an advance.

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

🟢200Nearest office
application/json
Nearest office
Bodyapplication/json

🟠401Unauthorized
🟠422Enter a latitude and longitude.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api-dev.myemipay.com/application/geolocation' \
--header 'Idempotency-Key: idem-sample-1' \
--header 'If-Match: 3' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "latitude": 12.9136,
    "longitude": 77.649,
    "purpose": "onboarding"
}'
Response Response Example
200 - Nearest office
{
    "data": {
        "distanceMeters": 1285,
        "district": "Bengaluru Urban",
        "office": "HSR Layout S.O",
        "pincode": "560102",
        "sameLocation": true,
        "serviceable": true,
        "state": "Karnataka"
    },
    "message": "OK",
    "success": true
}
Modified at 2026-11-13 07:18:36
Previous
Profile
Next
Get customer profile
Built with