Webhook Payment Request
POST
api/v0/payment/req-payRequest
Body Params application/json
device
object
required
tag
object
required
b2bIds
object
required
buyerB2BId
string
required
Match pattern:
^([^\\\"]){1,100}$
supplierB2BId
string
required
Match pattern:
^([^\\\"]){1,100}$
payment
object
required
objectId
string
required
Match pattern:
^[PMT]{3}[A-Za-z0-9]{32,32}$
ts
string
required
type
enum<string>
required
Allowed values:
ONPLATFORMOFFPLATFORM
mode
enum<string>
required
Allowed values:
INTERNET BANKINGDEBIT CARDCREDIT CARDIMPSCASHUPIWALLETNEFTPREPAID CARDACCOUNT TRANSFERCHEQUE
utr
string
required
Match pattern:
^([^\\\"]){1,50}$
currency
enum<string>
required
Allowed value:
INR
paymentAmount
object
required
invoicesPayInfos
array [object {7}]
required
additionalInfos
array [object {2}]
optional
name
string
optional
value
string
optional
Example
{
"device": {
"tag": {
"name": "GEOCODE",
"value": "string"
}
},
"b2bIds": {
"buyerB2BId": "string",
"supplierB2BId": "string"
},
"payment": {
"objectId": "string",
"ts": "string",
"type": "ONPLATFORM",
"mode": "INTERNET BANKING",
"utr": "string",
"currency": "INR",
"paymentAmount": {
"netPaidAmount": 0,
"netAdjustmentAmount": 0,
"totalAmount": 0,
"currency": "INR"
},
"invoicesPayInfos": [
{
"objectId": "string",
"supplierInvoiceNumber": "string",
"objectVersion": {
"currentVersion": 1,
"newVersion": 1
},
"statusTransition": {
"currentStatus": "CREATED",
"newStatus": "CREATED"
},
"invoiceAmount": {
"dueAmount": 0,
"totalAmount": 0,
"currency": "INR"
},
"invoicePaymentAmount": {
"netPaidAmount": 0,
"netAdjustmentAmount": 0,
"totalAmount": 0,
"currency": "INR",
"splits": [
{
"name": "string",
"value": 0,
"refNo": "string"
}
]
},
"supplierBankAccountDetails": {
"maskedAccountNumber": "string",
"ifsc": "string",
"beneficiaryName": "string",
"businessVPA": "string"
}
}
]
},
"additionalInfos": [
{
"name": "string",
"value": "string"
}
]
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
response_code
integer
required
response_message
string
required
payload
object (PaymentResponse)
required
resp
object
required
b2bIds
object
required
payment
object
required
additionalInfos
array [object {2}]
required
Example
Not configured
Last modified: 3 months ago