Endpoint
Request body
Example request
Response
A successful request returns a new access token.Response fields
A new short-lived JWT access token. Use this to replace the expired token on all subsequent Dashboard API requests.
Exchange a refresh token for a new access token without requiring the user to log in again. Use this to keep long-running sessions alive.
POST https://baasapi.payrepmfb.com/api/v1/auth/web/refresh
curl --request POST \
--url https://baasapi.payrepmfb.com/api/v1/auth/web/refresh \
--header 'Content-Type: application/json' \
--data '{
"refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}'
{
"status": true,
"response_code": "00",
"message": "Success",
"data": {
"access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}