Generate auth tokens for usage with the Merchant API
Before making a request to the Merchant API, you must generate your OAuth2 Client ID and Client Secret in the Business Portal.
You must pass an x-supertab-client-id
header containing your client id with every request.
The Merchant API uses OAuth2 Client Credentials Grant to authenticate requests.
To obtain a token, you must send a POST request to the token URL with your client id and secret, using the client_secret_basic
method.
These tokens expire, so you should be prepared to handle token expiration and refresh when necessary.
Base URL | https://tapi.supertab.co/mapi/ |
Supported Grants | Client Credentials |
Token URL | https://auth.supertab.co/oauth2/token |
Token Type | bearer |
The Merchant API is scoped to allow issuing tokens with minimum permissions.
The api specification details the required scopes for each operation. You must request a token with the scopes you require when authenticating the customer.
The following scopes are available:
mapi:write
: Create onetime offeringsmapi:read
: Check the status of purchasesGenerate auth tokens for usage with the Merchant API
Before making a request to the Merchant API, you must generate your OAuth2 Client ID and Client Secret in the Business Portal.
You must pass an x-supertab-client-id
header containing your client id with every request.
The Merchant API uses OAuth2 Client Credentials Grant to authenticate requests.
To obtain a token, you must send a POST request to the token URL with your client id and secret, using the client_secret_basic
method.
These tokens expire, so you should be prepared to handle token expiration and refresh when necessary.
Base URL | https://tapi.supertab.co/mapi/ |
Supported Grants | Client Credentials |
Token URL | https://auth.supertab.co/oauth2/token |
Token Type | bearer |
The Merchant API is scoped to allow issuing tokens with minimum permissions.
The api specification details the required scopes for each operation. You must request a token with the scopes you require when authenticating the customer.
The following scopes are available:
mapi:write
: Create onetime offeringsmapi:read
: Check the status of purchases