- EnKash Developer Portal Overview
- Payment Gateway
- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment Gateway APIs
- Web Integration
- Server to Server Integration
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Bharat Connect (BBPS)
- About Bharat Connect
- B2B Invoicing
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook 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
- Bill Payments
- Payouts
- Accounts Payable Management Tool
- Account Receivable
- Expense Management
- Loyalty
- Card Management
- Verification Suite
Webhook Payment Confirmation Request
POST
api/v0/payment/req-pay-confirmation
Request
Body Params application/json
device
object (Device)Â
required
tag
object (Tag)Â
required
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
Example
{
"device": {
"tag": {
"name": "GEOCODE",
"value": "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"
}
}
]
}
}
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/req-pay-confirmation' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
response_code
integer <int32>
optional
response_message
stringÂ
optional
payload
object (PaymentConfirmationResponse)Â
optional
resp
object (Resp)Â
required
b2bIds
object (NbblB2BIdsModel)Â
required
paymentConfirmation
object (PaymentConfirmation)Â
required
additionalInfo
array[object (AdditionalInfo) {2}]Â
optional
Example
{
"response_code": 0,
"response_message": "string",
"payload": {
"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"
}
]
}
}
Modified at 2024-10-10 08:29:16