Retrieves the webhooks that payment gateways sent to Chargebee for the site, newest first.
Use this operation to confirm that gateway notifications reached Chargebee and to trace them to a customer, invoice, or transaction. Filter by received_at to limit the results to a time range.
Implementation Notes
- Results are sorted by
received_atin descending order. Passsort_by[asc]asreceived_atto list the oldest logs first. - Pagination can reach at most the first 10,000 matching logs:
offsetpluslimitcan't exceed 10,000. Once the next page would go past 10,000 logs,next_offsetisn't returned, even if more logs match. To page further back, narrow the time range with thereceived_atfilter. - Only the filters listed on this page are supported. Any other filter parameter returns an error instead of being ignored.
- When Multi Business Entity is enabled and a business entity is in context, only logs for that business entity are returned.
Sample Request
Sample Result[JSON]
URL Format
Input Parameters
Determines your position in the list for pagination. To ensure that the next page is retrieved correctly, always set offset to the value of next_offset obtained in the previous iteration of the API call.
Constraints
offsetpluslimitcan't exceed 10,000. To page further back, narrow the time range with thereceived_atfilter.
optional, string filter
Sorts based on the specified attribute. Supported attributes : received_at
Supported sort-orders : asc, desc
Example → sort_by[asc] = "received_at"
This will sort the result based on the 'received_at' attribute in ascending(earliest first) order.
Default behavior
- Results are sorted by
received_atin descending order.
Filter Params
optional, string filter
Filter by the ID of the customer associated with the request. Supported operators : is, is_not, in, not_in
Example → customer_handle[is] = "16BjoNSh3G0Tc1hk"
optional, string filter
Filter by the ID of the invoice associated with the request. Supported operators : is, is_not, in, not_in
Example → invoice_handle[is] = "INV-123"
optional, string filter
Filter by the ID of the transaction that the webhook matched. Supported operators : is, is_not, in, not_in
Example → transaction_handle[is] = "txn_16BjoNSh3G0Tc1hk"
optional, string filter
Filter by the ID of the payment source associated with the webhook. Supported operators : is, is_not, in, not_in
Example → payment_method_handle[is] = "pm_16BjoNSh3G0Tc1hk"
optional, string filter
Filter by the ID of the payment intent associated with the request. Supported operators : is, is_not, in, not_in
Example → payment_intent_handle[is] = "pi_16BjoNSh3G0Tc1hk"
Returns
Returned only when more resources are present and the next page stays within the first 10,000 matching logs. To fetch the next set of resources, use this value for the input parameter offset.
Resource object representing gateway_webhook_log