API Documentation
  1. Webhook
API Documentation
  • Checkout Page
  • Payin - KRW (Server to Server)
  • Purpose Code
  • API Documentation
    • Master Data
      • Get All Country & Currency Code
    • Payin Method
      • Get All Payin Method
      • Get Required Fields by Payin method
    • Payout Method
      • Get Required Fields by Payout method
      • Get All Payout Method
    • Payout Beneficiary
      • Create Payout Beneficiary
      • Update Payout Beneficiary
      • Get All Payout Beneficiary
      • Get Payout Beneficiary by Id
      • Validation by Id
      • Validation by Body
    • Payin
      • Create Payin
      • Simulate Payin
      • Retrieve Payin
      • Retrieve Payin Memo (PDF)
      • Create Virtual Account
    • Payout
      • Create Payout
      • Simulate Payout
      • Retrieve Payout Memo (PDF)
      • Retrieve Payout
      • Get All Payout
    • Checkout
      • Create Payment Request
      • Get All Checkout
      • Get Detail Checkout
      • Cancel Checkout
      • Get VA Bank Information [KRW]
      • Create New Checkout
    • Transaction
      • Find Transaction by Id
      • Get All Transaction
    • Wallet
      • Create Wallet
      • Get All Wallet
      • Get by Wallet Id
    • Customer
      • Create Customer
      • Update Customer
      • Get All Customer
      • Get Detail Customer by Id
      • Check Is Customer Wallet Ready
      • Enable Customer
      • Disable Customer
      • Delete Customer
    • Webhook
      • Webhook PAYIN SUCCESS
        POST
      • Webhook PAYIN FAILED
        POST
      • Webhook PAYOUT SUCCESS
        POST
      • Webhook PAYOUT FAILED
        POST
      • VA Register Callback
        POST
    • Get List Payment Method by Currency
      GET
  • Features Documentation
    • Dashboard
    • Transaction
      • Payin
      • Payout
      • Rolling Reserve
      • Refund Request
    • Finance
      • Settlement Report APM
      • Settlement Report CARD
      • History Balance APM
      • History Balance CARD
    • Account
      • Profile Account
      • Manage Users
    • Setting
      • Integration Details
  • Payload Sample
    • Payout Payload Example
  1. Webhook

Webhook PAYIN FAILED

Developing
POST
merchant_url_here
Each POST/PATCH Request requires a Signature in the header, you can follow the following code to create the Signature:
const crypto = require('crypto'); const signature = crypto.createHmac('sha256', signatureKey) .update(JSON.stringify(data)).digest('hex');

Request

Header Params
X-Signature
string 
optional
Body Params application/json
id
string 
required
merchant_id
string 
required
status
string 
required
wire_id
string 
required
order_id
null 
required
due_date
string 
required
last_action
null 
required
original_amount
string 
required
payee_name
string 
required
currency
string 
required
beneficiary
string 
required
beneficiary_bank
string 
required
beneficiary_account_number
null 
required
beneficiary_account_iban
null 
required
wire_origin
null 
required
conversion
null 
required
approval
string 
required
created_at
string 
required
updated_at
string 
required
approved_at
null 
required
denied_at
null 
required
pending_at
null 
required
type
string 
required
Example
{
  "id": "e3e229ca-a38f-4af0-95a0-89732c815045",
  "merchant_id": "a1fe780b-94cb-4f6a-966c-ceefeb6ca3b0",
  "status": "FAILED",
  "wire_id": "w_txn_59376ed600464042b37e53625297fb00",
  "order_id": null,
  "due_date": "2025-05-16T00:00:00.000Z",
  "last_action": null,
  "original_amount": "31",
  "payee_name": "Fajar NZD",
  "currency": "NZD",
  "beneficiary": "Fajar NZD",
  "beneficiary_bank": "nz_bank_directcredit_nzd",
  "beneficiary_account_number": null,
  "beneficiary_account_iban": null,
  "wire_origin": null,
  "conversion": null,
  "approval": "FAILED",
  "created_at": "2025-05-15T04:15:38.000Z",
  "updated_at": "2025-05-15T04:16:08.000Z",
  "approved_at": null,
  "denied_at": null,
  "pending_at": null,
  "type": "PAYOUT"
}

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 'https://api.paycombat.commerchant_url_here' \
--header 'X-Signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "e3e229ca-a38f-4af0-95a0-89732c815045",
  "merchant_id": "a1fe780b-94cb-4f6a-966c-ceefeb6ca3b0",
  "status": "FAILED",
  "wire_id": "w_txn_59376ed600464042b37e53625297fb00",
  "order_id": null,
  "due_date": "2025-05-16T00:00:00.000Z",
  "last_action": null,
  "original_amount": "31",
  "payee_name": "Fajar NZD",
  "currency": "NZD",
  "beneficiary": "Fajar NZD",
  "beneficiary_bank": "nz_bank_directcredit_nzd",
  "beneficiary_account_number": null,
  "beneficiary_account_iban": null,
  "wire_origin": null,
  "conversion": null,
  "approval": "FAILED",
  "created_at": "2025-05-15T04:15:38.000Z",
  "updated_at": "2025-05-15T04:16:08.000Z",
  "approved_at": null,
  "denied_at": null,
  "pending_at": null,
  "type": "PAYOUT"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
🟠400Bad Request
Previous
Webhook PAYIN SUCCESS
Next
Webhook PAYOUT SUCCESS