A gateway webhook log is a record of a single webhook that a payment gateway sent to Chargebee, along with the response Chargebee returned to the gateway. Use gateway webhook logs to confirm that gateway notifications, such as asynchronous payment or refund updates, reached Chargebee, and to trace them to the related customer, invoice, or transaction.
Request and response bodies and headers are returned as stored, with sensitive values already masked. Logs are retained for 60 days.
Sample Gateway webhook logJSON
Gateway Webhook Log attributes
The ID of the customer associated with the webhook, resolved from the matching transaction or payment intent.
The ID of the invoice associated with the webhook, resolved from the matching transaction.
The ID of the transaction that the webhook matched, resolved from id_at_gateway.
The ID of the payment source associated with the webhook, resolved from the matching transaction.
The ID of the payment intent associated with the webhook, resolved from the matching payment attempt.