- APIs
- Webhooks
- Business Onboarding
- Invoice
- Payment
- Credit Note
- Purchase Order
- Send Purchase Order Request Webhook
- Send Purchase Order Response Webhook
- Confirm Purchase Order Request Webhook
- Confirm Purchase Order Response Webhook
- Edit Purchase Order Request Webhook
- Edit Purchase Order Response Webhook
- Status Change Purchase Order Request Webhook
- Status Change Purchase Order Response Webhook
- Financing
Payment Response Webhook
POST
api/v0/payment/resp-pay
Request
Body Params application/json
resp
object
required
reqMsgId
string
required
result
string
required
errorCd
string
required
errorDtl
string
required
errorField
string
required
b2bIds
object
required
buyerB2BId
string
required
supplierB2BId
string
required
payment
object
required
objectId
string
required
ts
string
required
type
string
required
mode
string
required
utr
string
required
currency
string
required
paymentAmount
object
required
invoicesPayInfos
array [object {7}]
required
additionalInfos
array [object {2}]
required
name
string
optional
value
string
optional
Example
{
"resp": {
"reqMsgId": "string",
"result": "string",
"errorCd": "string",
"errorDtl": "string",
"errorField": "string"
},
"b2bIds": {
"buyerB2BId": "string",
"supplierB2BId": "string"
},
"payment": {
"objectId": "string",
"ts": "string",
"type": "string",
"mode": "string",
"utr": "string",
"currency": "string",
"paymentAmount": {
"netPaidAmount": 0,
"netAdjustmentAmount": 0,
"totalAmount": 0,
"currency": "string"
},
"invoicesPayInfos": [
{
"objectId": "string",
"supplierInvoiceNumber": "string",
"objectVersion": {
"currentVersion": 0,
"newVersion": 0
},
"statusTransition": {
"currentStatus": "string",
"newStatus": "string"
},
"invoiceAmount": {
"dueAmount": 0,
"totalAmount": 0,
"currency": "string"
},
"invoicePaymentAmount": {
"netPaidAmount": 0,
"netAdjustmentAmount": 0,
"totalAmount": 0,
"currency": "string",
"splits": [
{
"name": "string",
"value": 0,
"refNo": "string"
}
]
},
"supplierBankAccountDetails": {
"maskedAccountNumber": "string",
"ifsc": "string",
"beneficiaryName": "string",
"businessVPA": "string"
}
}
]
},
"additionalInfos": [
{
"name": "string",
"value": "string"
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'api/v0/payment/resp-pay' \
--header 'Content-Type: application/json' \
--data-raw '{
"resp": {
"reqMsgId": "string",
"result": "string",
"errorCd": "string",
"errorDtl": "string",
"errorField": "string"
},
"b2bIds": {
"buyerB2BId": "string",
"supplierB2BId": "string"
},
"payment": {
"objectId": "string",
"ts": "string",
"type": "string",
"mode": "string",
"utr": "string",
"currency": "string",
"paymentAmount": {
"netPaidAmount": 0,
"netAdjustmentAmount": 0,
"totalAmount": 0,
"currency": "string"
},
"invoicesPayInfos": [
{
"objectId": "string",
"supplierInvoiceNumber": "string",
"objectVersion": {
"currentVersion": 0,
"newVersion": 0
},
"statusTransition": {
"currentStatus": "string",
"newStatus": "string"
},
"invoiceAmount": {
"dueAmount": 0,
"totalAmount": 0,
"currency": "string"
},
"invoicePaymentAmount": {
"netPaidAmount": 0,
"netAdjustmentAmount": 0,
"totalAmount": 0,
"currency": "string",
"splits": [
{
"name": "string",
"value": 0,
"refNo": "string"
}
]
},
"supplierBankAccountDetails": {
"maskedAccountNumber": "string",
"ifsc": "string",
"beneficiaryName": "string",
"businessVPA": "string"
}
}
]
},
"additionalInfos": [
{
"name": "string",
"value": "string"
}
]
}'
Responses
🟢200Success
application/json
Body
payload
string
required
response_code
integer
required
response_message
string
required
Example
{
"payload": "SUCCESS",
"response_code": 0,
"response_message": "SUCCESS"
}
Modified at 2025-07-06 06:23:03