API documentatie
Koppel 0trust0day aan uw platform
Integreer betalingscontrole, accountherstel en realtime dreigingsalerts in uw diensten via één veilige API.
Integratie binnen dagen
01 registreren
Maak een serviceaccount
Ontvang sandbox- en productie-sleutels rechtstreeks in de console.
02 integreren
Verbind via SDK of REST
Gebruik de SDK’s voor JavaScript, Python en Go of roep REST-endpoints aan.
03 monitoren
Stel waarschuwingen in
Configureer webhooks, verzamel statistieken en volg de status van uw diensten.
Voorbeelden
Belangrijkste endpoints
POST /v1/auth/recover~120ms
Start accountherstel met MFA-validatie.
fetch("https://api.0trust0day.dev/v1/auth/recover", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ reference: "123-456", locale: "nl-NL" })
})
.then((res) => res.json())
.then(console.log)GET /v1/payments/verify~85ms
Valideert een transactie en voert anti-frauderegels uit.
fetch("https://api.0trust0day.dev/v1/payments/verify", {
method: "GET",
headers: {
"X-Api-Key": "YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ reference: "123-456", locale: "nl-NL" })
})
.then((res) => res.json())
.then(console.log)POST /v1/alerts/notify~40ms
Stuurt een dreigingsmelding naar uw monitoringssysteem.
fetch("https://api.0trust0day.dev/v1/alerts/notify", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ reference: "123-456", locale: "nl-NL" })
})
.then((res) => res.json())
.then(console.log)SDK & REST
SDK’s voor JavaScript, Python en Go, tweerichtings-webhooks, automatiseringstests en realtime dashboards.