Refresh access token

Refresh token

POST https://integrations.mipos.shop/api/oauth/token/refresh

Remove your user's token to generate a new one with the Get Token endpoint

Headers

NameTypeDescription

Authorization

string

Bearer {access_token}

Content-Type

string

application/json

Request Body

NameTypeDescription

client_id

string

Identifier of the application

client_secret

string

Secret key for the application

grant_type

string

Default value: "refresh_token"

refresh_token

string

access_token that is going to be refreshed

{
    "message": "New access token.",
    "data": {
        "token": "generated_access_token",
        "token_type": "bearer",
        "expires_in": "1585815796"
    }
}

Last updated