Enkash Developer Portal
HomePayment GatewayPayoutsCreate Account
HomePayment GatewayPayoutsCreate Account
Login
  1. Payment
  • Back to home
  • Vendor Payment
  • APIs
    • Business Onboarding
      • Initiate Entity Check
      • Register Entity
      • Registration ID
      • Search Entity
    • Invoice
      • Create Invoice
      • Confirm Invoice
      • Status Change Invoice
      • Edit Invoice
    • Payment
      • Pay Invoices
      • Payment Confirmation
    • Purchase Order
      • Send Purchase Order Request
      • Confirm Purchase Order Request
      • Edit Purchase Order Request
      • Status Change Purchase Order Request
    • Credit Note
      • Send CdNote Request
      • Confirm CdNote Request
      • Status Change CdNote Request
    • Financing
      • Request Financing
      • Share Bid
      • Respond Bid
  • Webhooks
    • Business Onboarding
      • Check Entity Webhook
      • Entity Registration Response Webhook
      • Search Entity Response Webhook
      • Registration ID Response Webhook
    • Invoice
      • Create Invoice Request Webhook
      • Create Invoice Response Webhook
      • Confirm Invoice Request Webhook
      • Confirm Invoice Response Webhook
      • Status Change Invoice Request
      • Status Change Invoice Response Webhook
      • Edit Invoice Request Webhook
      • Edit Invoice Response Webhook
    • Payment
      • Payment Response Webhook
        POST
      • Payment Confirmation Response Webhook
        POST
      • Payment Request Webhook
        POST
      • Payment Confirmation Request Webhook
        POST
    • Credit Note
      • Send C/N RequestWebhook
      • Send C/N Response Webhook
      • Confirm C/N Request Webhook
      • Confirm C/N Response Webhook
      • Status Change C/N Request Webhook
      • Status Change C/N Response Webhook
    • 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
      • Financing Response Webhook
      • Respond Bid Response Webhook
      • Share Bid Request Webhook
  1. Payment

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
Previous
Edit Invoice Response Webhook
Next
Payment Confirmation Response Webhook
Built with