Lion Market
Base URLhttps://lionmarket.com/sandbox/api

Get started

Try a pack opening, purchase or shipment with sample cards and test funds. Start by reading your sandbox account.

Make your first request

Loading example…

How it works

Your session
Start without an API key. Your first write sets a session cookie. Use the same browser or cookie file to retrieve the result and continue.
Examples and receipts
A write example shows a preview. Select “Run in my sandbox” to save the result. If you retry it, keep the same request ID and body.

Step by step

  1. Check your test balance

    Read your account and note the workspace ID, default vault and available balance. Amounts are in US cents.

    GET/account
  2. Find a sample card

    List the copies in your workspace. Save an item ID and its vault ID to use in a postage request.

    GET/inventory/items
  3. Request postage

    Review the sample destination and quoted price. A shipping estimate leaves the card in your vault.

    POST/shipping/estimates
  4. Create a sample shipment

    Run the example to request an estimate and confirm it by ID. Keep the shipment ID from your response. No label is purchased.

    POST/vaults/{vault}/shipments

Account endpoints

Troubleshooting

A copied ID returns 404
Run the earlier request in the same session. Use the ID it returned in your next request.