Reverse penny drop API
Customer pays ₹1 by UPI; you get their verified bank details.
Overview
Generate a UPI intent or QR. When the customer pays ₹1 from their app, we capture the account number, IFSC and name from the payment and refund the rupee. No typing, no typos.
POST/v1/verify/reverse-penny-drop
Where it’s used
- Mobile-first onboarding
- Lending repayment mandates
- Trading account bank linking
How the check runs
- You create a request; we return a UPI intent link and QR code.
- The user taps the link (mobile) or scans the QR, and pays ₹1 from any UPI app.
- We read the payer’s account number, IFSC and name from the payment.
- The ₹1 is refunded automatically, and the result is posted to your webhook.
Request
| Field | Description |
|---|---|
reference_id | Your own reference |
webhook_url | Where we post the result |
curl -X POST https://api.yetlix.com/v1/verify/reverse-penny-drop \
-H "x-client-id: $YETLIX_CLIENT_ID" \
-H "x-client-secret: $YETLIX_CLIENT_SECRET" \
-H "Content-Type: application/json" \
-d '{"reference_id":"cust_10442","webhook_url":"https://app.example.com/hooks/rpd"}'
{
"status": "success",
"request_id": "req_7Hq2kD91",
"data": {
"request_id": "rpd_91ab",
"upi_intent": "upi://pay?pa=verify@yetlix&am=1.00&tr=rpd_91ab",
"expires_in": 600
}
}
Response fields
Inside the data object. The envelope (status, request_id, billable, timestamp) is the same for every API and is described in the docs.
| Field | Type | Meaning |
|---|---|---|
request_id | string | Track the request. |
upi_intent | string | upi:// link to open on mobile. |
qr_code | string | Base64 PNG for desktop flows. |
result.account_number, ifsc, name | string | Payer bank details (webhook). |
result.refund_status | enum | REFUNDED or PENDING. |
Outcomes and what to do
Every check can end in a handful of ways. Decide up front what your product does in each case, so nothing falls through to a support ticket.
COMPLETED
User paid, details captured.
Do this: Save the bank account as verified.
EXPIRED
User didn’t pay within the window.
Do this: Offer a retry or manual entry with penny drop.
Sandbox test values
Send these values in reference_id with your sandbox key to get each result. Anything else returns INVALID_INPUT in sandbox.
| Value | Returns |
|---|---|
cust_10442 | Intent created |
Best practices
- Best for mobile: no typing, no typos, and the account is guaranteed to be one the user controls.
Compliance note. The user actively initiates the payment, which is strong evidence of account ownership.
Frequently asked
What if the user pays from someone else’s account?
You’ll see a different name in the result. Compare it with your KYC name before accepting.