Authorization header with the Bearer scheme and your access token in each request you send.
Generate an Access Token
Before making API requests, you need to obtain an access token by sending a request to the Generate an Access Token endpoint.Request example
curl
Response example
Use the Access Token
Once you receive theaccess token, include it in the Authorization header as a Bearer token for all subsequent API requests.
Request example
curl
Best Practices for Using Credentials
Your API credentials are critical to your Localpayment integration. Keep them secure by following these best practices:- Store credentials securely using environment variables or secret managers—never hardcode or commit them to version control.
- Limit access to authorized team members and revoke any credential you suspect is compromised.
- Use separate credentials for Sandbox and Production environments.
- Monitor API logs regularly to detect unusual activity.
- Never expose credentials in client-side code, mobile apps, or public repositories.

