WiPay
WAPIsv2.0.2Authentication

Refresh Token

Exchange a valid refresh token for a new access token and refresh token pair. The new tokens inherit the same scopes as the original.

POST
/auth/tokens/refresh
refresh_tokenstring

The refresh token from a previous token response.

Length1 <= length

Response Body

curl -X POST "https://tt.wipayfinancial.com/wapi/auth/tokens/refresh" \  -H "Content-Type: application/json" \  -d '{    "refresh_token": "string"  }'
{
  "message": "OK",
  "token_type": "Bearer",
  "expires_in": 43200,
  "access_token": "string",
  "refresh_token": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}