const crypto = require('crypto');
const signature = crypto.createHmac('sha256', signatureKey) .update(JSON.stringify(data)).digest('hex');
{
"id": "1a719ef2-9f87-4825-9e78-c0b7d99cd345",
"merchant_id": "577311c7-9788-4ec1-8501-86ae69b134e6",
"status": "RETURNED",
"wire_id": "w_txn_099c65b90c504f2cb285f3dc9c3ad3e1",
"order_id": "payout_123456",
"due_date": "2025-09-19T00:00:00.000Z",
"last_action": null,
"original_amount": "1",
"payee_name": "Ek",
"currency": "AUD",
"beneficiary": "Ek",
"beneficiary_bank": "au_bank_payid",
"beneficiary_account_number": null,
"beneficiary_account_iban": null,
"wire_origin": null,
"conversion": null,
"approval": "APPROVED",
"created_at": "2025-09-18T09:31:00.000Z",
"updated_at": "2025-09-18T09:31:52.000Z",
"approved_at": null,
"denied_at": null,
"pending_at": null,
"type": "PAYOUT"
}
curl --location --request POST 'https://api.paycombat.comurl_webhook_merchant' \
--header 'X-Signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "1a719ef2-9f87-4825-9e78-c0b7d99cd345",
"merchant_id": "577311c7-9788-4ec1-8501-86ae69b134e6",
"status": "RETURNED",
"wire_id": "w_txn_099c65b90c504f2cb285f3dc9c3ad3e1",
"order_id": "payout_123456",
"due_date": "2025-09-19T00:00:00.000Z",
"last_action": null,
"original_amount": "1",
"payee_name": "Ek",
"currency": "AUD",
"beneficiary": "Ek",
"beneficiary_bank": "au_bank_payid",
"beneficiary_account_number": null,
"beneficiary_account_iban": null,
"wire_origin": null,
"conversion": null,
"approval": "APPROVED",
"created_at": "2025-09-18T09:31:00.000Z",
"updated_at": "2025-09-18T09:31:52.000Z",
"approved_at": null,
"denied_at": null,
"pending_at": null,
"type": "PAYOUT"
}'
{}