1. Home
  2. APIs
  3. Bank & UPI

Reverse penny drop API

Customer pays ₹1 by UPI; you get their verified bank details.

Mode: UPI intent + webhook
Checked against: NPCI UPI

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

  1. You create a request; we return a UPI intent link and QR code.
  2. The user taps the link (mobile) or scans the QR, and pays ₹1 from any UPI app.
  3. We read the payer’s account number, IFSC and name from the payment.
  4. The ₹1 is refunded automatically, and the result is posted to your webhook.

Request

FieldDescription
reference_idYour own reference
webhook_urlWhere 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"}'

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.

FieldTypeMeaning
request_idstringTrack the request.
upi_intentstringupi:// link to open on mobile.
qr_codestringBase64 PNG for desktop flows.
result.account_number, ifsc, namestringPayer bank details (webhook).
result.refund_statusenumREFUNDED 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.

ValueReturns
cust_10442Intent created

Run these in the playground

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.

Often used with