OpenBoxMerchant
Testnet

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.
The payment is held until the parcel is checked at the door. Match: seller and courier are paid. Wrong item: the buyer is refunded and the courier is paid. Damaged: a partial refund the buyer approves with World ID; the seller gets the rest.Heldin USDTChecked atthe doorMatchSellerpaid in fullCourierdelivery feeWrong itemBuyerfull refundCourierdelivery feeDamagedBuyerpartial refundSellerthe restBuyer approves with World ID
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.