KYC API
Create verification sessions, read the resulting attestation status, and receive provider callbacks.
Start a session
POST
/kyc/startAPI keyCreates a KYC session for a wallet and returns a hosted verification URL.
Request body
| Field | Type | Description |
|---|---|---|
userPubkey | string | Investor's Solana wallet (base58). |
schemaId | string | Schema to verify, e.g. kyc_individual_v1. |
curl -X POST https://passify.biz/api/v1/kyc/start \
-H "Authorization: Bearer passify_live_xxx" \
-H "Content-Type: application/json" \
-d '{ "userPubkey": "7xKXtg2...", "schemaId": "kyc_individual_v1" }'{ "session_id": "sess_9x2k", "session_url": "https://verify.blockpass.org/..." }Get status
GET
/kyc/status/{pubkey}API keyReturns the current attestation status for a wallet.
curl https://passify.biz/api/v1/kyc/status/7xKXtg2... \
-H "Authorization: Bearer passify_live_xxx"{
"status": "verified",
"attestation_id": "att_5m8n",
"schema": "kyc_individual_v1",
"expires_at": "2026-12-15T00:00:00Z",
"onchain_tx": "3kLm...xyz"
}status is one of pending, verified, rejected, or expired.
Provider webhook
POST
/kyc/webhookHMAC signatureCalled by the KYC provider when a verification completes. Passify validates the HMAC signature before processing — an unsigned or mismatched payload is rejected and never acted upon.
Last updated