GET
/
api
/
v1
/
kyc
/
integration
/
sdk
Retrieve Access Token for Sumsub SDK Integration
const url = 'https://api.gnosispay.com/api/v1/kyc/integration/sdk';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "type": "SUMSUB_SDK",
  "token": "<string>",
  "userId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

lang
string

Optional language code in ISO 639-1 format (2 letters) to force the KYC flow language. If not provided, SumSub will use its own rules to determine the language.

Example:

"en"

Response

The KYC integration specification.

type
enum<string>
required

The type of the KYC integration.

Available options:
SUMSUB_SDK
token
string
required

The token that needs to be used to follow through the SumSub KYC flow.

userId
string
required

The user ID.