Skip to main content
After Quickstart, every component here should correspond to something you touched. This page freezes the vocabulary—browser, your backend, Unseen gateway, Solana—used in later sections (Environments, Lifecycle, SDK pages).

Components

Security boundaries

  • Never expose usk_live_* in client bundles. Use createPaymentSession from the UI to hit your own API.
  • Webhook bodies must be verified with HMAC before trusting payment.confirmed-style events (@unseen_fi/sdk → unseen.webhooks.verify).

UI package API paths

The UI uses your provider baseUrl and appends paths such as:
  • POST /api/v1/payments (when creating from the browser with apiKey)
  • POST /api/v1/payments/:id/verify (merchant verify, Bearer)
  • POST /api/public/payments/:id/verify (checkout verify, x-unseen-payment-token)
See Hooks and wallets for details. Next: Environments