Skip to main content
Available in🇮🇳 India
Customers can pay on UPI from more than a bank account. In their UPI app, they can choose a RuPay credit card, a credit line or a prepaid wallet linked to UPI. You do not send anything extra in the payment request. The customer chooses the fund source in their UPI app. Create the payment as you do for UPI Intent, UPI Collect or UPI QR. Razorpay returns the fund source on the payment after the customer pays.

Fund Sources

The payer_account_type field in the upi object of the payment tells you the fund source.

Where to Find the Fund Source

Read upi.payer_account_type from either of the following: It is never a part of the payment request.

Sample Payloads

payment.captured

Interest-Bearing and Non-Interest-Bearing Credit Lines

NPCI has split Credit Line on UPI into interest-bearing and non-interest-bearing credit lines. You may need to tell them apart for reconciliation, to verify the MDR charged and for accounting.
  • payer_account_type is credit_line for every credit line payment. It does not tell you the type of the credit line.
  • The credit_line object in the upi object carries the type. credit_line.type is interest_bearing or non_interest_bearing. The object is present only when payer_account_type is credit_line.
  • The credit_line object is returned in the response of the Fetch a Payment API and in the payment.captured and payment.failed webhook events.

Test Mode

You cannot test payments from a credit card, a credit line or a wallet in Test Mode. A test payment always has payer_account_type as bank_account. Verify these fund sources with a live payment.
Last modified on December 1, 2026