Welcome to Xendit’s latest documentation. For legacy content, access the previous version here.

Create an API key

Prev Next

Before you start, you need to have a Xendit account. You can create one by signing up here. Once that’s done, you’ll be able to start testing immediately by using your account in Test Mode.

How to create your API key

  1. Generate a Secret API Key for development on your settings page or by visiting Settings > Developers > API Keys on your dashboard

  2. Make sure to set Write permissions for your API Key for money-in features

  3. Ensure that the API key is not given any permissions beyond the purpose it was meant for. Doing so might lead to security incidents. See our API key guide here for more information

  4. Store your API key securely using a secrets management solution