Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SDKs

Official SDKs are planned for Q4 2026. Until then, integrate directly via HTTP — the API is intentionally simple.

LanguagePackageStatus
Gogithub.com/pylon-id/sdk-goPlanned (Q4 2026)
JavaScript/TypeScript@pylon-id/sdkPlanned (Q4 2026)
Pythonpylon-idPlanned (Q4 2026)
Javacom.pylonid:sdkPlanned (Q4 2026)
Rustpylon-sdkPlanned (Q4 2026)

Each SDK page includes complete working examples for direct HTTP integration — calling the API, handling webhooks, and validating signatures.


Integration Pattern

Every language follows the same pattern:

  1. Call POST /v1/verify/age with your API key, policy, and callback URL
  2. Get walletUrl from the response — display as QR code
  3. Customer scans with EUDI wallet and consents
  4. PylonID POSTs result to your callbackUrl
  5. Validate the X-Pylon-Signature header (HMAC-SHA256)
  6. Process the verification result

Webhook Signature

Every webhook includes an X-Pylon-Signature header:

X-Pylon-Signature: sha256=a1b2c3d4e5f6...

This is HMAC-SHA256(your_webhook_secret, raw_request_body) formatted as sha256={hex}.

Always validate signatures and always use the raw request body (before JSON parsing). See each SDK page for language-specific examples, or the Webhooks guide for full details.


Environment Variables

export PYLON_API_KEY="pyl_..."
export PYLON_WEBHOOK_SECRET="your-webhook-secret"

Questions? See API Reference or email hello@pylonid.eu