Javascript
const url = 'https://api.gnosispay.com/api/v1/kyc/import-partner-applicant'; const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"forClientId":"CoolCoinLtd","ttlInSecs":600}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); }
{ "token": "<string>", "forClientId": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully retrieved Sumsub's reusable token.
The response is of type object.
object