Download OpenAPI specification:Download
Auditable, voucher-backed verification API providing isPerson and hasPresence determinations using a local VeriFactCache synchronized from SumSub outputs.
| invocationId required | string ULID supplied by subscriber to ensure idempotency. |
| localAccountId required | string Subscriber foreign key linking to invoker. |
required | object |
required | object |
{- "invocationId": "01HZYBZQ5PSTVZ7KJ8ABCD12",
- "localAccountId": "localacct-7890",
- "subject": {
- "maskedSubjectId": "subj$sha256$Zjl...",
- "voucherCode": "VME-6F82-1A0D-4F9C",
- "additionalHashes": [
- "idfa$sha256$9ab..."
]
}, - "verificationContext": {
- "intent": "account_onboarding",
- "maxCacheAgeSeconds": 86400,
- "requestSignature": "sig_subscriber_abc"
}
}{- "verificationOutcome": {
- "result": "verified",
- "confidence": 0.97,
- "confidenceBand": "high",
- "reasonCodes": [
- "cache_match",
- "biometric_verification"
], - "expiresAt": "2024-09-01T00:00:00Z"
}, - "maskedFact": {
- "maskedSubjectId": "subj$sha256$Zjl...",
- "cacheSnapshotHash": "merkle$abc123",
- "factSignature": "ed25519$factSig",
- "payloadChecksum": "sha256$XYZ",
- "sourceBatchId": "sumsub-batch-2024-08-30",
- "issuedAt": "2024-08-30T12:00:00Z",
- "identityLevel": "kyc_level_2",
- "riskTier": "low"
}, - "receipt": {
- "receiptId": "01HZYCDQ8X9K4WYH7S9Q4QYB9F",
- "operation": "isPerson",
- "timestamp": "2024-08-30T12:05:04Z",
- "subscriberId": "sub-12345",
- "localAccountId": "localacct-7890",
- "voucherCodeMasked": "***-1A0D",
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$resResp1",
- "signature": "ed25519$receiptSig1",
- "previousReceiptSignature": "ed25519$prevSig",
- "billingMeter": {
- "voucherDebit": 1,
- "unitPrice": 2.5,
- "currency": "USD"
}
}
}| invocationId required | string ULID supplied by subscriber to ensure idempotency. |
| localAccountId required | string Subscriber foreign key linking to invoker. |
required | object |
required | object |
{- "invocationId": "01HZYBZQ5PSTVZ7KJ8ABCD12",
- "localAccountId": "localacct-7890",
- "subject": {
- "maskedSubjectId": "subj$sha256$Zjl...",
- "voucherCode": "VME-6F82-1A0D-4F9C",
- "additionalHashes": [
- "idfa$sha256$9ab..."
]
}, - "verificationContext": {
- "intent": "account_onboarding",
- "maxCacheAgeSeconds": 86400,
- "requestSignature": "sig_subscriber_abc"
}
}{- "verificationOutcome": {
- "result": "verified",
- "confidence": 0.82,
- "confidenceBand": "medium",
- "reasonCodes": [
- "presence_match"
], - "expiresAt": "2024-08-31T00:00:00Z"
}, - "maskedFact": {
- "maskedSubjectId": "subj$sha256$Zjl...",
- "cacheSnapshotHash": "merkle$abc123",
- "factSignature": "ed25519$factSigPresence",
- "payloadChecksum": "sha256$XYZ2",
- "sourceBatchId": "sumsub-batch-2024-08-30",
- "issuedAt": "2024-08-30T11:58:00Z",
- "recentPresenceConfidence": 0.78,
- "presenceWindowHours": 24
}, - "receipt": {
- "receiptId": "01HZYCDQ9P0VNGS6NT3T3TP8MF",
- "operation": "hasPresence",
- "timestamp": "2024-08-30T12:05:05Z",
- "subscriberId": "sub-12345",
- "localAccountId": "localacct-7890",
- "voucherCodeMasked": "***-1A0D",
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$resResp2",
- "signature": "ed25519$receiptSig2",
- "previousReceiptSignature": "ed25519$receiptSig1",
- "billingMeter": {
- "voucherDebit": 1,
- "unitPrice": 1,
- "currency": "USD"
}
}
}| quantity required | integer [ 1 .. 1000 ] |
| voucherProduct required | string |
| localAccountId required | string |
| expiresAt | string <date-time> |
| memo | string |
{- "quantity": 1,
- "voucherProduct": "string",
- "localAccountId": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "memo": "string"
}{- "issuedVouchers": [
- {
- "voucherCode": "VME-6F82-1A0D-4F9C",
- "maskedVoucher": "***-1A0D",
- "expiresAt": "2024-09-30T00:00:00Z",
- "signature": "ed25519$voucherSig1"
}
], - "receipt": {
- "receiptId": "01HZYCDQC2V1PRX8G5S6D5X0TZ",
- "operation": "voucher.issue",
- "timestamp": "2024-08-30T12:00:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "ops",
- "voucherCodeMasked": "***-1A0D",
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$issue",
- "signature": "ed25519$receiptIssue",
- "previousReceiptSignature": "ed25519$prev",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 0,
- "currency": "USD"
}
}
}| voucherCode required | string |
| localAccountId required | string |
| invocationId | string |
| intent | string Enum: "isPerson" "hasPresence" |
{- "voucherCode": "string",
- "localAccountId": "string",
- "invocationId": "string",
- "intent": "isPerson"
}{- "status": "redeemed",
- "maskedVoucher": "***-1A0D",
- "linkedReceiptId": "01HZYCDQ8X9K4WYH7S9Q4QYB9F",
- "receipt": {
- "receiptId": "01HZYCDQF6W2PQK1QP6A7M2RTN",
- "operation": "voucher.redeem",
- "timestamp": "2024-08-30T12:05:03Z",
- "subscriberId": "sub-12345",
- "localAccountId": "localacct-7890",
- "voucherCodeMasked": "***-1A0D",
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$redeem",
- "signature": "ed25519$receiptRedeem",
- "previousReceiptSignature": "ed25519$receiptIssue",
- "billingMeter": {
- "voucherDebit": 1,
- "unitPrice": 2.5,
- "currency": "USD"
}
}
}| voucherProduct required | string |
| quantity required | integer >= 1 |
required | object |
{- "voucherProduct": "string",
- "quantity": 1,
- "payment": {
- "paymentReference": "string",
- "amount": 0.1,
- "currency": "string",
- "paymentMethod": "string",
- "metadata": { }
}
}{- "creditedQuantity": 100,
- "balanceAfter": 450,
- "receipt": {
- "receiptId": "01HZYCDQH9ZNB8MTM6X3Z5YQJN",
- "operation": "voucher.purchase",
- "timestamp": "2024-08-30T11:00:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "finance",
- "voucherCodeMasked": null,
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$purchase",
- "signature": "ed25519$receiptPurchase",
- "previousReceiptSignature": "ed25519$prevFin",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 250,
- "currency": "USD"
}
}
}| localAccountId | string Subscriber-defined local account foreign key. |
{- "summary": [
- {
- "voucherProduct": "standard-isPerson",
- "available": 320,
- "reserved": 10,
- "consumed": 540,
- "expired": 5,
- "maskedVoucherSamples": [
- "***-1A0D",
- "***-9F3B"
]
}
], - "receipt": {
- "receiptId": "01HZYCDQK3C8E2M5NRJ9KP3X7V",
- "operation": "voucher.inventory",
- "timestamp": "2024-08-30T12:10:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "ops",
- "voucherCodeMasked": null,
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$inventory",
- "signature": "ed25519$receiptInventory",
- "previousReceiptSignature": "ed25519$receiptRedeem",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 0,
- "currency": "USD"
}
}
}| voucherCode required | string Masked voucher token reference (e.g., ***-AB12). |
{- "maskedVoucher": "***-1A0D",
- "status": "redeemed",
- "issuedAt": "2024-08-30T12:00:00Z",
- "expiresAt": "2024-09-30T00:00:00Z",
- "linkedInvocationId": "01HZYBZQ5PSTVZ7KJ8ABCD12",
- "receipt": {
- "receiptId": "01HZYCDQMKD8Y1SF8XJM41SW2C",
- "operation": "voucher.status",
- "timestamp": "2024-08-30T12:15:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "ops",
- "voucherCodeMasked": "***-1A0D",
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$status",
- "signature": "ed25519$receiptStatus",
- "previousReceiptSignature": "ed25519$receiptInventory",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 0,
- "currency": "USD"
}
}
}| from | string <date-time> |
| to | string <date-time> |
| localAccountId | string Subscriber-defined local account foreign key. |
| operation | string Enum: "isPerson" "hasPresence" "voucher.issue" "voucher.redeem" "voucher.purchase" |
| page | integer >= 1 Default: 1 |
| pageSize | integer [ 1 .. 200 ] Default: 50 |
{- "data": [
- {
- "receiptId": "01HZYCDQ8X9K4WYH7S9Q4QYB9F",
- "operation": "isPerson",
- "timestamp": "2024-08-30T12:05:04Z",
- "subscriberId": "sub-12345",
- "localAccountId": "localacct-7890",
- "voucherCodeMasked": "***-1A0D",
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$resResp1",
- "signature": "ed25519$receiptSig1",
- "previousReceiptSignature": "ed25519$prevSig",
- "billingMeter": {
- "voucherDebit": 1,
- "unitPrice": 2.5,
- "currency": "USD"
}
}
], - "pagination": {
- "page": 1,
- "pageSize": 50,
- "total": 240
}, - "receipt": {
- "receiptId": "01HZYCDQP0W3QMZ7M3YKBT0V8C",
- "operation": "receipt.list",
- "timestamp": "2024-08-30T12:20:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "ops",
- "voucherCodeMasked": null,
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$receiptlist",
- "signature": "ed25519$receiptList",
- "previousReceiptSignature": "ed25519$receiptStatus",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 0,
- "currency": "USD"
}
}
}| receiptId required | string ULID referencing receipt entry. |
{- "data": {
- "receiptId": "01HZYCDQ8X9K4WYH7S9Q4QYB9F",
- "operation": "isPerson",
- "timestamp": "2024-08-30T12:05:04Z",
- "subscriberId": "sub-12345",
- "localAccountId": "localacct-7890",
- "voucherCodeMasked": "***-1A0D",
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$resResp1",
- "signature": "ed25519$receiptSig1",
- "previousReceiptSignature": "ed25519$prevSig",
- "billingMeter": {
- "voucherDebit": 1,
- "unitPrice": 2.5,
- "currency": "USD"
}
}, - "receipt": {
- "receiptId": "01HZYCDQT4B5NPKC3V2WYJH7DS",
- "operation": "receipt.get",
- "timestamp": "2024-08-30T12:21:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "ops",
- "voucherCodeMasked": null,
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$receiptget",
- "signature": "ed25519$receiptGet",
- "previousReceiptSignature": "ed25519$receiptList",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 0,
- "currency": "USD"
}
}
}| from required | string <date-time> |
| to required | string <date-time> |
| localAccountId | string Subscriber-defined local account foreign key. |
| voucherProduct | string Voucher product tier identifier. |
| groupBy | Array of strings Items Enum: "localAccountId" "voucherProduct" "result" "countryCode" "confidenceBand" |
{- "report": {
- "groupBy": [
- "localAccountId",
- "result"
], - "rows": [
- {
- "dimensions": {
- "localAccountId": "localacct-7890",
- "result": "verified"
}, - "metrics": {
- "count": 420,
- "voucherDebit": 420,
- "averageConfidence": 0.92
}
}, - {
- "dimensions": {
- "localAccountId": "localacct-1234",
- "result": "rejected"
}, - "metrics": {
- "count": 12,
- "voucherDebit": 12,
- "averageConfidence": 0.31
}
}
]
}, - "receipt": {
- "receiptId": "01HZYCDQV9KYCVZZJ6N1SXV4JE",
- "operation": "report.verifications",
- "timestamp": "2024-08-30T12:30:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "ops",
- "voucherCodeMasked": null,
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$verreport",
- "signature": "ed25519$receiptVerReport",
- "previousReceiptSignature": "ed25519$receiptGet",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 0,
- "currency": "USD"
}
}
}| from required | string <date-time> |
| to required | string <date-time> |
| voucherProduct | string Voucher product tier identifier. |
{- "report": {
- "rows": [
- {
- "voucherProduct": "standard-isPerson",
- "issued": 900,
- "redeemed": 750,
- "expired": 10,
- "balance": 140,
- "revenueRecognized": 1875
}, - {
- "voucherProduct": "presence-addon",
- "issued": 300,
- "redeemed": 180,
- "expired": 5,
- "balance": 115,
- "revenueRecognized": 540
}
]
}, - "receipt": {
- "receiptId": "01HZYCDQX8B67AZH5D7R9WXK0M",
- "operation": "report.vouchers",
- "timestamp": "2024-08-30T12:31:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "ops",
- "voucherCodeMasked": null,
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$vouchreport",
- "signature": "ed25519$receiptVouchReport",
- "previousReceiptSignature": "ed25519$receiptVerReport",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 0,
- "currency": "USD"
}
}
}{- "currentSnapshot": {
- "hash": "merkle$abc123",
- "generatedAt": "2024-08-30T11:50:00Z",
- "recordCount": 456789
}, - "syncStatus": {
- "lastImportBatchId": "sumsub-batch-2024-08-30",
- "lastImportAt": "2024-08-30T11:45:00Z",
- "lagSeconds": 600,
- "validation": {
- "signatureVerified": true,
- "checksumVerified": true
}
}, - "receipt": {
- "receiptId": "01HZYCDQZ5BRBYQ1HY4D4B6MQX",
- "operation": "cache.status",
- "timestamp": "2024-08-30T12:32:00Z",
- "subscriberId": "sub-12345",
- "localAccountId": "ops",
- "voucherCodeMasked": null,
- "cacheSnapshotHash": "merkle$abc123",
- "payloadChecksum": "sha256$cachestatus",
- "signature": "ed25519$receiptCacheStatus",
- "previousReceiptSignature": "ed25519$receiptVouchReport",
- "billingMeter": {
- "voucherDebit": 0,
- "unitPrice": 0,
- "currency": "USD"
}
}
}