Authorization Code
Get an access token using the authorization_code grant type. Unlike client credentials, this flow involves redirecting the merchant to an RM consent screen where they approve the requested permissions.
Flow overview:
- Redirect the merchant to the RM authorization URL with your requested scopes.
- The merchant logs in and approves access.
- RM redirects back to your
redirectUriwith a temporarycode. - Exchange the
codefor an access token using this endpoint.