OAuth
- Merchant creates an app in
/dashboard/developerand copies Client ID / Secret. - Redirect the merchant to
/oauth/authorizewithclient_id,redirect_uri,response_type=code,scope, and PKCE (code_challengeS256). - Merchant signs in and authorizes scopes for their store.
- Exchange the code at
POST /api/oauth/token(grant_type=authorization_code). - Refresh with
grant_type=refresh_token(rotation enabled). Revoke viaPOST /api/oauth/revoke.