curl --request POST \
--url https://api.sandbox.co.in/bank/virtual/accounts/{account_number}/payments/payin/upi/collect \
--header 'Content-Type: application/json' \
--data '
{
"@entity": "<string>",
"payer": {
"@entity": "<string>",
"name": "<string>",
"bank_account": {
"@entity": "<string>",
"upi_id": "<string>"
}
},
"amount": 123,
"payment_details": {
"@entity": "<string>",
"description": "<string>"
}
}
'{
"timestamp": 123,
"transaction_id": "<string>",
"data": {
"id": "<string>",
"description": "<string>",
"created_at": 123,
"@entity": "<string>",
"notes": {},
"payer": {
"@entity": "<string>",
"name": "<string>",
"bank_account": {
"@entity": "<string>",
"notes": {},
"upi_id": "<string>"
}
},
"payee": {
"@entity": "<string>",
"name": "<string>",
"bank_account": {
"@entity": "<string>",
"account_number": "<string>",
"ifsc": "<string>",
"notes": {},
"upi_id": "<string>"
}
},
"status": "<string>",
"mode": "<string>",
"type": "<string>",
"amount": 123,
"fee": 123,
"tax": 123
},
"code": 123
}Generate UPI Collect Pay Request API allows you to initiate a UPI collect pay request for a virtual account
curl --request POST \
--url https://api.sandbox.co.in/bank/virtual/accounts/{account_number}/payments/payin/upi/collect \
--header 'Content-Type: application/json' \
--data '
{
"@entity": "<string>",
"payer": {
"@entity": "<string>",
"name": "<string>",
"bank_account": {
"@entity": "<string>",
"upi_id": "<string>"
}
},
"amount": 123,
"payment_details": {
"@entity": "<string>",
"description": "<string>"
}
}
'{
"timestamp": 123,
"transaction_id": "<string>",
"data": {
"id": "<string>",
"description": "<string>",
"created_at": 123,
"@entity": "<string>",
"notes": {},
"payer": {
"@entity": "<string>",
"name": "<string>",
"bank_account": {
"@entity": "<string>",
"notes": {},
"upi_id": "<string>"
}
},
"payee": {
"@entity": "<string>",
"name": "<string>",
"bank_account": {
"@entity": "<string>",
"account_number": "<string>",
"ifsc": "<string>",
"notes": {},
"upi_id": "<string>"
}
},
"status": "<string>",
"mode": "<string>",
"type": "<string>",
"amount": 123,
"fee": 123,
"tax": 123
},
"code": 123
}200
Show child attributes
Show child attributes
Was this page helpful?