Skip to Content
Grail Network

Getting started

The address of the API, your key, and the first calls.

The address of the API

EnvironmentAddress
Staginghttps://api-stg.grailnetwork.com

Staging is the test environment. Its cards and money are not real.

The steps

  1. Get your API key. A user of your shop makes the key in the shop back office. The key is shown once. Keep it in your server's secrets. See Authentication.
  2. Call the API from your server only. Your server calls Grail Network. A buyer's browser never gets the key.
  3. Buy a pack. Get a commitment, then send the pull with your buyer's id. See Purchases of packs.
  4. Show the cards. The answer of the pull holds every card. Show them to your buyer. Anyone can check the pull with its proof. See Check a pull.

On this page