const crypto = require('crypto');
const signature = crypto.createHmac('sha256', signatureKey) .update(JSON.stringify(data)).digest('hex');
{
"id": "d3439031-2ff5-4e1d-aec0-6d0599f8ca1e",
"merchant_id": "643d6f29-3412-4ba6-8f93-908d3320f0ee",
"status": "EXPIRED",
"original_amount": "67",
"amount_type": "PHP",
"transaction": "invoice_05082025_001",
"transaction_date": "2025-08-05T13:18:09.000Z",
"payment_method": "ph_ewallet_paymaya_php",
"order_reference": "invoice_05082025_001",
"customer_full_name": "Fajar Senin 54",
"reply_code": "https://api.paycombat.com/payment?code=68364d2f4cd626465d3d8fd10abaff71%3Aaec5dc3ba3ba1ebc65f03c2c75d042d0987e579c92bde698176990fe3ec874bd2e7128a5b886276da7bbf8fff13dadc264991554454b76521938321407d8771c8b1d3b64a933bedf9b3f101c9c90e635a42a717f47149e363c89ed7d1e3c6d75a7eb0e156100e2bab958056ca63da4d2935e1a91c7617a8f690ba5b1cae21ca3",
"brand": "Blackpink",
"currency": "FIAT",
"credit_type": "PAYIN",
"payer_id": "256699df-721c-48b5-84ed-bf794b87173b",
"recon_id": "invoice_05082025_001",
"order_reference_1": "invoice_05082025_001",
"order_reference_2": "invoice_05082025_001",
"platform_identifier": "invoice_05082025_001",
"trx_type": "DIRECT_PAYIN",
"customer_email": "fajar32@yopmail.com",
"customer_phone": "+6285156781122",
"customer_personal_number": "",
"charge_back": "0",
"rolling_serve": "0",
"retrieval": "0",
"is_black_list": 0,
"ip_address": "",
"billing_address_country": "PH",
"billing_address_city": "",
"billing_address_zip_code": "",
"billing_address": "",
"bin": "",
"is_3ds": "",
"created_at": "2025-08-05T03:26:56.000Z",
"updated_at": "2025-08-05T03:31:57.000Z",
"deleted_at": null,
"payment_date": null,
"additional_info": null,
"type": "PAYIN",
"approval": "EXPIRED"
}
curl --location --request POST 'https://api.paycombat.comurl_webhook_merchant' \
--header 'X-Signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "d3439031-2ff5-4e1d-aec0-6d0599f8ca1e",
"merchant_id": "643d6f29-3412-4ba6-8f93-908d3320f0ee",
"status": "EXPIRED",
"original_amount": "67",
"amount_type": "PHP",
"transaction": "invoice_05082025_001",
"transaction_date": "2025-08-05T13:18:09.000Z",
"payment_method": "ph_ewallet_paymaya_php",
"order_reference": "invoice_05082025_001",
"customer_full_name": "Fajar Senin 54",
"reply_code": "https://api.paycombat.com/payment?code=68364d2f4cd626465d3d8fd10abaff71%3Aaec5dc3ba3ba1ebc65f03c2c75d042d0987e579c92bde698176990fe3ec874bd2e7128a5b886276da7bbf8fff13dadc264991554454b76521938321407d8771c8b1d3b64a933bedf9b3f101c9c90e635a42a717f47149e363c89ed7d1e3c6d75a7eb0e156100e2bab958056ca63da4d2935e1a91c7617a8f690ba5b1cae21ca3",
"brand": "Blackpink",
"currency": "FIAT",
"credit_type": "PAYIN",
"payer_id": "256699df-721c-48b5-84ed-bf794b87173b",
"recon_id": "invoice_05082025_001",
"order_reference_1": "invoice_05082025_001",
"order_reference_2": "invoice_05082025_001",
"platform_identifier": "invoice_05082025_001",
"trx_type": "DIRECT_PAYIN",
"customer_email": "fajar32@yopmail.com",
"customer_phone": "+6285156781122",
"customer_personal_number": "",
"charge_back": "0",
"rolling_serve": "0",
"retrieval": "0",
"is_black_list": 0,
"ip_address": "",
"billing_address_country": "PH",
"billing_address_city": "",
"billing_address_zip_code": "",
"billing_address": "",
"bin": "",
"is_3ds": "",
"created_at": "2025-08-05T03:26:56.000Z",
"updated_at": "2025-08-05T03:31:57.000Z",
"deleted_at": null,
"payment_date": null,
"additional_info": null,
"type": "PAYIN",
"approval": "EXPIRED"
}'
{}