Shops
What Grail Network does for a shop, and what the shop does.
Grail Network holds real trading cards in its vaults. A shop sells packs of these cards to its own buyers, on its own site. This section tells the developer of a shop how to connect to Grail Network's API.
Who does what
| Grail Network | The shop |
|---|---|
| Holds the cards in its vaults, with their prices | Has its own site, its buyers and their payments |
| Keeps the shop's balance in US dollars | Adds money to its balance |
| Picks the cards of each pull at random, and proves each pick | Shows the pull to its buyer |
| Holds each pulled card for the buyer | Tells Grail Network what its buyer does with the card |
| Ships a card to the buyer's address | Asks for a quote and orders the shipment |
Grail Network never stores a buyer's name or payment. A shop names a buyer with its own id.
The life of a pull
- The shop adds money to its balance at Grail Network.
- A buyer chooses a pack on the shop's site and pays the shop.
- The shop buys the pack at Grail Network. The pack price comes from the shop's balance.
- Grail Network picks the cards at random, and the shop shows them to the buyer.
- Each pulled card is a holding of the buyer. The shop shows the buyer's holdings.
- The buyer keeps a card, sells it back, or asks for it to be shipped.