const crypto = require('crypto');
const signature = crypto.createHmac('sha256', signatureKey) .update(JSON.stringify(data)).digest('hex');{
"id": "ee52934e-2a21-428b-a789-5a775afb49b8",
"type": "PAYOUT",
"status": "RETURNED",
"wire_id": "w_txn_bfb29d0f8f864847b2ae0d1cfa89bc78",
"approval": "APPROVED",
"currency": "AUD",
"due_date": "2026-01-10T00:00:00.000Z",
"order_id": "payout_123456",
"denied_at": null,
"conversion": null,
"created_at": "2026-01-09T02:52:38.000Z",
"payee_name": "Test",
"pending_at": null,
"updated_at": "2026-01-09T02:53:06.000Z",
"approved_at": null,
"beneficiary": "Test",
"internal_id": "INT-tTyzqiyCNKF88Jw",
"last_action": null,
"merchant_id": "230a5dd0-8c0d-4937-bdd2-970f99fa9cee",
"wire_origin": null,
"idempotency_key": null,
"original_amount": 80,
"beneficiary_bank": "au_bank_payid",
"reason_for_return": null,
"reason_for_failure": null,
"beneficiary_account_iban": null,
"beneficiary_account_number": null
}curl --location --request POST 'https://api.paycombat.comurl_webhook_merchant' \
--header 'X-Signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "ee52934e-2a21-428b-a789-5a775afb49b8",
"type": "PAYOUT",
"status": "RETURNED",
"wire_id": "w_txn_bfb29d0f8f864847b2ae0d1cfa89bc78",
"approval": "APPROVED",
"currency": "AUD",
"due_date": "2026-01-10T00:00:00.000Z",
"order_id": "payout_123456",
"denied_at": null,
"conversion": null,
"created_at": "2026-01-09T02:52:38.000Z",
"payee_name": "Test",
"pending_at": null,
"updated_at": "2026-01-09T02:53:06.000Z",
"approved_at": null,
"beneficiary": "Test",
"internal_id": "INT-tTyzqiyCNKF88Jw",
"last_action": null,
"merchant_id": "230a5dd0-8c0d-4937-bdd2-970f99fa9cee",
"wire_origin": null,
"idempotency_key": null,
"original_amount": 80,
"beneficiary_bank": "au_bank_payid",
"reason_for_return": null,
"reason_for_failure": null,
"beneficiary_account_iban": null,
"beneficiary_account_number": null
}'{}