Skip to main content

API Logs

When you are integrating with Xendit, you may want to analyze or debug API requests in the Test or Live environment. Using API logs, you can see information about your API requests. You can troubleshoot the requests and responses, and see the metadata of your API requests.

API logs cover all Xendit APIs, exclude Credit Card APIs, Payment Method V2 API, Unified Payment Request API, and requests made from our Third Party Integrations, like Shopify, Woocommerce, etc. Xendit retains your API logs for 90 days.

Using API Logs

info

You will need Developer permission to access API Logs. Learn more about team permission here

  1. Open API Logs page
  2. You will see logs of all of your API traffic
  3. You can adjust date time filter to view more logs, or filter by method and HTTP status code

Search by Request ID

Each API request has an asssociated request identifier. You can find this value in the response headers, under Request-ID. You can use Request-ID to find logs in API Logs in Dashboard. If you need to contact us about a specific request, providing the request identifier will ensure the fastest possible resolution.

Use Cases

  1. You can use API logs to check if you have made API request to Xendit or not, especially useful during integration period in Test mode
  2. You can check the response time of a particular API request
  3. You can check the API key name and IP address of a specific API request

Limitations

  1. API Log covers all Xendit APIs, except Credit Card APIs, Payment Method V2 API, Unified Payment Request API, and requests made from our Third Party Integrations
  2. Log will be available upon successful API authentication. Authentication errors, like INVALID_API_KEY error will not be displayed to API Logs
  3. Filter by endpoint is not available yet. We are hoping to release this feature in early 2023
  4. API response time displayed in API Logs is elapsed processing time to process your API request within Xendit's system. It doesn't include the time for the request to travel from your server to Xendit's server
Was this page helpful?