Documentation
Build with Packflip Partner
Sell real collectible card packs in your product through one REST API. Start in the sandbox, then move to production with the same code.
Sandbox quickstart
From a new organization to a drawn card in ten minutes.
Off-chain lifecycle
The whole purchase flow with retries: customer, draw, reveal, buyback or redemption.
Core concepts
Environments, balance, customers, cards, and operations.
Funding your balance
USDC deposits on Base, and test credit in the sandbox.
Cards and operations
Draws, sealed packs, refunds, buybacks, and redemption.
On-chain cards
Mint cards to a wallet on Base and buy minted cards back.
Webhooks
Event types, payloads, signatures, and retries.
Errors, idempotency, and retries
Error codes, safe retries, lists, and versioning.
Going live
What changes when you move from the sandbox to production.
Building with a coding agent
llms.txt, a starter prompt, and integration rules.