Payonclick Developer Docs
v1

PPI Wallet — Wallet-to-Bank Transfer

Money transfer to any bank account from a prepaid (PPI) wallet opened in the customer’s name. The customer is verified by OTP, completes a one-time Aadhaar + PAN eKYC, saves beneficiaries, and then sends IMPS/NEFT transfers. Your wallet (Main or AEPS, chosen per transfer) funds the customer wallet and pays the service charge.

Base: /ext/v1/ppi Permission: ppi Wallet: Main or AEPS (per transfer) Per transfer: ₹100 – ₹50,000, whole rupees Customer session: 40 minutes after OTP Transfer OTP: valid 10 minutes → transfer_token Idempotency: client_reference on /transfer/otp
⚠️
A failed transfer keeps the amount in the customer wallet

The bank network returns a failed or reversed transfer to the customer’s PPI wallet, not to yours. Only the service charge comes back to your wallet (status: refunded). The amount is spent first by that customer’s next transfer, so you are never charged twice for the same rupees: the next /transfer/otp quote shows from_customer_wallet.

📘
Two funding modes, read it from /info

load_mode: auto (the default): a transfer tops up the customer wallet by whatever it lacks of the amount, and your wallet is debited that top-up plus the charge. load_mode: manual: deposit to the customer wallet first with POST /sender/{mobile}/deposits; a transfer then debits the charge only and answers 402 LOAD_REQUIRED with the shortfall when the wallet cannot cover it.

📘
Flow codes you will see

410 TOKEN_EXPIRED — the customer’s 40-minute session ended: repeat /sender/otp and /sender/verify. 410 INVALID_TRANSFER_TOKEN — the 10-minute transfer window ended: call /transfer/otp again. 403 KYC_REQUIRED — the wallet is not fully KYC-verified yet. 409 COOLING — a new beneficiary is in its cooling period; cooling_left is the seconds left. 409 BENE_OTP_PENDING — verify the beneficiary OTP first. 402 LOW_BALANCE — neither of your wallets covers the debit; pay lists both balances. 409 IN_PROGRESS — this transfer_token is already running.

Integration flow

1
/sender/otp
1. Send the customer an OTP.
2
/sender/verify
2. Verify it. A customer with an active wallet is ready; a new one goes through KYC.
3
/sender/{mobile}/kyc/*
3. New customer only: consent → Aadhaar OTP (or fingerprint) → PAN. Done once.
4
/sender/{mobile}/beneficiaries
4. Add the bank account (OTP-verified), or list the saved ones.
5
/transfer/otp
5. Quote + OTP to the customer. You get a transfer_token.
6
/transfer
6. Run it with the OTP and your TPIN.
7
/transfer/{request_id}
7. Poll, or take the ppi.* webhook.

Endpoints

Rules

Sender (Customer)

KYC (new customer)

Beneficiaries

Deposits (manual load mode)

Transfer