Access Token
Get a token for our APIs.
Last updated
Get a token for our APIs.
Last updated
First of all you need to request a token to authenticate and use our services. You can execute the request below with your credentials to get the token.
POST
https://api.stage.localpayment.com/api/token/
This request allows you to obtain an authentication token.
Name | Type | Description |
---|---|---|
Every AccessToken will have a 5 minutes duration.
When the access token expires, you can use the following service to get a new access token
POST
https://api.stage.localpayment.com/api/token/refresh
This requests allows you to get a new access token.
Every RefreshToken will have a 24 hours duration.
Name | Type | Description |
---|---|---|
username
string
Username Account provided by Localpayment.
password
string
Password Account provided by Localpayment.
refresh
string
A JWT refresh token which you got in the previous step.