Get Access Token
POST
/connect/token
Authentication
Use the
POST /connect/token
endpoint to retrieve one using your client_id
and client_secret
.đ Environments
Environment | URL |
---|---|
UAT | https://idsuat.walletgate.iO |
UAT | https://stsapiuat.walletgate.io |
'https://idsuat.walletgate.io'
, and all API operations will go through https://stsapiuat.walletgate.io
.Weâll share the exact production domain details when the live environment setup begins.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=your_client_id' \
--data-urlencode 'client_secret=your_client_secret' \
--data-urlencode 'scope=sts_business_api'
Response Response Example
200 - Success
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "sts_business_api"
}
Request
Header Params
Content-Type
string
optional
Example:
application/x-www-form-urlencoded
Body Params application/x-www-form-urlencoded
grant_type
string
required
Example:
client_credentials
client_id
string
required
Example:
your_client_id
client_secret
string
required
Example:
your_client_secret
scope
string
required
Example:
sts_business_api