curl --location 'https://auth.zamupay.com/apps/graph/api/v1/cybersource/webhooks' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"Url": "https://checkout.partner.com/webhooks/zamupay",
"Events": [
"payment.captured",
"payment.refund_initiated",
"payment.voided",
"fraud.rejected"
],
"Description": "ZamuPay sandbox event listener",
"SigningSecret": "wh_sec_aB3cD4eF5gH6iJ7k"
}'{
"WebhookId": "WH-00112",
"Url": "https://checkout.partner.com/webhooks/zamupay",
"Events": ["payment.captured", "payment.refund_initiated", "payment.voided", "fraud.rejected"],
"Description": "ZamuPay sandbox event listener",
"Status": "ACTIVE",
"CreatedAt": "2025-04-24T11:30:00Z"
}