Authentication
Authentication with the Xente API
To secure your applicaiton, you with need to authenticate and authorize all your API calls.
How to authenticate
- Use the following command to generate a secret token
- Pass the returned token using the following format in the authorization header of every request:
Important notes on authentication
- App Key and App Password: Find your App Key and App Password under Developer Settings in the portal to generate the token.
- Keep your credentials safe: You can only view your App Key and App Password once. It is your responsibility to keep them safe, e.g., do not store them in Git or expose them to unauthorized people.
- User Delegation: Select the user who will be delegated to make API requests under Applications in the portal. The transactions initiated will be processed according to the permissions the user has.
- Whitelisting: Whitelist your application under Developer Settings in the portal.
- HTTPS: All API requests must be made over HTTPS.
- Authentication: API requests without authentication will fail with status code 401: Unauthorized.