# AjkerAPI Reference Documentation Welcome to the AjkerAPI documentation. Our REST API enables you to instantly fetch our live catalog of digital products—including prices and high-quality image URLs—and place automated orders for gift cards, game top-ups, and subscriptions. ## Authentication All API endpoints are authenticated using a Bearer token. You must include your secret API key in the `Authorization` header of every request. **Header Format:** `Authorization: Bearer sk_live_your_api_key_here` *(You can generate your API key from the Dashboard Profile page.)* ## Base URL The base URL for all API requests is your worker proxy URL, or if hitting the core FazerCards directly: `https://api.fzr.cards/api` --- ## 1. Account & Balance ### Check Balance Retrieve your current USD balance. **Endpoint:** `GET /v2/account/balance` **Headers:** `Authorization: Bearer ` --- ## 2. Product Catalog ### Get Top-Ups & Games **Endpoint:** `GET /v2/topups?include_ui=true&limit=250` **Headers:** `Authorization: Bearer ` ### Get Gift Cards **Endpoint:** `GET /v2/giftcards?include_ui=true&limit=250` **Headers:** `Authorization: Bearer ` --- ## 3. Placing Orders To place an order, you must provide an `Idempotency-Key` header to prevent accidental duplicate charges. ### Create Order **Endpoint:** `POST /v2/orders` **Headers:** - `Authorization: Bearer ` - `Content-Type: application/json` - `Idempotency-Key: ` **Body:** `{"product_id": "prod_123", "quantity": 1}` --- ## 4. Webhooks & Status ### Check Order Status **Endpoint:** `GET /v2/orders/:id` **Headers:** `Authorization: Bearer `