Quick Start
This page will guide you on how to use Xendit APIs easily
Register A Xendit Account
Register here if you do not have an account Login to Xendit Dashboard
Generate API Key
info
Only user with Admin or Manage Tech Settings permission can generate API key
- Go to API keys settings in Xendit Dashboard
- In Secret keys in API Keys section, click
Generate secret key
to generate your secret key - A pop-up will be prompted to configure your API key name and permission.
- Click
Generate Key
- Your secret API key will be shown in the pop-up. You can
Copy
orDownload
the key.
The key will only be displayed once in this pop up and will not be able to be viewed again after the pop up has been closed. - You can generate, edit, or delete API key name and permissions when you need to
caution
We highly recommended you to select strict API key permission. Generate unique API key for different product or don't select permission for product you are not planning to use yet
Create API Request
Use our Postman collection to explore Xendit APIs. Simply select any API you're interested in, attach the API key in header, and send the request
Setup Webhook/Callback
For some of our products, we'll send a webhook/callback after we have processed your requests. Webhook/Callback setup can be done via these steps:
- Set up your server to listen to our callback request. You can use a tool like ngrok to make your endpoint available for receiving callback
- Navigate to Callback settings in Xendit Dashboard
- Attach your server's URL in the input box of the product you are going to use. Click
Save and Test
and a dummy event will be sent to the URL - Validate Xendit as legitimate webhook sender via
x-callback-token
header. Find yourx-callback-token
inCallback verification token
section in Callback settings
See Callback page for more information about our callback feature
Setup IP Whitelist
Block unauthorised request from unrecognised IP Address by whiteliting your server IP Address
- Navigate to IP Whitelist settings in Xendit Dashboard
- In IP Whitelists section, Add IP Address to whitelist your server IPs. You can find your IP address by using What's My IP
Going Live Checklists
See our going-live checklists to make sure your integration is completed