@sleetpay/nextjs gives you four route handlers for the App Router (any runtime with Request and Response). It has no dependency on next and needs @sleetpay/sdk.
/api/checkout?productId=prod_.... Optional query parameters: priceId, seats, discountId, currency and metadata (JSON, flat values only).
Identity is never read from the query. The customer always comes from
getCustomer, so a visitor cannot check out as someone else.webhook-id header if your handler is not idempotent. See Webhooks.