New integrations should use /catalog/packs and /pack-plays (including their detail and action routes). Checkout items accept type: "pack" with pack_id; legacy type: "box" and box_id remain accepted. Responses, config fields, capability fields, and error codes retain their legacy names for compatibility.
Build your own collectibles app
Bring DYLI to your website or app. Customers can open packs, buy and list collectibles, make offers, trade with each other, and ship items from their vault. You build the experience. DYLI handles the shared inventory, contracts and fulfillment.
Get started with the storefront template →
Available in v1.33
Choose the parts your app needs. Check the returned capabilities before showing a live action.
- Open packs: buy and open 1–10 of the same pack in one checkout.
- Vault: keep items in the customer's collection and view their holdings.
- Gift sealed packs: transfer an unopened paid checkout to another customer in your app on Base, with the current owner's signature. Check
capabilities.sealed_box_transfer.ready. Transfer flow. - Gift items: send vaulted items to another customer in your app on Base. Check
capabilities.community.gifting.ready; managed wallets support gas sponsorship when available. Item gifts. - Sell back: accept an available buyback during opening or after vaulting, and receive USDC in the customer's wallet. Check
capabilities.post_vault_offers.readybefore enabling post-vault acceptance. - Ship: redeem eligible items from the vault, with address validation, delivery rates and shipment status.
- Marketplace: list items, buy listings, make offers and accept offers through DYLI's existing marketplace.
- Trade: exchange items and optional USDC with another collector through DYLI's existing P2P contract.
Marketplace and trading have separate settings for including DYLI listings and DYLI collectors. Both default to your own community. Listings and offers created through your app still appear on DYLI. Set up marketplace and trading →
The example includes card checkout for packs and a Base USDC balance. Marketplace purchases and trade cash use that wallet balance, not Stripe. You don't need your own Stripe account. Building your own pack checkout? Customers can pay with other crypto through a swap or bridge, such as Relay, while you settle the purchase with DYLI in Base USDC.
For new Base USDC purchases that open immediately, use USDC checkout. The customer's buy transaction collects the quoted pack price and fee and starts opening. An initial USDC approval may be needed; compatible smart wallets can batch it with the buy. Card payments and sealed-pack purchases still finish payment before opening.
Make it yours
Start with the storefront template, or use the API with your own frontend and backend. Keep your existing login, or connect your own Privy app for a new storefront. Each customer needs a Base wallet to receive items and sign transactions.
Commerce endpoints need a Commerce API key from a DYLI Pro account. Your customers don't need Pro. Keep the key on your server. It identifies your app, so there's no slug or API URL to configure in the starter. You can build your own UI first with mock data, or browse the Read API with a free Read key.
For DYLI-managed login, contact us to activate. We set up a separate Privy app for your storefront, not shared DYLI sign-in.
Fees and earnings
Your app earns 10% of settled pack profit: base sales minus cash buybacks and the cost of items customers keep, with losses offsetting gains. Earnings belong to the DYLI account that owns the key.
You also earn 10% of DYLI's collected fee on secondary sales and cash trades completed through your Commerce app by default. For example, a $100 secondary sale with a 5% DYLI fee earns you $0.50. This comes from DYLI's fee, with no extra customer charge. Revenue share and custom rates.
View orders, buybacks and earnings in Profile → Storefront → Commerce, and withdraw available earnings through Claim.
You can also charge a flat fee per pack or a percentage of the subtotal. Set the fee to zero if you don't want to add one. Pack prices, card processing, gas and shipping still apply. Use INCLUDED_IDS to show only your chosen packs. Configure packs and fees →
Start building
- Quickstart: get your key and run the storefront.
- Test before launch: check checkout, openings and shipping.
- API reference: find the endpoints for your integration.
- Get help from DYLI: request managed login, domain changes or testing help.
Using your own login or payment system? See authentication and payments. Building with a coding tool? Use the Markdown reference or OpenAPI schema.