Skip to main content

Get Splitit Token

Authenticate using your client_id and client_secret from your merchant portal (Splitit support will also have to enable reports API access for you).

You can authenticate directly in the Body box on this page (at right). For grant_type, enter client_credentials, for scope enter dataretrieval.api reportingSystem.config.api reportingSystem.operation.api, then enter your client_id and client_secret. Scroll down and press Execute. In the response, copy your access_token and paste it at the top right of the page by clicking Authorize and using the Bearer Token box. Click Save and now you can use your token to execute the other endpoint in this API reference.

  • Note that unlike the other endpoint, your authentication payload should use the format application/x-www-form-urlencoded.
Request Body REQUIRED
grant_type string

i.e., "client_credentials"

scope string

i.e. "dataretrieval.api reportingSystem.config.api reportingSystem.operation.api"

client_id string

e.g., "APIUser000032201"

client_secret string

e.g. "sU9tOVHOcM6jPOjjWZpXZs4V0cmc01BZfChF5afrj71Dz2COn2"

Responses
200

Success

Schema OPTIONAL
access_token string OPTIONAL

The bearer token to add to your header

expires_in integer OPTIONAL

How long token will last

token_type string OPTIONAL

Type of token

scope string OPTIONAL

The scope granted to your request