Versioning
The entire API, including the Authorize-endpoint, and GraphQL endpoints are versioned. The version is required on every
request, and must be provided via the X-API-Version
-header.
Example in shell
curl "api_endpoint_here"
--header 'X-API-Version: 1'
And JavaScript
var myHeaders = new Headers();
myHeaders.append("X-API-Version", "1");
var formdata = new FormData();
var requestOptions = {
method: 'GET',
headers: myHeaders,
body: formdata,
redirect: 'follow'
};
fetch("https://api.prod.kyc.penneo.com/public-api/graphql", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
Supported versions
Version | Release date | Deprecation date |
---|---|---|
1 | 01-06-2020 | 6 months after version 2 |