CDKeyMarkt
Catalog
API
Blog
Work With Us
CDKeyMarkt API · v1

Gift card API for resellers and online stores. 30,000+ products, no stock to hold.

One REST API for digital gift cards, gaming cards, game keys and game currency. Your store shows our catalog with wholesale prices, your customer pays you, and your server gets the code back in under a second.

  • 30,000+products
  • 100+countries
  • <1 stypical delivery
  • 2015in the market since
curl -X POST https://api.cdkeymarkt.com/v1/orders \
  -H "Authorization: Bearer $CDKM_API_KEY" \
  -H "Idempotency-Key: shop-100482-1" \
  -d '{"reference":"SHOP-100482","currency":"EUR",
       "items":[{"product_id":"prd_8kq2v7m1","quantity":1,
                  "max_unit_price":"19.50"}]}'
201 Created
JSON
{
  "id": "ord_3n7xk2p9q4",
  "status": "completed",
  "total": "19.12",
  "items": [{
    "name": "Steam Wallet Gift Card 20 EUR",
    "codes": [{ "code": "8XK4Q-2M7PD-L9VRT" }]
  }]
}

Who uses the API

Online stores

Resellers

Apps and bots

Loyalty and rewards

What the gift card API does

Everything a store needs to sell digital codes it does not keep in stock.

Gift card catalog

Orders

Top-ups by player ID

Webhooks

Sandbox

Balances

From request to first order

A personal manager walks you through every step.

  1. Send a request

    Fill in the form and pass a short check of your company (KYB). We work with verified businesses only.

  2. Get sandbox access

    You receive test keys and the full API documentation for your developers.

  3. Connect and test

    Set up the catalog, orders and webhooks. We go through your test orders together with you.

  4. Go live

    We enable production keys for your server IPs. Top up your balance and start selling.

Request API access

The gift card API at a glance

REST and JSON over HTTPS, key-based auth, cursor pagination, UTC timestamps, amounts as strings. The full documentation goes to partners after onboarding.

Base URL
https://api.cdkeymarkt.com/v1
Sandbox
https://sandbox.api.cdkeymarkt.com/v1
Auth
Bearer ck_live_…
GET/productsCatalog with prices, regions and stock
GET/products/{id}One product: price and availability right now
POST/ordersPlace an order and receive codes
GET/orders/{id}Order status and delivered codes
POST/top-ups/validateCheck a player ID before a top-up
GET/balanceBalance per currency
GET/transactionsStatement of charges and refunds

What you can sell

FAQ

Do I need to buy stock to use the gift card API?

No. Your store shows our catalog and places an order with us only after the customer has paid. Each order is charged to your prepaid balance.

Is this a gift card API for resellers?

Yes. The API is built for resellers, online stores, apps and reward platforms that sell or hand out digital gift cards and game keys. You get wholesale prices and a catalog of over 30,000 products.

Where is the full API documentation?

The full documentation, sandbox access and help with the integration go to partners after onboarding and the company check.

Which platforms can I connect?

Anything that can send HTTPS requests from a server: WooCommerce, Shopify, Magento, custom stores, Telegram bots and internal tools.

How fast does the code arrive?

Usually right in the response to your order, in under a second. If delivery takes longer, the order finishes in the background and we send a webhook.

Is there a sandbox?

Yes. It has a test balance, a copy of the catalog and special products that let you test delays, partial deliveries and out-of-stock cases.

Can I buy in bulk without the API?

Yes. The B2B portal has the same catalog and prices. There you can order a batch by hand and download the codes.