Skip to main content
Version: Canary 🚧

API reference

Base URL: https://auth.corepass.net

Authentication​

SurfaceHow to authenticate
OAuth 2.0 / OIDC endpointsStandard OAuth 2.0. The token endpoint takes HTTP Basic client_id:secret (or PKCE only, for public clients). /userinfo takes Authorization: Bearer <access_token>.
KYC and KYB endpointsAuthorization: <YOUR_API_KEY>: the raw API key from the dashboard, without a Bearer prefix. Server-to-server only.

OAuth 2.0 / OpenID Connect​

MethodPathDescription
GET/.well-known/openid-configurationOIDC discovery document.
GET/.well-known/jwks.jsonKeys for verifying login tokens.
GET/oauth2/authAuthorization endpoint. Serves the CorePass QR login page. Add scope business for business login.
POST/oauth2/tokenExchange an authorization code or refresh token for tokens.
GET/userinfoClaims of the authenticated user.

Details: Login (OAuth 2.0 / OIDC).

KYC​

Responses are wrapped in { "data": …, "message": "…", "success": true }. Errors are { "success": false, "error": { "code": …, "message": "…" } }.

MethodPathDescription
GET/api/v1/blockchain/verified?user=…&items=…Which requested fields the user has verified.
POST/api/v2/kyc/qrcodeCreate a KYC request and get a QR code / deep link.
GET/api/v2/kyc/status?referenceKey=…Latest status of an order.
GET/api/v2/kyc/all-statuses?referenceKey=…Full status history of an order.
POST/api/v1/blockchain/validRe-validate stored field values.

Webhooks: KYC webhooks Β· Fields: KYC fields Β· Statuses: KYC status values

KYB​

Errors use { "success": false, "error": { "code": …, "reason": "…", "message": "…" } }. See KYB error codes.

Webhook endpoint (kyb:read)​

MethodPathDescription
PUT/api/v1/kyb/webhook-endpointRegister or replace your endpoint. Returns the secret once.
GET/api/v1/kyb/webhook-endpointRead the registered endpoint.
POST/api/v1/kyb/webhook-endpoint/rotate-secretRotate the secret. The old one stays valid for 24 hours.
POST/api/v1/kyb/webhook-endpoint/reactivateLift a quarantine. The queued backlog is then delivered.

Lookups (kyb:read)​

MethodPathDescription
GET/api/v1/kyb/status/{walletAddress}Verification status of a business.
GET/api/v1/kyb/verify/{walletAddress}Status plus governance rules and team size.
GET/api/v1/kyb/members/{walletAddress}Member roster.
GET/api/v1/kyb/pricingField vocabulary, PII flags and pricing tiers.
GET/api/v1/kyb/billing/accountCredit balance.
GET/api/v1/kyb/billing/chargesCharge history.

Data requests (kyb:data-request, plus kyb:pii for person-level fields)​

MethodPathDescription
POST/api/v1/kyb/data-requestsCreate by wallet address.
POST/api/v1/kyb/data-requests/offersCreate a QR-code offer. Idempotency-Key required.
GET/api/v1/kyb/data-requests/offers/{offerId}Poll an offer.
POST/api/v1/kyb/data-requests/offers/{offerId}/cancelCancel an open offer.
POST/api/v1/kyb/data-requests/quotePrice quote.
GET/api/v1/kyb/data-requestsList and filter by status, limit.
GET/api/v1/kyb/data-requests/{requestId}Current state.
POST/api/v1/kyb/data-requests/{requestId}/cancelCancel while pending_approval.
GET/api/v1/kyb/data-requests/{requestId}/deliveriesWebhook delivery attempts.
GET/api/v1/kyb/data-requests/{requestId}/events?after_seq=Event stream.
POST/api/v1/kyb/data-requests/{requestId}/redeliverSend webhook events again.
GET/api/v1/kyb/data-requests/{requestId}/releasePull the signed attestation.

Signature requests (kyb:signature)​

MethodPathDescription
POST/api/v1/kyb/signature-requestsCreate by wallet address. Idempotency-Key required.
POST/api/v1/kyb/signature-requests/offersCreate a QR-code offer. Idempotency-Key required.
GET/api/v1/kyb/signature-requests/offers/{offerId}Poll an offer.
POST/api/v1/kyb/signature-requests/offers/{offerId}/cancelCancel an open offer.
GET/api/v1/kyb/signature-requestsList signature requests.
GET/api/v1/kyb/signature-requests/{requestId}Current state.
POST/api/v1/kyb/signature-requests/{requestId}/cancelCancel while pending_approval.
GET/api/v1/kyb/signature-requests/{requestId}/deliveriesWebhook delivery attempts.
GET/api/v1/kyb/signature-requests/{requestId}/eventsEvent stream.
GET/api/v1/kyb/signature-requests/{requestId}/signatureRead the EIP-1271 signature.

KYB signing keys​

MethodPathDescription
GET/.well-known/kyb-jwks.jsonKeys for verifying KYB attestations. They are separate from the login JWKS. Besides keys, the document also carries the required issuer and typ.

Conventions​

  • Timestamps are Unix time in seconds.
  • CoreIDs / wallet addresses are sent without a 0x prefix, e.g. ab72a31c…. Login tokens carry them as coreid:<address> in sub.
  • Idempotency. KYB creates accept an Idempotency-Key header. It is required for offers and signature requests and recommended elsewhere. A replay returns the original object (200 instead of 201).
  • Webhook responses. Answer any 2xx to acknowledge a KYC or KYB webhook.