curl -X POST 'api.rzp.<bank>.com/v1/upi/tpap/fundsources/:fundsource_id/balance' \
-u [YOUR_KEY_ID]:[YOUR_SECRET] \
-H "Content-type: application/json" \
-H "x-device-fingerprint: <device_fingerprint>" \
-H "x-device-fingerprint-timestamp: 1496918882000" \
-H "x-customer-reference: customer-id-from-customer" \
-d '{
"upi_credentials":{
// credentials received from WebCL
},
"upi_transaction_id":"123qwert12",
"vpa":"abc@upiexample",
"device":{
"geocode":"1234.1213",
"ip":"198.1.1.1"
}
}'
{
"entity":"upi.fundsource.balance",
"fundsource_id":"string",
"currency":"string",
"amount":"80000",
"customer_reference":"SKALq2p",
"upi_transaction_id":"TxnSLALQPl",
"vpa":"string",
"masked_account_number":"XXXXXXXXX1234",
"upi_iin":"12MWKO02"
}
Check Balance of a Payment Source
Check balance of a payment source using the Razorpay TPAP Pro API.
POST
/
v1
/
upi
/
tpap
/
fundsources
/
:fundsource_id
/
balance
curl -X POST 'api.rzp.<bank>.com/v1/upi/tpap/fundsources/:fundsource_id/balance' \
-u [YOUR_KEY_ID]:[YOUR_SECRET] \
-H "Content-type: application/json" \
-H "x-device-fingerprint: <device_fingerprint>" \
-H "x-device-fingerprint-timestamp: 1496918882000" \
-H "x-customer-reference: customer-id-from-customer" \
-d '{
"upi_credentials":{
// credentials received from WebCL
},
"upi_transaction_id":"123qwert12",
"vpa":"abc@upiexample",
"device":{
"geocode":"1234.1213",
"ip":"198.1.1.1"
}
}'
{
"entity":"upi.fundsource.balance",
"fundsource_id":"string",
"currency":"string",
"amount":"80000",
"customer_reference":"SKALq2p",
"upi_transaction_id":"TxnSLALQPl",
"vpa":"string",
"masked_account_number":"XXXXXXXXX1234",
"upi_iin":"12MWKO02"
}
Available in🇮🇳 India
Use this endpoint to check the balance of a payment source.
curl -X POST 'api.rzp.<bank>.com/v1/upi/tpap/fundsources/:fundsource_id/balance' \
-u [YOUR_KEY_ID]:[YOUR_SECRET] \
-H "Content-type: application/json" \
-H "x-device-fingerprint: <device_fingerprint>" \
-H "x-device-fingerprint-timestamp: 1496918882000" \
-H "x-customer-reference: customer-id-from-customer" \
-d '{
"upi_credentials":{
// credentials received from WebCL
},
"upi_transaction_id":"123qwert12",
"vpa":"abc@upiexample",
"device":{
"geocode":"1234.1213",
"ip":"198.1.1.1"
}
}'
{
"entity":"upi.fundsource.balance",
"fundsource_id":"string",
"currency":"string",
"amount":"80000",
"customer_reference":"SKALq2p",
"upi_transaction_id":"TxnSLALQPl",
"vpa":"string",
"masked_account_number":"XXXXXXXXX1234",
"upi_iin":"12MWKO02"
}
Query Parameters
Request Parameters
The unique identifier of the transaction across all entities, created by the originator.
Response Parameters
Last modified on November 27, 2026
Was this page helpful?