Session Token

Access Token lets you transact and fetch details from a particular user account. To generate an Access token, you must pass the API Key, Request Token, and API secret. to create an Access token.

Endpoint

Base URL
https://connects.torusdigital.com/api/v1/session/generate

Header Parameters

NameValue

Content-Type

application/json

Token

<Token>

Request Parameters

ATTRIBUTEDESCRIPTION

API_SECRET

The apiSecret generated during Merchant Onboarding step for the specific merchant

API_KEY

The apiKey generated during Merchant Onboarding step for the specific merchant

Request

cURL
curl --location 'https://connects.torusdigital.com/api/v1/session/generate' \
--header 'Token: {{token}}' \
--header 'Content-Type: application/json' \
--data '{
    "API_KEY": "<API_KEY>",
    "API_SECRET": "<API_SECRET>"
}'

Response

{
    "AccessToken": "<AccessToken>",
}

Last updated