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 requests made from our Third Party Integrations, like Shopify, Woocommerce, etc. Xendit retains your API logs for 30 days.

This feature is enabled by request only. If you wish to enable this feature for your Xendit's account, kindly send an email to fundamentals@xendit.co and state that you wish to enable API Log feature for your business. Our team will respond to your request within 1x24 hour time.

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, and filter by method, HTTP status code, or endpoint
  4. You can also search by Request ID, which will be elaborated below

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 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. Log data is available in API Logs for up to 3 months. Contact you wish to get older data than 3 months.
  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

Last Updated on 2023-12-19