Access Token
Get a token for our APIs.
Getting Started
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.
Accsess Token
POST
https://api.stage.localpayment.com/api/token/
This request allows you to obtain an authentication token.
Request Body
username
string
Username Account provided by Localpayment.
password
string
Password Account provided by Localpayment.
Example: Token request
Example: Token response
Every AccessToken will have a 5 minutes duration.
How to use a Refresh Token
When the access token expires, you can use the following service to get a new access token
Refresh
POST
https://api.stage.localpayment.com/api/token/refresh
This requests allows you to get a new access token.
Request Body
refresh
string
A JWT refresh token which you got in the previous step.
Example: Refresh Token request
Every RefreshToken will have a 24 hours duration.
Last updated