GET
/
api
/
v1
/
kyc
/
integration
/
sdk
Retrieves KYC integration specification for SDK.
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

200
application/json

The KYC integration specification.

The response is of type object.