Developers
Quickstart
Add checkout with verified release to any page.
<script src="https://cdn.openbox.dev/openbox-checkout.js"></script>
<div id="checkout"></div>
<script>
OpenBox.mount("#checkout", {
publishableKey: "pk_demo_openbox", // safe in the browser
sku: "aurora-x1", // price from your catalog
wallet: "passkey", // embedded key, no popup
onPaid: ({ ref }) => markPaid(ref),
});
</script>API keys
Testnet keys. Never put the secret key in a browser.
- Publishable key
- pk_demo_openbox
- Secret key
- sk_••••••••Server only
- Webhook endpoint
Settlement rules
The buyer's payment is held at checkout and released by these rules once the parcel is checked at the door.
MatchThe serial on the label matches what you packed: you get the payout, the courier gets their fee.
Wrong itemThe buyer is refunded in full and the parcel comes back to you. The courier is still paid for a verified handover.
DamagedThe buyer can accept a partial refund, approved with World ID, and you receive the rest. If they don't accept in time, you're paid in full.