XtremeID
XtremeID

API documentation

Integrate identity creation and verification into your systems.

API versions

VersionStatusNotes
v2Current (default)Provider-neutral Identity Gateway. Used when the path has no version, for example /identity/verify. Uppercase error codes, request IDs, normalized statuses, capabilities and signed webhooks with replay protection.
v1SupportedUnchanged. Existing integrations keep working. Payments, transfers and identity records remain on v1 until they are upgraded; unversioned calls to them are served by v1.

Identity Gateway v2

One integration for every identity provider. The gateway picks the provider by country, check type, health and cost, and falls back automatically on technical failures. Machine-readable spec: /v2/openapi.json.

POST/v2/identity/verifyRun a check (bvn, nin, national_id, document, biometric, bank_account and more). Send Idempotency-Key to make retries safe.
GET/v2/identity/verification/{id}Current result of a check. /v2/identity/status/{id} returns the same.
POST/v2/identity/verification/{id}/cancelCancel a check that has not finished.
GET/v2/identity/capabilities?country=NGChecks, levels and prices available per country.
GET/v2/countriesCountries the gateway covers.
GET/v2/providersProvider availability (no costs or credentials).
GET/v2/healthGateway health. No key needed.
curl -X POST https://sandbox-api.xtremetechgroup.com/v2/identity/verify \
  -H "Authorization: Bearer givn_ts_xxxxxxxx" \
  -H "Idempotency-Key: order-1234" \
  -H "Content-Type: application/json" \
  -d '{ "country": "NG", "verification_type": "nin", "identity_number": "12345678901",
        "first_name": "Ada", "last_name": "Obi", "date_of_birth": "1990-01-31" }'

Statuses: created, pending, processing, requires_action, verified, failed, rejected, cancelled, expired. A 202 response means the result arrives later by webhook or by polling the status address. Every response carries an X-Request-Id header.

{ "error": { "code": "CAPABILITY_NOT_SUPPORTED", "message": "...", "request_id": "req_..." } }

Error codes: INVALID_REQUEST (400), UNAUTHORIZED (401), INSUFFICIENT_BALANCE (402), FORBIDDEN (403), NOT_FOUND (404), DUPLICATE_REQUEST and ALREADY_COMPLETED (409), CAPABILITY_NOT_SUPPORTED (422), RATE_LIMITED (429), PROVIDER_ERROR, PROVIDER_UNAVAILABLE and PROVIDER_TIMEOUT (502, 503, 504), CONFIGURATION_ERROR and INTERNAL_ERROR (500).

Verifying v2 webhooks

Each delivery carries X-Xtremetech-Signature: t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of "<t>.<raw body>" with your endpoint secret. Reject timestamps older than 5 minutes, and use X-Xtremetech-Event-Id to skip duplicates. Failed deliveries are retried up to 3 times.

Authentication

Create an API key in the console under API keys and grant it permissions. Test keys start with givn_ts_ and work on sandbox-api.xtremetechgroup.com; live keys start with givn_lv_ and work on api.xtremetechgroup.com. Send the key with every request:

Authorization: Bearer givn_ts_xxxxxxxx
# or
X-API-Key: givn_ts_xxxxxxxx

Errors use a common shape: { "error": { "code", "message" } } with status 401, 403, 404, 409 or 422.

Endpoints

MethodPathPermissionDescription
GET/api/v1/identitiesidentities:readList identities (?limit up to 200).
POST/api/v1/identitiesidentities:writeCreate an identity. Returns 409 on duplicates.
GET/api/v1/identities/{id}identities:readIdentity with its documents (numbers masked).
GET/api/v1/verificationsverifications:readLatest 100 verifications.
POST/api/v1/verificationsverifications:writeRun a Basic, Standard or Enhanced verification.
POST/api/v1/paymentspayments:writeCreate a payment. Send amount in normal units (500.00 NGN). Optional Idempotency-Key header.
GET/api/v1/paymentspayments:readLatest 100 payments.
GET/api/v1/payments/{id}payments:readA single payment.
POST/api/v1/payments/{id}/verifypayments:writeConfirm the latest status with the provider.
POST/api/v1/transferstransfers:writeSend a payout to a bank account (recipient name, account_number, bank_code). Optional Idempotency-Key header.
GET/api/v1/transferstransfers:readLatest 100 transfers.
GET/api/v1/transfers/{id}transfers:readA single transfer.
POST/api/v1/transfers/{id}/verifytransfers:writeConfirm the latest transfer status with the provider.
GET/api/v1/verifications/{id}verifications:readVerification with detailed check results.

Identity verification

  1. Create the identity with POST /v1/identities. A matching name, date of birth and email returns 409.
  2. Either start a check with POST /v1/verifications, or create a verification link in the console so the person uploads their own ID and selfie.
  3. Receive the result by webhook (verification.completed / verification.failed) or poll GET /v1/verifications/{id}.
  4. Results marked in_review wait for an approve, reject or request-info decision in the console.
curl -X POST https://api.xtremetechgroup.com/v1/verifications \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"identity_id":"<uuid>","verification_level":"enhanced"}'

Approved automatically when every check passes and the overall score is 75 or more. Sent to review when a check fails but the score is 60 or more. Otherwise failed. Statuses: created, processing, in_review, verified, failed, expired.

Payments

Amounts are in major units (500.00 means NGN 500). Send an Idempotency-Key header to make retries safe; reusing it with different values returns 409. Redirect your customer to authorization_url to pay.

curl -X POST https://sandbox-api.xtremetechgroup.com/v1/payments \
  -H "Authorization: Bearer givn_ts_xxxx" -H "Idempotency-Key: order-123" \
  -H "Content-Type: application/json" \
  -d '{"amount":1000,"currency":"NGN","customer":{"email":"ada@example.com"}}'

Statuses: created, pending, succeeded, failed, cancelled. Status is always re-checked with the payment provider; call POST /v1/payments/{id}/verify to refresh it.

Transfers

Send money to a bank account. Only the last four digits of the account number are stored.

curl -X POST https://sandbox-api.xtremetechgroup.com/v1/transfers \
  -H "Authorization: Bearer givn_ts_xxxx" -H "Idempotency-Key: payout-42" \
  -H "Content-Type: application/json" \
  -d '{"amount":5000,"currency":"NGN","recipient":{"name":"Ada Obi","account_number":"0123456789","bank_code":"058"},"reason":"Refund"}'

Statuses: created, processing, awaiting_approval, succeeded, failed, reversed, cancelled.

Sandbox and live

Webhooks

Add an endpoint in the console under Webhooks. Events: identity.created, verification.completed, verification.failed, payment.created, payment.succeeded, payment.failed, transfer.succeeded, transfer.failed, transfer.reversed. Each delivery is signed with your endpoint's secret; verify the signature before trusting the body.

Selective sharing

Share links disclose only chosen facts (for example over_18 or nationality), never the raw date of birth. Anyone with the link can read GET /api/public/shares/{token} until it expires or the consent is revoked.

Errors and limits

401unauthorizedMissing or invalid key.
403forbidden / wrong_environmentKey lacks the permission, or is used on the wrong address.
404not_foundResource does not exist in your organisation.
409duplicate_identity / idempotency_conflictDuplicate identity or reused Idempotency-Key.
422validation_errorThe request body is invalid.
502provider_errorThe payment provider refused the request.
503live_disabledLive money movement is not enabled yet.

Rate limit: 600 requests per minute per key, reported in the X-RateLimit headers. Service health: GET /api/public/health.