Skip to main content

Get Splitit Token

POST 

/token

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

You can authenticate directly in the Request box on this page (at right). For grant_type, enter client_credentials, for scope type enter disputes.api, then enter your client_id and client_secret. Scroll down and press SEND API REQUEST. In the response, copy your access_token, which you can use to execute the other endpoints in this API reference.

  • Note that unlike the other endpoints, your authentication payload should use the format application/x-www-form-urlencoded.

Request

Body

required

    grant_typestring

    i.e., client_credentials

    scopestring

    i.e. disputes.api

    client_idstring

    e.g., APIUser000032201

    client_secretstring

    e.g. sU9tOVHOcM6jPOjjWZpXZs4V0cmc01BZfChF5afrj71Dz2COn2

Responses

Success

Schema

    access_tokenstring

    The bearer token to add to your header

    expires_ininteger

    How long token will last

    token_typestring

    Type of token

    scopestring

    The scope granted to your request