Introducing the Chargebee CLI

Retrieve a gateway request log

Retrieves a gateway request log identified by its log_id.

Use this operation to inspect the full request that Chargebee sent to a payment gateway and the gateway's response. Request and response payloads are returned as stored, with sensitive values already masked.

Implementation Notes

  • If no log matches the log_id for the site, or the log belongs to a business entity other than the one in context, the API returns a resource_not_found error.

Sample Request

Sample Result[JSON]

URL Format

GET https://[site].chargebee.com/api/v2/gateway_request_logs/{gateway-request-log-log-id}

Returns

Gateway request log object

Resource object representing gateway_request_log