- 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 Response
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 ''
Responses
🟢200Success
application/json
Body
payload
stringÂ
required
response_code
integerÂ
required
response_message
stringÂ
required
Example
{
"payload": "string",
"response_code": 0,
"response_message": "string"
}
Modified at 2024-10-10 08:29:16