Skip to main content
POST
/
api
/
auth
/
token
/
refresh
Refresh access token
curl --request POST \
  --url https://payments.oaknetwork.org/api/auth/token/refresh \
  --header 'Content-Type: application/json' \
  --data '
{
  "refresh_token": "<string>"
}
'
{
  "msg": "Successfully Created New Refresh Token!",
  "data": {
    "accessToken": "<string>",
    "refreshToken": "<string>"
  }
}

Body

application/json
refresh_token
string
required

JWT refresh token obtained from sign in

Response

Tokens refreshed successfully

msg
string
required

Human-readable message describing the result

Example:

"Successfully Created New Refresh Token!"

data
object
required

Response payload (null on error)