const crypto = require('crypto');
const signature = crypto.createHmac('sha256', signatureKey) .update(JSON.stringify(data)).digest('hex');{
"id": "3650c921-88ae-4437-961d-48a2b9f3d021",
"bin": "",
"type": "PAYIN",
"brand": "JOHNDOEBRAND",
"is_3ds": "",
"status": "SUCCESS",
"currency": "FIAT",
"payer_id": "2f872ec8-721d-40bd-a103-9e6a8db40dbb",
"recon_id": "johndoe_recond_id",
"trx_type": "CHECKOUT",
"retrieval": 0,
"created_at": "2026-04-20T03:50:15.000Z",
"deleted_at": null,
"ip_address": "",
"reply_code": "DP-1776657013143-JB",
"updated_at": "2026-04-20T03:54:40.000Z",
"amount_type": "INR",
"charge_back": 0,
"credit_type": "CHECKOUT",
"merchant_id": "230a5dd0-8c0d-4937-bdd2-970f99fa9cee",
"paid_amount": 15000,
"transaction": "invoice_20042026_002",
"payment_date": null,
"is_black_list": 0,
"rolling_serve": 0,
"customer_email": "jenii0022@yopmail.com",
"customer_phone": "+6285156781122",
"payment_method": "UPI",
"additional_info": {
"qr": "https://paycombat.co/SKU20240815025041/image?encoded=true&url=aHR0cHM6Ly9hcGkucXJzZXJ2ZXIuY29tL3YxL2NyZWF0ZS1xci1jb2RlLz9zaXplPTUxMng1MTImYmdjb2xvcj1GRkZGRkYmY29sb3I9MzkzQzNFJmRhdGE9dXBpJTNBJTJGJTJGcGF5JTNGcGElM0RoYW5zJTI1NDB1cGklMjZwbiUzRE1vb24lMjZ0ciUzRDE3NzY2NTcwMTQlMjZ0aWQlM0REUDE3NzY2NTcwMTQ4MDglMjZhbSUzRDE1MDAwLjAwJTI2dG4lM0R0ZXN0JTI1MjBwYXltZW50",
"utr": "697300000563",
"amount": "15000.00",
"status": "success",
"upi_id": "hans@upi",
"message": "[DP] Submit Transaction Success!",
"expired_at": "2026-04-20 09:35:14",
"transaction_no": "DP1776657014808",
"expired_timezone": "GMT+05:30",
"transaction_code": "DP-1776657013143-JB"
},
"billing_address": "",
"order_reference": "invoice_20042026_002",
"original_amount": 15000,
"transaction_date": "2025-10-24T01:59:40.000Z",
"order_reference_1": "invoice_20042026_002",
"order_reference_2": "invoice_20042026_002",
"customer_full_name": "test",
"platform_identifier": "PAYCOMBAT",
"billing_address_city": "",
"billing_address_country": null,
"billing_address_zip_code": "",
"customer_personal_number": ""
}curl --location 'https://api.paycombat.comurl_webhook_merchant' \
--header 'X-Signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "3650c921-88ae-4437-961d-48a2b9f3d021",
"bin": "",
"type": "PAYIN",
"brand": "JOHNDOEBRAND",
"is_3ds": "",
"status": "SUCCESS",
"currency": "FIAT",
"payer_id": "2f872ec8-721d-40bd-a103-9e6a8db40dbb",
"recon_id": "johndoe_recond_id",
"trx_type": "CHECKOUT",
"retrieval": 0,
"created_at": "2026-04-20T03:50:15.000Z",
"deleted_at": null,
"ip_address": "",
"reply_code": "DP-1776657013143-JB",
"updated_at": "2026-04-20T03:54:40.000Z",
"amount_type": "INR",
"charge_back": 0,
"credit_type": "CHECKOUT",
"merchant_id": "230a5dd0-8c0d-4937-bdd2-970f99fa9cee",
"paid_amount": 15000,
"transaction": "invoice_20042026_002",
"payment_date": null,
"is_black_list": 0,
"rolling_serve": 0,
"customer_email": "jenii0022@yopmail.com",
"customer_phone": "+6285156781122",
"payment_method": "UPI",
"additional_info": {
"qr": "https://paycombat.co/SKU20240815025041/image?encoded=true&url=aHR0cHM6Ly9hcGkucXJzZXJ2ZXIuY29tL3YxL2NyZWF0ZS1xci1jb2RlLz9zaXplPTUxMng1MTImYmdjb2xvcj1GRkZGRkYmY29sb3I9MzkzQzNFJmRhdGE9dXBpJTNBJTJGJTJGcGF5JTNGcGElM0RoYW5zJTI1NDB1cGklMjZwbiUzRE1vb24lMjZ0ciUzRDE3NzY2NTcwMTQlMjZ0aWQlM0REUDE3NzY2NTcwMTQ4MDglMjZhbSUzRDE1MDAwLjAwJTI2dG4lM0R0ZXN0JTI1MjBwYXltZW50",
"utr": "697300000563",
"amount": "15000.00",
"status": "success",
"upi_id": "hans@upi",
"message": "[DP] Submit Transaction Success!",
"expired_at": "2026-04-20 09:35:14",
"transaction_no": "DP1776657014808",
"expired_timezone": "GMT+05:30",
"transaction_code": "DP-1776657013143-JB"
},
"billing_address": "",
"order_reference": "invoice_20042026_002",
"original_amount": 15000,
"transaction_date": "2025-10-24T01:59:40.000Z",
"order_reference_1": "invoice_20042026_002",
"order_reference_2": "invoice_20042026_002",
"customer_full_name": "test",
"platform_identifier": "PAYCOMBAT",
"billing_address_city": "",
"billing_address_country": null,
"billing_address_zip_code": "",
"customer_personal_number": ""
}'{}