Components
Security boundaries
- Never expose
usk_live_*in client bundles. UsecreatePaymentSessionfrom 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 providerbaseUrl and appends paths such as:
POST /api/v1/payments(when creating from the browser withapiKey)POST /api/v1/payments/:id/verify(merchant verify, Bearer)POST /api/public/payments/:id/verify(checkout verify,x-unseen-payment-token)
