Request authorization from users
Request authorization from users and grant your application access to resources associated with the user's profile.
Query parameters
The type of the expected response. The value must be code to indicate that you expect to receive an authorization code.
The client ID of your application that was generated when you registered it.
The URI to which the merchant user is redirected after authorizing your application to access their user's profile data and to which the authorization code is sent. The value must match exactly one of the registered URIs for your application.
A space-separated list of scopes for which you request authorization. If you don't specify any scopes in the request, your application will be granted authorization for the default scopes.
A unique local state that can be used for correlating requests and responses and for preventing cross-site request forgery.
Response
No Content