Skip to main content
POST
/
bank
/
virtual
/
accounts
/
{account_number}
/
payments
/
payin
/
upi
/
collect
Collect UPI Pay Request
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
}

Headers

x-api-key
string
Authorization
string

Path Parameters

account_number
string
required

Body

application/json
@entity
string
payer
object
amount
integer
payment_details
object

Response

200 - application/json

200

timestamp
integer
transaction_id
string
data
object
code
integer