API ReferenceWooCommerceSDKssoonWebhookssoon

Account

Refresh a token

POST/api/merchants/refresh-token

Trade a refresh token for a fresh access token so a dashboard session survives expiry.

Authentication

No authentication required.

Body parameters

refresh_tokenstringrequired

issued alongside the access token at login

POST/api/merchants/refresh-token
curl --request POST "https://api.trevi.cash/api/merchants/refresh-token" \
  --header "Content-Type: application/json" \
  --data '{ "refresh_token": "…" }'
Was this page helpful?