Skip to content

Authenticate

POST
/oauth/token
curl --request POST \
--url https://myshop.com/shopgate/v1/oauth/token \
--header 'Authorization: Bearer <token>'

Provides an OAuth2 access token for Shopgate Connect to authenticate against the Web Checkout API.

grant_type
string
client_id
string
client_secret
string

Standard OAuth access token response

Media typeapplication/json
object
access_token
string
token_type
string
expires_in
string
Example
{
"access_token": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3",
"token_type": "bearer",
"expires_in": 3600
}

Client credentials are invalid.

Media typeapplication/json
object
error
string
error_description
string
Example
{
"error": "credentials_invalid",
"message": "client credentials are invalid"
}