- 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 Confirmation Response Webhook
POST
/api/v0/payment/resp-pay-confirmation
Request
Body Params application/json
resp
object (Resp)
required
reqMsgId
string
required
result
string
required
errorCd
string
optional
errorDtl
string
optional
errorField
string
optional
b2bIds
object (NbblB2BIdsModel)
required
buyerB2BId
string
required
Match pattern:
^([^\\\"]){1,100}$
supplierB2BId
string
required
Match pattern:
^([^\\\"]){1,100}$
paymentConfirmation
object (PaymentConfirmation)
required
objectId
string
required
payment transaction as per
ReqPay
Match pattern:
^[PMT]{3}[A-Za-z0-9]{32,32}$
ts
string
required
type
enum<string>
required
Allowed values:
OFFPLATFORMONPLATFORM
supplierResponse
enum<string>
required
Rule: REJECT is only for
offplatform payment
Allowed values:
ACCEPTREJECT
supplierRemarks
string
required
Match pattern:
^([^\\\"]){1,100}$
invoiceInfos
array[object (InvoiceInfo) {4}]
required
additionalInfo
array[object (AdditionalInfo) {2}]
optional
name
string
optional
value
string
optional
Example
{
"resp": {
"reqMsgId": "string",
"result": "string",
"errorCd": "string",
"errorDtl": "string",
"errorField": "string"
},
"b2bIds": {
"buyerB2BId": "string",
"supplierB2BId": "string"
},
"paymentConfirmation": {
"objectId": "string",
"ts": "string",
"type": "OFFPLATFORM",
"supplierResponse": "ACCEPT",
"supplierRemarks": "string",
"invoiceInfos": [
{
"objectId": "string",
"supplierInvoiceNumber": "string",
"objectVersion": {
"currentVersion": 1,
"newVersion": 1
},
"statusTransition": {
"currentStatus": "CREATED",
"newStatus": "CREATED"
}
}
]
},
"additionalInfo": [
{
"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-confirmation' \
--header 'Content-Type: application/json' \
--data-raw '{
"resp": {
"reqMsgId": "string",
"result": "string",
"errorCd": "string",
"errorDtl": "string",
"errorField": "string"
},
"b2bIds": {
"buyerB2BId": "string",
"supplierB2BId": "string"
},
"paymentConfirmation": {
"objectId": "string",
"ts": "string",
"type": "OFFPLATFORM",
"supplierResponse": "ACCEPT",
"supplierRemarks": "string",
"invoiceInfos": [
{
"objectId": "string",
"supplierInvoiceNumber": "string",
"objectVersion": {
"currentVersion": 1,
"newVersion": 1
},
"statusTransition": {
"currentStatus": "CREATED",
"newStatus": "CREATED"
}
}
]
},
"additionalInfo": [
{
"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:19