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

    PII tools

    Live encrypt and decrypt inside Apidog. PAN, Aadhaar and bank account numbers travel as e1. blobs (AES-256-GCM, key PII_CIPHER_KEY, base64 of 32 bytes). Stored forms are v1 PAN, a1 Aadhaar, p1 phone, b1 bank account, x1 KYC XML.
    Setup: put the key in the environment variable piiCipherKey (a secret variable). Nothing else is needed.
    Automatic. The collection pre-processor seals {{pan}} and {{aadhaar}} into {{panSealed}} and {{aadhaarSealed}} before POST /application/kyc. The post-processor opens every sealed value in every response, prints the clear JSON in the console, keeps it in lastDecrypted, and captures clear values (for example pan) for the next call. With no key set, requests still work and sealed values stay sealed.
    This folder has no endpoints.
    Manual. One-off encrypt and decrypt are on the API Console PII tab. Set piiInput and piiFormat, then read piiOutput. A new key is written to piiNewKey.
    Modified at 2026-11-04 21:33:56
    Previous
    Read collection request
    Next
    Encrypt a value
    Built with