Products and checkout
If you want the shortest route from zero to one working integration, start with Developer quickstart first and then come back here for the fuller checkout API. If you are integrating Hilt into your own product, this is the core public runtime surface:- products
- hosted checkout
- identity handoff
- payment broadcast
- payment confirmation
- payment status
Copy-paste checkout flow
If you only need the high-level sequence, it is:- create one product
- read the buyer-facing checkout payload
- start the buyer session and keep the
payment_id - poll only while the buyer is still waiting
- switch the longer-running work to Hilt webhooks
Common questions
What is the shortest Hilt checkout integration?
Create or read a product, start a hosted checkout session for its slug, keep the returnedpayment_id, then poll payment status only while the buyer is still in the live checkout flow.
Should my backend build the payment ledger itself?
No. Your backend should keep Hilt ids for correlation, but Hilt should remain the source of truth for payment settlement state, receipt proof, membership status, and support history.When should I use webhooks instead of polling?
Use polling during the buyer’s active checkout session. Use webhooks for longer-running automation after checkout, including membership activation, receipt creation, support routing, and failed delivery recovery.The basic model
- a merchant publishes a template in the dashboard
- your backend reads or manages that same object as a product
- the buyer opens the hosted checkout
- the buyer pays, and recurring products use the native subscription path when the workspace is enabled for it
- Hilt confirms the payment and updates the merchant trail
Auth model
Use:X-Hilt-Keyfor server-side backend or bot integrationsAuthorization: Bearer JWT_TOKENfor session-assisted merchant tools- no auth for the public buyer payload and buyer session start
Supported product routes
These are the main merchant-managed routes:Product route guidance
Create a product
UsePOST /v1/products when your backend needs to create the same kind of offer a merchant could otherwise launch from the dashboard.
Product request fields
Membership fields worth setting deliberately
For recurring or gated access products, these are the fields that most affect the buyer flow:Renewal mode guidance
Use the renewal mode that matches the commercial promise:ONE_OFFfor single payments with no renewal scheduleAUTOMATICfor native Solana subscription products
Read products for a workspace
Update a product
UsePATCH /v1/products/{product_id} when the merchant changes the offer rather than creating a second one.
Archive a product
Supported public checkout routes
These are the main public buyer-flow routes:Read the public checkout payload
Checkout payload fields that matter most
Start a buyer checkout session
payment_id your integration should keep all the way through confirmation and post-payment lookups.
Connect response fields
Resolve a handoff token in checkout
If the buyer arrives with a signed handoff token, the checkout can resolve it before payment:Create a signed buyer handoff link
Use a handoff link when your bot or backend already knows who the buyer is before checkout starts.Hosted checkout versus custom wallet orchestration
If you use the standard hosted checkout, the typical public flow is:GET /v1/products/p/{slug}POST /v1/products/p/{slug}/connect- Hilt-hosted buyer wallet flow
GET /v1/payments/{payment_id}
Confirm a payment
Confirm response fields
Read payment status
PENDING_SIGNATUREPENDING_CONFIRMATIONCONFIRMEDFAILED
CONFIRMED and FAILED as terminal and everything else as transitional. Expired sessions typically surface as 410 during the session flow or as FAILED with an expiry-style failure reason.
For production automation, native webhooks should now be the main backend integration path. Reading GET /v1/payments/{payment_id} remains useful during a live buyer session or for debugging.
What to persist from checkout
Persist at least:product_idslugpayment_idtx_signatureonce it exists- your own buyer reference if you already know it
Good integration patterns
Use this pattern when you want the cleanest production integration:- create or update the product from your backend when needed
- use the hosted checkout slug as the buyer entry point
- generate a handoff link if the buyer identity is already known
- keep the
payment_id - switch your backend automation to Hilt webhooks
- poll
GET /v1/payments/{payment_id}only while the buyer is actively waiting if you need live progress - read memberships, receipts, and renewal state after confirmation
What not to build
Do not build your own parallel truth from:- wallet screenshots
- uncorrelated transaction lookups
- assumptions about behavior outside the documented Hilt API
- hosted checkout
- Hilt payment status
- Hilt memberships
- Hilt receipts

