SDKs
Seven official libraries, one per language, all at version 1.0.0 and generated from the same API description as the API reference.
| Language | Package | Install |
|---|---|---|
| Node.js | @veriseclabs/node | npm install @veriseclabs/node |
| Python | verisec | pip install verisec |
| Go | github.com/mosesmmoisebidth/verisec-go | go get github.com/mosesmmoisebidth/verisec-go |
| Java | io.github.mosesmmoisebidth:verisec-java | Gradle or Maven, version 1.0.0 |
| .NET | VeriSec | dotnet add package VeriSec |
| PHP | verisec/verisec-php | composer require verisec/verisec-php |
| Ruby | verisec | gem install verisec |
What every library does for you#
Every endpoint is a methodNamed after its operation:
face.verify, cheques.read, bin.lookup. Typed requests and answers where the language has types.Images from filesPass a file path or bytes; the library encodes it the way the API expects.Never charged twiceRetries only when nothing ran, and never resends a call that might have been charged.Webhook verificationChecks a delivery's signature and timestamp in one call.The same call in every language#
curl -X POST https://verisec.dev/v1/face/verify \
-H "Authorization: Bearer $VERISEC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image1": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"image2": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"threshold": 0.75
}'Mobile#
There is no mobile SDK yet. To collect photos from a person's phone, send them a verification link instead.