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

Body

application/json
refresh_token
string
required

Refresh token from previous grant or refresh

Response

Tokens refreshed

msg
string
required

Human-readable message describing the result

data
object
required

Response payload (null on error)