API Documentation

Base URL:https://api.jasser-card.net/

Authentication Required

Include the following header in all API requests:

JSONapi-token: YOUR_API_TOKEN

If your account has allowed IPs set, requests from any other IP are rejected. Errors return {"status":"ERROR","code":100,"message":"..."}.

Profile

GET/client/api/profile

Retrieves the user's balance and profile information.

Response Example

JSON
{
    "balance": "8788.683",
    "email": "user@email.com"
}

Products

GET/client/api/products

Retrieves all available products.

Response Example

JSON
[
    {
        "id": 365,
        "name": "UC 60",
        "price": 0.104,
        "params": ["ادخل الايدي الاعب"],
        "category_name": "UC 60",
        "available": true,
        "qty_values": {
            "min": 1,
            "max": "15000"
        },
        "product_type": "amount",
        "parent_id": 0,
        "base_price": 0.10,
        "category_img": ""
    },
    {
        "id": 18,
        "name": "UC 60",
        "price": 1.094,
        "params": ["ادخل الايدي الاعب"],
        "category_name": "PUBG Global ID UC",
        "available": true,
        "qty_values": null,
        "product_type": "package",
        "parent_id": 7,
        "base_price": 0.877,
        "category_img": "images/category/1710948113.webp"
    }
]

Filter Products by IDs

GET/client/api/products?products_id=id1,id2,id3

Retrieves specific products by their IDs.

Get Minimal Product Data

GET/client/api/products?base=1

Retrieves only product IDs and names.

Quantity Values Note

  • qty_values: null - Quantity in order must be 1
  • qty_values: ["110", "150", "210"] - Only these specific quantities are allowed
  • qty_values: {"min": "500", "max": "500000"} - Quantity must be within this range

Content

GET/client/api/content/0

Retrieves products and categories for the home page (parent ID = 0).

Get Content for Specific Category

GET/client/api/content/[category.id]

Replace [category.id] with the desired category ID to retrieve its products and subcategories.

Response Example

JSON
{
    "categories": [
        { "id": 7, "name": "PUBG Global ID UC", "img": "images/category/1710948113.webp" }
    ],
    "products": [
        { "id": 18, "name": "UC 60", "price": 1.094, "...": "same fields as /products" }
    ]
}

Order

Important: Idempotent Requests with order_uuid

The order_uuid parameter is required and serves as a unique identifier for each order request.

When you send a request with the same order_uuid more than once:

Always generate a new UUIDv4 for each unique order attempt.

GET/client/api/newOrder/364/params?qty=1&playerId=test&anyKey=anyVal&order_uuid=ecbdd545-e616-4aee-8770-7eefa977bcd

Creates a new order for a product. Must include a unique order_uuid to prevent duplicate orders.

ParameterDescriptionRequired
364Product ID (replace with desired product ID from products.id)Yes
qtyQuantity of productYes
playerIdPlayer identifier (can be any name)Depends on product
anyKeyAny additional parameters can be included as key-value pairsNo
Unique UUIDv4 identifier for the order (prevents duplicate orders when retried)Yes

Response Example

JSON
{
    "status": "OK",
    "data": {
        "order_id": "ID_9fffb0d849a45215",
        "status": "accept",
        "price": 1.26048,
        "data": {
            "playerId": "test"
        },
        "replay_api": [
            {
                "replay": ["erg3eg"]
            }
        ]
    }
}

Status Values

acceptrejectwait

Check Orders

GET/client/api/check?orders=[ID_a37aaa06,ID2,ID3]

Checks the status of one or multiple orders.

Check by Order UUID

GET/client/api/check?orders=[yourOrderUUID]&uuid=1

Replace [ID_a37aaa06] with your order ID or UUID (when using uuid=1 parameter).

Response Example

JSON
{
    "status": "OK",
    "data": [
        {
            "order_id": "ID_9fffb0d849a45215",
            "quantity": 1,
            "data": {
                "playerId": "test"
            },
            "created_at": "2025-04-10 13:55:48",
            "product_name": "A-60UC-stock",
            "price": "1.2604800000000000",
            "status": "accept",
            "replay_api": ["erg3eg"]
        }
    ]
}

Status Values

acceptrejectwait

Error Codes

Public Error Codes

120Api Token is required!
121Token error
122Not allowed to use API
123IP not allowed
130The site is under maintenance

Order Error Codes

100Insufficient balance
105Quantity not available
106Quantity not allowed
107Player ID blocked
1082FA required
109Product deleted or not found
110Product not available now
111Try again after 1 minute
112Quantity is too small
113Quantity is too large
114Unknown error
500Unknown error