Authorization

Request authorization from users

Request authorization from users and grant your application access to resources associated with the user's profile.

get/authorize

Query parameters

response_typestring

The type of the expected response. The value must be code to indicate that you expect to receive an authorization code.

client_idstring

The client ID of your application that was generated when you registered it.

redirect_uristring

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.

scopestring

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.

statestring

A unique local state that can be used for correlating requests and responses and for preventing cross-site request forgery.

Response

No Content

object required

Changes