Enkash Developer Portal
Home
Home
Login
  1. Payment
  • Back to home
  • Vendor Payment
  • APIs
    • Business Onboarding
      • Initiate Entity Check
      • Register Entity
      • Bharat Connect B2B ID Registration
      • Search Entity
    • Invoice
      • Create Invoice
      • Confirm Invoice
      • Change Invoice Status
      • Edit Invoice
    • Payment
      • Pay Invoice
      • Payment Confirmation
    • Purchase Order
      • Send Purchase Order Request
      • Confirm Purchase Order
      • Edit Purchase Order
      • Change Purchase Order Status
    • Credit Note
      • Send C/N Request
      • Confirm C/N Request
      • Status Change C/N Request
    • Financing
      • Request Financing
      • Share Bid
      • Respond To Bid
  • Webhook
    • 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 Confirmation Request Webhook

POST
api/v0/payment/req-pay-confirmation

Request

Body Params application/json

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 '{
    "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"
                }
            }
        ]
    }
}'

Responses

🟢200Success
application/json
Body

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 2025-07-06 06:23:44
Previous
Payment Request Webhook
Next
Send C/N RequestWebhook
Built with