| Version | Status | Notes |
|---|---|---|
| v2 | Current (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. |
| v1 | Supported | Unchanged. Existing integrations keep working. Payments, transfers and identity records remain on v1 until they are upgraded; unversioned calls to them are served by v1. |
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/verify | Run 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}/cancel | Cancel a check that has not finished. |
| GET | /v2/identity/capabilities?country=NG | Checks, levels and prices available per country. |
| GET | /v2/countries | Countries the gateway covers. |
| GET | /v2/providers | Provider availability (no costs or credentials). |
| GET | /v2/health | Gateway 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).
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.
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.
| Method | Path | Permission | Description |
|---|---|---|---|
| GET | /api/v1/identities | identities:read | List identities (?limit up to 200). |
| POST | /api/v1/identities | identities:write | Create an identity. Returns 409 on duplicates. |
| GET | /api/v1/identities/{id} | identities:read | Identity with its documents (numbers masked). |
| GET | /api/v1/verifications | verifications:read | Latest 100 verifications. |
| POST | /api/v1/verifications | verifications:write | Run a Basic, Standard or Enhanced verification. |
| POST | /api/v1/payments | payments:write | Create a payment. Send amount in normal units (500.00 NGN). Optional Idempotency-Key header. |
| GET | /api/v1/payments | payments:read | Latest 100 payments. |
| GET | /api/v1/payments/{id} | payments:read | A single payment. |
| POST | /api/v1/payments/{id}/verify | payments:write | Confirm the latest status with the provider. |
| POST | /api/v1/transfers | transfers:write | Send a payout to a bank account (recipient name, account_number, bank_code). Optional Idempotency-Key header. |
| GET | /api/v1/transfers | transfers:read | Latest 100 transfers. |
| GET | /api/v1/transfers/{id} | transfers:read | A single transfer. |
| POST | /api/v1/transfers/{id}/verify | transfers:write | Confirm the latest transfer status with the provider. |
| GET | /api/v1/verifications/{id} | verifications:read | Verification with detailed check results. |
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.
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.
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.
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.
| 401 | unauthorized | Missing or invalid key. |
| 403 | forbidden / wrong_environment | Key lacks the permission, or is used on the wrong address. |
| 404 | not_found | Resource does not exist in your organisation. |
| 409 | duplicate_identity / idempotency_conflict | Duplicate identity or reused Idempotency-Key. |
| 422 | validation_error | The request body is invalid. |
| 502 | provider_error | The payment provider refused the request. |
| 503 | live_disabled | Live 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.