GamesDrop Partner API
https://partner.gamesdrop.ioTestingReal offer groups execute purchases. A separate offer 999 is available to test the API shape.
For testing purposes, please use Test Offer ID 999 only.
API Base URL:https://partner.gamesdrop.io
Welcome to the GamesDrop.io Partner API documentation! This guide provides everything you need to integrate your reseller platform with the GamesDrop network. By integrating, you gain access to our catalog of over 10,000 digital products, ranging from mobile operator top-ups to in-game currency for popular mobile games. Start here to streamline your product offerings and connect your customers to a world of digital goods.
Base URL and routes
The public Partner API base URL is https://partner.gamesdrop.io. All relative paths and examples below use this base URL. Send requests from your server, where your Shop Token is stored.
Example IDs and prices are illustrative. Use the offerGroupId from your shop’s sync for real calls, and use only 999 for testing.
| Method | Path | Purpose |
|---|---|---|
| GET | /api/v1/offers/balance | Balance |
| POST | /api/v1/offers/sync | Catalog |
| POST | /api/v1/offers/find-one | Price and availability |
| POST | /api/v1/offers/servers | Server list |
| POST | /api/v1/offers/check-game-data | Player validation |
| POST | /api/v1/offers/create-order | Create order |
| POST | /api/v1/offers/order-status | Find by orderId or transactionId |
| POST | /api/v1/offers/keys | Fulfillment data |
| GET | /api/v1/balance/transactions | Account transaction history |
Partner API forwards requests to Kernel, which validates the shop, calculates prices, and stores orders. Hub communicates with the supplier. Kernel /api/v1/partner/... paths and internal gateway endpoints do not replace the public /api/v1/offers/... routes. For example, use /api/v1/offers/balance on the public host.
GET /api/v1/offers/sync and POST /api/v1/partner/product-offer/servers remain compatible aliases. Use POST sync and /api/v1/offers/servers for new integrations.
Getting a Token
How to get it
- Log in to your merchant account
- Create a new store
- After creating the store, you will receive a unique token
- Use the complete token issued by the dashboard. Treat it as an opaque value rather than assuming a 32-character hexadecimal format.
The system supports two authorization methods depending on the request type:
-
Shop API Token:
- Used for all product and order operations (creating orders, checking status, checking store balance).
- Passed in the header:
Authorization: <your_token> - Example:
Authorization: YOUR_SHOP_TOKEN
-
JWT Token (for management):
- Used for the merchant dashboard and top-up operations (Bank Transfer, PayPal, etc.).
- Passed as a Bearer token:
Authorization: Bearer <jwt_token> - Note: JWT tokens have a limited lifespan.
Token Security
- 🔒 The token is confidential information
- ⚠️ Do not share the token with third parties
- 📝 The token cannot be recovered after creation
- 🔄 If necessary, you can generate a new token (the old one will become invalid)
Core Concepts
Order Statuses
| Status | Meaning | Action |
|---|---|---|
SUBMITTED, PROCESSING | Order accepted or still processing | Poll the same order with order-status. A delay is not a failure. |
COMPLETED, DELIVERED | Order fulfilled | Retrieve fulfillment data if the product provides it. |
CANCELED, FAILED | Order canceled or failed | Check the outcome. This status alone does not confirm a refund. |
REFUND | Order marked as refunded | Reconcile the money movement in the balance history. |
For compatibility, order-status can expose an internal FAILED state as CANCELED. Additional delivery status and failure details may be absent.
Possible Errors
Check the HTTP status and the error field in the response body. Test offer 999 can return an error such as WRONG_PRICE with HTTP 200.
| Code | Action |
|---|---|
INVALID_TOKEN | Check the Shop Token and the Authorization header. |
PERMISSION_DENIED | Check shop permissions. Access policies may return a more specific code. |
INVALID_REQUEST_BODY | Check the request and the error message. Some Kernel rejections, such as PROVIDER_CHANGED, appear in error.message. |
OFFER_NOT_FOUND | Check the group ID and availability. OUT_OF_STOCK also maps to this code. |
WRONG_PRICE | Refresh with find-one and confirm the updated price before purchasing. Use expectedPrice, receivedPrice, and currency for diagnostics when present. |
TRANSACTION_DUPLICATE | Look up the existing order by its original transactionId. |
SERVICE_UNAVAILABLE | Retry the read later. For an unknown creation outcome, reconcile the original transactionId before taking further action. |
The code can be generic: for example, a Kernel order lookup can produce SERVICE_UNAVAILABLE with ORDER_NOT_FOUND in the message. The first unsuccessful lookup does not prove that the order was never accepted.
Supplier Settlement Compatibility
GamesDrop works with multiple suppliers. Some suppliers settle in fiat payment rails, some settle in USDT, and some support both. To prevent currency-mismatch risk, each partner account is assigned a balance profile and each supplier offer is assigned a settlement method.
Balance profiles:
| Profile | Meaning |
|---|---|
FIAT | The partner is configured for fiat-based settlement. |
USDT | The partner is configured for USDT-based settlement. |
MIXED | The partner can use both fiat and USDT supplier offers. |
Offer settlement methods:
| Method | Meaning |
|---|---|
FIAT | The supplier offer is settled through fiat rails. |
USDT | The supplier offer is settled through USDT rails. |
MIXED | The supplier offer can be used by both fiat and USDT partners. |
Compatibility rules:
| Partner balance profile | Visible / purchasable offer methods |
|---|---|
FIAT | FIAT, MIXED |
USDT | USDT, MIXED |
MIXED | FIAT, USDT, MIXED |
Only compatible offers are returned by catalog and product endpoints. If an offer is not compatible with your account profile, it is hidden from sync and find-one, and order creation is rejected if attempted directly.
This compatibility layer is separate from product price markup and currency conversion. GamesDrop returns the final purchase price available to your account; your system should always use the latest price returned by find-one when creating an order.
Step-by-Step Integration Flow
Use these calls in this order for product catalog setup and order creation:
-
Load the catalog
POST /api/v1/offers/sync- Send the optional ISO 3166-1 alpha-2
countryCode(for example,USorDE) to calculate activation compatibility. It does not filter the global catalog. - Use this response to create or update products in your system.
- Store
rows[].offerGroupIdas the numeric GamesDropofferIdfor all future calls. - Store product names, offer names, price, currency, stock flag, platform/region metadata, and required customer fields.
-
Build your product page or checkout form
- Show
productName,offerGroupName,price, andcurrency. - If
isRequiredGameUserId=true, ask the customer for a game/user/player ID. - If
isRequiredGameServerId=true, fetch server values and ask the customer to select a server.
- Show
-
Refresh the selected offer before payment/order creation
POST /api/v1/offers/find-one- Send the numeric GamesDrop offer group ID and the same optional
countryCode. - Use the returned
priceas the confirmed GamesDrop purchase price forcreate-order.
-
Fetch servers if required
- If
isRequiredGameServerId=true, callPOST /api/v1/offers/servers. - Show the response keys to the user as labels and submit the selected response value as
gameServerId.
- If
-
Validate player data if required
- If
isRequiredGameUserId=true, callPOST /api/v1/offers/check-game-data. - For games that also require a server, include
gameServerId.
- If
-
Create the order
POST /api/v1/offers/create-order- Send
offerId, latest GamesDropprice, uniquetransactionId, the same optionalcountryCode, and required customer fields. - The account settings determine the settlement mode. Send the quoted
productOfferIdto require the same selected offer.
-
Poll order status
POST /api/v1/offers/order-status- Use the returned
orderId. If the create response was lost, use the originaltransactionId. - Check the final status and fulfillment data. Reconcile refunds in the transaction history.
What to Store From sync
| Field | How to use it |
|---|---|
offerGroupId | Store as the GamesDrop offerId. Send this value to find-one, servers, check-game-data, and create-order. |
productName | Product title shown in your catalog. |
offerGroupName | Sellable denomination/variant shown to the customer. |
price + currency | GamesDrop purchase price for your account. Refresh with find-one before creating an order. |
inStock | Show/sell only when true. |
isRequiredGameUserId | If true, your checkout must collect customer.gameUserId. |
isRequiredGameServerId | If true, call servers and collect customer.gameServerId. |
platformCode, platformName, regionCode, regionName | Optional display/filter metadata. Use these fields instead of parsing region/platform from the product name. |
regionalLimitations, excludedCountryCodes, countryCompatibility | Country activation metadata for warnings. An excluded country is reported as blocked; do not present it as eligible for activation. ROW does not guarantee activation in every country. |
selectedKeyFormat, availableKeyFormats, selectedKeyStock | Fulfillment format (text or image), formats available to the shop, and physical stock of the selected seller offer. Image keys require a separate shop opt-in. |
create-order Parameter Rules
| Parameter | Required when | Notes |
|---|---|---|
offerId | Always | Numeric GamesDrop offer group ID from sync. |
price | Always | Current unit price from find-one. |
transactionId | Always | Unique ID from your system. Reusing it returns the existing order or a duplicate error. |
countryCode | Recommended for game keys | ISO 3166-1 alpha-2 activation country. If your shop has a default country, it is used when this field is omitted. |
keyFormat | Image-key orders only | Send image only when find-one returns selectedKeyFormat: "image". Existing requests without this field remain text-only. |
customer.email | Optional | Used for tracking/support. |
customer.gameUserId | When isRequiredGameUserId=true | Player ID, game account ID, Telegram user ID, or similar delivery identifier. |
customer.gameServerId | When isRequiredGameServerId=true | Use the value returned by servers, for example os_euro. |
quantity | Optional | Integer 1–300, default 1. price remains the unit price. |
productOfferId | Optional | Selected seller offer from find-one, separate from the group ID. |
acceptRegionRisk | Optional | Record acknowledgment if you showed a region warning. |
customer.gameCharacterName | For certain games | Exact character name, separate from Player ID and login. |
For key/gift-card products where isReturnDataForCustomer=true and no player fields are required, you usually only send offerId, price, transactionId, and optional customer.email.
API Endpoints
Balance Management
Check Balance
You can check your account's current balance using your Shop API token.
GET /api/v1/offers/balance
Authorization: {{token}}
NoteUse
/api/v1/offers/balancewith a Shop Token. This returns the balance of the account associated with the token./api/v1/partner/balanceis a Kernel route and returns 404 on the public Partner API host.
Response:
{
"balance": 500.25,
"draftBalance": 0.00,
"isPostpaid": false,
"balanceProfile": "USDT",
"currency": {
"id": 3,
"code": "USD"
},
"partnerId": 123,
"shopId": 70,
"shopName": "EasyPay",
"ownerId": 392
}
Response Fields:
| Key | Type | Description |
|---|---|---|
balance | number | Current available balance |
draftBalance | number | Stored draft balance. Do not use it to infer delivery of an individual order. |
isPostpaid | boolean | true: postpaid account. false: prepaid account. |
balanceProfile | FIAT | USDT | MIXED | Determines which supplier offer settlement methods are visible and purchasable. |
partnerId | number | Unique ID of your partner account |
shopId | number | Shop ID resolved from the token |
shopName | string | Shop name resolved from the token |
ownerId | number | Shop owner user ID |
currency | object | Balance currency information |
Transaction History
GET /api/v1/balance/transactions?page=1&limit=25
Authorization: {{token}}
Use a Shop Token whose owner is resolved by the server, or a dashboard JWT as Authorization: Bearer {{dashboardJwt}}. A password or passwordHash is not an authorization credential for this endpoint.
History belongs to the owner account and can include multiple shops. A transaction includes shopId when that association was stored.
{
"transactions": [
{
"id": 12,
"transactionId": "12",
"amount": -10.57,
"amountExact": "-10.57000000",
"currency": "USD",
"type": "PURCHASE",
"description": "API purchase",
"balanceAfter": 489.68,
"balanceAfterExact": "489.68000000",
"orderId": "10222502",
"orderTransactionId": "purchase-0001",
"shopId": "70",
"topupId": null,
"createdAt": "2026-11-11T00:00:00Z"
}
],
"total": 1,
"page": 1,
"limit": 25
}
| Parameter | Contract |
|---|---|
page | Positive integer, default 1. |
limit | 1–100, default 25. |
dateFrom, dateTo | RFC 3339 with time zone. Inclusive start and exclusive end. |
period | all removes the default period. Without dates or period=all, returns the last 30 calendar days in UTC+05:00. |
search, type | Search by reference; filter by DEPOSIT, PURCHASE, REFUND, or ADJUSTMENT. Pass several types separated by commas. |
amountExact and balanceAfterExact are stored decimal strings. Numeric amount and balanceAfter remain for compatibility. Historical currency and related IDs can be null. Use the stored balanceAfterExact, rather than reconstructing it from visible rows. Display transaction types and balances as returned by the server.
Getting Product Information
POST /api/v1/offers/find-one
Authorization: {{token}}
Content-Type: application/json
{
"offerId": 1001,
"quantity": 1,
"countryCode": "DE",
"keyFormat": "text"
}
offerId in this request must be the numeric GamesDrop offer group ID returned as rows[].offerGroupId by sync. Do not pass provider external IDs or string product codes.
Response:
{
"offerId": 1001,
"offerGroupId": 1001,
"productOfferId": 77881,
"quantity": 1,
"unitPrice": 10.57,
"totalPrice": 10.57,
"availableQuantity": 39,
"unlimitedQuantity": false,
"canFulfillQuantity": true,
"productName": "Total War: WARHAMMER III PC Steam CD Key",
"offerName": "Total War: WARHAMMER III PC Steam CD Key",
"platformCode": "steam",
"platformName": "Steam",
"regionCode": "ROW",
"regionName": "RoW",
"regionalLimitations": "Rest of the world (RoW) - custom",
"excludedCountryCodes": ["KP", "JP", "CN", "HK", "KR", "TW"],
"countryCompatibility": "allowed",
"count": 1,
"available": 4,
"sellerOfferCount": 4,
"selectedTextStock": 39,
"selectedKeyStock": 39,
"selectedKeyFormat": "text",
"availableKeyFormats": ["text"],
"price": 10.57,
"currency": "USD",
"priceBreakdown": {
"providerPrice": 8.99,
"providerCurrency": "EUR",
"addedPercent": 3,
"fxRate": 1.1418132,
"price": 10.57,
"currency": "USD"
},
"quoteCheckedAt": "2026-11-11T00:00:00Z",
"quoteExpiresAt": "2026-11-11T00:00:45Z",
"isPriceFresh": true,
"settlementMethod": "MIXED",
"balanceProfile": "MIXED",
"isSettlementCompatible": true,
"isReturnDataForCustomer": true,
"isRequiredGameUserId": false,
"isRequiredGameServerId": false
}
Request fields description:
| Key | Value | Notes |
|---|---|---|
offerId | number | Numeric GamesDrop offer group ID from sync; must be a number, not a string |
countryCode | string | Optional ISO 3166-1 alpha-2 activation country. |
quantity | number | Quantity for the quote: 1–300, default 1. |
keyFormat | text | image | Optional fulfillment format. |
Response fields description:
| Key | Value | Notes |
|---|---|---|
offerId, offerGroupId | number | Stable GamesDrop offer group ID. Both fields have the same value. |
productOfferId | number | Internal seller-offer ID for diagnostics. Never send it as offerId. |
providerProductId, providerOfferId | string | Exact provider identifiers for diagnostics. Never send them as offerId. |
productName | string | - |
offerName | string | - |
platformCode | string | Normalized platform code when available. |
platformName | string | Display platform name when available. |
regionCode | string | Normalized region code when available, e.g. GLB, EU, ROW, CIS, US, NA, EMEA, OTH. |
regionName | string | Display region name when available, e.g. Global, Europe, RoW, CIS. |
regionalLimitations | string | Provider's broad regional limitation label. |
excludedCountryCodes | string[] | ISO country codes where activation is blocked. These exclusions take priority over the broad region. |
countryCompatibility | allowed | blocked | unverified | not_checked | Result for the requested/default country. |
count | number | Legacy field; normally 1. Use quantity for the requested count. |
available, sellerOfferCount | number | Number of eligible seller offers, not number of keys. |
selectedTextStock | number | Text-key stock of the selected exact seller offer. |
selectedKeyFormat | text | image | Actual fulfillment format of the selected seller offer. |
availableKeyFormats | string[] | Formats currently available and enabled for your shop. |
selectedKeyStock | number | Physical stock of the selected exact seller offer. selectedTextStock is 0 for image keys. |
price | number | Unit price on a single order. |
currency | KZT, USD, RUB, etc. | Pricing currency code |
priceBreakdown | object | Provider price/currency, partner markup, FX rate, and final partner price. MIXED does not add a hidden fee. |
quoteCheckedAt, quoteExpiresAt, isPriceFresh | string, string, boolean | Provider quote freshness. Call find-one immediately before order creation. |
settlementMethod | FIAT | USDT | MIXED | Settlement method of the selected supplier offer. |
balanceProfile | FIAT | USDT | MIXED | Your partner balance profile. |
isSettlementCompatible | boolean | Always true for returned offers. Incompatible offers are hidden. |
isReturnDataForCustomer | boolean | true: Key/Gift Card (will return key). false: Direct Top-up (instant credit). |
isRequiredGameUserId | boolean | true if customer.gameUserId is required for order creation. |
isRequiredGameServerId | boolean | true if customer.gameServerId is required for order creation. |
Use the offerGroupId from sync or the same offerId returned by find-one when creating an order. offerId and offerGroupId are always the same stable GamesDrop group ID. Never replace them with productOfferId or provider IDs.
find-one accepts quantity from 1 to 300, default 1. Additional response fields are quantity, unitPrice, totalPrice, availableQuantity, unlimitedQuantity, and canFulfillQuantity. price is the unit price; pass it as create-order.price, rather than passing totalPrice. Stock is checked for offers compatible with the quote. sellerOfferCount counts seller offers, not keys.
Catalog Synchronization (B2B Sync)
The Sync endpoint is specifically designed for partners who need to regularly update their local product databases. It returns a flattened, highly optimized list of available offers, current prices (with your markup applied), and stock availability in a single request.
The response includes only offers compatible with your balanceProfile. For example, a USDT partner will not receive fiat-only supplier offers in this feed.
For platform and region display, use platformCode/platformName and regionCode/regionName from the response. Do not infer Global from a product name that only says PC Steam CD Key. ROW means a broad Rest of World SKU, but activation can still be unavailable in excludedCountryCodes. Send countryCode to calculate a warning status; the response remains part of the global catalog.
POST /api/v1/offers/sync
Authorization: {{token}}
Content-Type: application/json
{
"limit": 1000,
"page": 1,
"category": "Top Up",
"search": "PUBG",
"countryCode": "DE"
}
Request fields description:
| Key | Value | Notes |
|---|---|---|
limit | number | Elements per page (max 5000). Default: 1000. |
page | number | Page number. Default: 1. |
search | string | Optional text search by product name. |
category | string | Optional filter by category (e.g., Top Up, Gift Cards). Legacy aliases TOP_UP and GIFT_CARD are also accepted. |
countryCode | string | Optional ISO 3166-1 alpha-2 activation country. It calculates countryCompatibility but never removes rows from the global catalog. |
Response:
{
"count": 1250,
"rows": [
{
"productId": 5,
"productName": "PUBG Mobile",
"offerGroupId": 101,
"offerGroupName": "60 UC",
"platformCode": "mobile",
"platformName": "Mobile",
"regionCode": "GLB",
"regionName": "Global",
"regionalLimitations": "REGION FREE",
"excludedCountryCodes": [],
"countryCompatibility": "allowed",
"productOfferId": 77882,
"providerProductId": "620b94639e44a1f3767893cc",
"providerOfferId": "66e170989a659600013da9f3",
"sellerOfferCount": 4,
"selectedTextStock": 39,
"price": 0.99,
"currency": "USD",
"isPriceFresh": true,
"inStock": true,
"isRequiredGameUserId": true,
"isRequiredGameServerId": false
}
]
}
Response fields description:
| Key | Value | Notes |
|---|---|---|
count | number | Total number of items matching filters. |
rows[].offerGroupId | number | The ID to pass as offerId when creating an order. |
rows[].productOfferId, rows[].providerProductId, rows[].providerOfferId | number, string, string | Diagnostic seller/provider IDs. Do not use them as offerId. |
rows[].productName | string | Product name. |
rows[].offerGroupName | string | Sellable variant name. |
rows[].platformCode | string | Normalized platform code when available. |
rows[].platformName | string | Display platform name when available. |
rows[].regionCode | string | Normalized region code when available, e.g. GLB, EU, ROW, CIS, US, NA. Do not infer Global from a name that only says PC Steam CD Key. |
rows[].regionName | string | Display region name when available, e.g. Global, Europe, RoW, CIS, North America. |
rows[].regionalLimitations | string | Provider's broad regional limitation label. |
rows[].excludedCountryCodes | string[] | ISO country codes where activation is blocked. |
rows[].countryCompatibility | allowed | blocked | unverified | not_checked | Warning status for the requested/default activation country. Do not present blocked as eligible for activation. |
rows[].price | number | Final cost required to purchase the item (in your currency). |
rows[].priceBreakdown | object | Provider price, configured partner markup, FX rate and final price. |
rows[].sellerOfferCount | number | Eligible seller offers. This is not key stock. |
rows[].selectedTextStock | number | Confirmed text-key stock for the selected offer. |
rows[].quoteCheckedAt, rows[].quoteExpiresAt, rows[].isPriceFresh | mixed | Snapshot freshness. sync can become stale; find-one is authoritative before checkout. |
rows[].inStock | boolean | true if at least one supplier is currently active. |
rows[].isRequiredGameUserId | boolean | true if the product requires a player identifier. |
rows[].isRequiredGameServerId | boolean | true if the product requires a server identifier. |
For sync, page defaults to 1 and limit defaults to 1000 with a maximum of 5000. Send search, category, countryCode, and keyFormat in the POST JSON body. Response count is the group-query count; some groups can be omitted after offer availability and pricing checks. Consequently, count can differ from the length of rows.
Creating an Order
POST /api/v1/offers/create-order
Authorization: {{token}}
Content-Type: application/json
{
"offerId": 1001,
"price": 10.57,
"transactionId": "purchase-0001",
"countryCode": "DE",
"keyFormat": "text",
"productOfferId": 77881
}
Request fields description:
| Key | Value | Notes |
|---|---|---|
offerId | number | Numeric GamesDrop offer group ID from sync; must be a number, not a string |
price | number | The latest GamesDrop purchase price returned by find-one. Do not send your retail/customer-facing price. |
transactionId | string | Unique transaction identifier in your system |
countryCode | string | Optional ISO 3166-1 alpha-2 activation country. Use the same value as in sync and find-one. |
keyFormat | text | image | Optional. Omitting it keeps text-only behavior. image requires shop opt-in. |
customer | object | Customer and delivery data |
customer.email | string | Optional field for tracking |
customer.gameUserId | string | Required when isRequiredGameUserId=true |
customer.gameServerId | string | Required when isRequiredGameServerId=true |
Price Confirmation and Supplier Selection
The price field in create-order is a price confirmation. It must match the GamesDrop price that your system received from find-one before creating the order.
Do not send the price shown to your end customer. Your storefront markup is managed on your side and is not part of the GamesDrop order request.
Send the exact current unit price from find-one. The server compares it with the current price and can reject a higher price as well. If the seller offer changes and productOfferId was supplied, refresh the quote.
Response:
{
"orderId": 10222502,
"transactionId": "purchase-0001",
"count": 1,
"price": 10.57,
"currency": "USD",
"offerGroupId": 1001,
"productOfferId": 77881,
"externalOrderId": "",
"productName": "Total War: WARHAMMER III PC Steam CD Key",
"offerName": "Total War: WARHAMMER III PC Steam CD Key",
"status": "COMPLETED",
"isReturnDataForCustomer": true,
"paidWithBalance": true,
"selectedKeyFormat": "text",
"key": "EXAMPLE-KEY"
}
Response fields description:
| Key | Value | Notes |
|---|---|---|
orderId | number | - |
count | number | Number of product units |
price | number | Unit price on a single order. |
currency | KZT | USD | EUR | RUB | - |
offerGroupId | number | GamesDrop offer group ID used for the order |
productName | string | - |
offerName | string | - |
status | string | SUBMITTED, PROCESSING, COMPLETED, CANCELED, FAILED, REFUND |
isReturnDataForCustomer | boolean | true: Key product. false: Direct top-up. |
key | string (optional) | Stored code or PIN, when available. Check the final status before delivery. |
selectedKeyFormat | text | image | Actual fulfillment format. |
fulfillmentItems | object[] (optional) | For image keys contains format, mimeType, fileName, contentBase64, and provider IDs. Returned to the authorized shop for COMPLETED or DELIVERED; base64 is never copied into key. |
For selectedKeyFormat: "image", decode fulfillmentItems[].contentBase64 using its mimeType and deliver the unchanged original image to the customer. Do not treat OCR as the source of truth and never log base64 or serial values.
NoteThe main fields in create and order status responses are camelCase. Clients may accept
order_idas a fallback for old stored responses. StoreorderId,transactionId,offerGroupId, andproductOfferIdseparately from the supplierexternalOrderId.
useBalance is not part of the public Partner API DTO. The server selects prepaid or postpaid billing from the partner account settings. Sending this field does not change billing mode.
The optional productOfferId from find-one requires the server to choose the same offer. If selection changes, Kernel rejects the order with PROVIDER_CHANGED in the message. acceptRegionRisk records the regional risk acknowledgment; it does not change the supplier’s activation restrictions.
gameCharacterName and customer.gameCharacterName carry a separate character name. Preserve Unicode and exact spelling. Some games require this field. The current public find-one does not expose a full requiredFields list for character names; confirm such requirements before integrating a product.
Quantity and Bulk Responses
create-order.quantity is an integer from 1 to 300, default 1. Partner API expands it into individual purchases. The request price remains the unit price. Child transaction IDs use _000, _001, and subsequent suffixes.
For quantities above 1, the response includes bulkOrder, batchId, totalRequested, completedOrders, failedOrders, chargedTotal, orders, errors, keys, and keyCount. The compatible completedOrders field counts accepted child results, some of which can still be PROCESSING. Top-level status: COMPLETED does not confirm delivery of every item. chargedTotal sums accepted order prices; use the balance history to verify actual debits. Inspect each orders[].status and then poll each order. errors[].state=UNKNOWN requires outcome reconciliation.
After losing a bulk response, look up the original child transaction IDs. A batch is not atomic: individual operations can complete separately. The dashboard bulk top-up form uses a separate contract with a limit of 10 operations.
Check Order Status
POST /api/v1/offers/order-status
Authorization: {{token}}
Content-Type: application/json
{
"transactionId": "purchase-0001"
}
Provide orderId or transactionId. If both are present, orderId takes precedence. Access is scoped to the shop. After losing a create-order response, look up the original transactionId. A new ID can create another purchase.
{
"orderId": 10222502,
"transactionId": "purchase-0001",
"count": 1,
"price": 10.57,
"currency": "USD",
"offerId": 1001,
"offerGroupId": 1001,
"productOfferId": 77881,
"externalOrderId": "",
"productName": "Total War: WARHAMMER III PC Steam CD Key",
"offerName": "Total War: WARHAMMER III PC Steam CD Key",
"status": "COMPLETED",
"isReturnDataForCustomer": true,
"selectedKeyFormat": "text",
"key": "EXAMPLE-KEY",
"createdAt": "2026-11-11T00:00:00Z"
}
orderId is the GamesDrop ID. externalOrderId is the supplier ID and can be empty until the supplier responds. transactionId may be absent when looking up by orderId. createdAt includes a time zone. Monetary fields come from the stored order.
deliveryStatus, failureCode, and failureReason provide additional information when available. PROCESSING, outcome review, and timeouts do not confirm failure or a refund. Some historical internal FAILED states are exposed as CANCELED. Verify refunds through the transaction history.
Treat key, keys, or fulfillmentItems as ready delivery only after COMPLETED or DELIVERED. For images, use mimeType, fileName, and contentBase64.
Get Fulfillment Data
POST /api/v1/offers/keys
Authorization: {{token}}
Content-Type: application/json
{
"orderId": 10222502
}
{
"fulfillment_data": {
"key": "EXAMPLE-KEY"
}
}
For real orders this route returns stored fulfillment_data and, when available, fulfillment_items. Test offer 999 has a separate response shape: {"key":"TEST_KEY_..."}. For a single status and delivery flow, use order-status, where the delivery array is called fulfillmentItems. Do not log keys or base64.
Server List Discovery
For products that require a server identifier (isRequiredGameServerId: true), you can fetch the list of available servers to display in your UI.
POST /api/v1/offers/servers
Authorization: {{token}}
Content-Type: application/json
{
"offerId": 1002
}
Response:
{
"Europe": "os_euro",
"America": "os_usa",
"Asia": "os_asia",
"Example server": "0012"
}
Note: Use the key (e.g., "Europe") as the display label and the value (e.g., "os_euro") as the gameServerId when creating an order.
Player Validation
POST /api/v1/offers/check-game-data
Authorization: {{token}}
Content-Type: application/json
{
"offerId": 1002,
"gameUserId": "00123456",
"gameServerId": "0012",
"gameCharacterName": "ผู้เล่น"
}
Request fields description:
| Key | Value | Notes |
|---|---|---|
offerId | number | Important: must be a number, not a string |
gameUserId | string | Player identifier |
gameServerId | string | Server identifier (if required) |
Successful response:
{
"status": "VALID",
"gameUserLogin": "JJJ"
}
Successful response fields description:
| Key | Value | Notes |
|---|---|---|
status | "VALID" | Player is valid |
gameUserLogin | string | Player login |
Error response:
{
"status": "INVALID",
"message": "Неверный ID игрока"
}
Error response fields description:
| Key | Value | Notes |
|---|---|---|
status | "INVALID" | Player is invalid |
check-game-data also accepts gameCharacterName. This simple public contract returns VALID/INVALID with optional gameUserLogin and message. isValid is not a response field. The current implementation can collapse supplier unavailability into INVALID; that result does not prove the account is absent. Validation is group-based and does not guarantee the same seller as a later quote. The order server performs the final validation before submission.
API Testing
Test Product
For testing API integration, a special test product is available:
- Offer group ID (
offerId): 999 - Name: Steam US
- Offer Name: TEST OFFER GROUP
- Price: use the value returned by
find-one - Returns Key: Yes
Example request for test product information:
POST /api/v1/offers/find-one
Authorization: {{token}}
Content-Type: application/json
{
"offerId": 999
}
Example creating test order:
POST /api/v1/offers/create-order
Authorization: {{token}}
Content-Type: application/json
{
"offerId": 999,
"price": 24,
"transactionId": "test_123456",
"customer": {
"email": "test@example.com",
"gameUserId": "123456789"
}
}
Before creating a test order, call find-one for offerId: 999 and copy the returned price into create-order. Do not hardcode the example price, because the current public test adapter returns 24 KZT as a synthetic quote.
Test product features:
- Returns a completed test order with a valid Shop Token
- Generates test activation key
- Creates order with COMPLETED status
- Player validation always returns VALID for test product
- Works in test mode without a provider order
Offer 999 orders are stored in the Partner API process memory. A restart or a request reaching another instance can lose the result. This test checks the API shape and does not validate PostgreSQL, account debits, or supplier fulfillment. Use synthetic recipient data.
Balance Management Examples
Check balance before purchase:
// Run on your server. Never expose the Shop Token in the browser.
const base = 'https://partner.gamesdrop.io';
const headers = { Authorization: process.env.GAMESDROP_SHOP_TOKEN };
async function read(path, options = {}) {
const response = await fetch(base + path, { headers, ...options });
const body = await response.json();
if (!response.ok || body.error) {
throw new Error(body.error?.code ?? String(response.status));
}
return body;
}
const account = await read('/api/v1/offers/balance');
const quote = await read('/api/v1/offers/find-one', {
method: 'POST',
headers: { ...headers, 'Content-Type': 'application/json' },
body: JSON.stringify({ offerId: 1001, quantity: 1 }),
});
if (!account.isPostpaid && account.currency.code === quote.currency) {
console.log({ enoughForQuote: account.balance >= quote.totalPrice });
}
Get transaction history:
const transactionsResponse = await fetch('https://partner.gamesdrop.io/api/v1/balance/transactions', {
headers: { Authorization: process.env.GAMESDROP_SHOP_TOKEN }
});
if (!transactionsResponse.ok) throw new Error(String(transactionsResponse.status));
const { transactions, total } = await transactionsResponse.json();
console.log(`Total transactions: ${total}`);
transactions.forEach(tx => {
console.log(`${tx.createdAt}: ${tx.type} ${tx.amountExact} ${tx.currency ?? ""} (Balance: ${tx.balanceAfterExact})`);
});
Integration Recommendations
💰 Balance Management
- Regularly check balance before large purchases
- Keep track of transactions for reconciliation with your system
- Notify users about need to top up when funds are insufficient
- Use pagination when requesting transaction history
🔍 Before Creating an Order
- Get up-to-date product information
- Check balance to ensure sufficient funds
- Check player validity (for direct top-up)
📝 When Creating an Order
- Use a unique transactionId
- Specify the latest GamesDrop price returned by
find-one - Do not send your customer-facing retail price in the
pricefield - Specify offerId as number, not string
- Fill in all required fields for the product type
✅ After Creating an Order
- Save the orderId
- Check the order status
- Upon COMPLETED status, receive the key/product
⚠️ When Errors Occur
- Check the token
- Ensure data correctness and request format
- Check the existing order by its original transactionId first
FAQ & Troubleshooting
Product Types (Top-up vs Keys)
Our system supports two main types of delivery. You can distinguish them using the isReturnDataForCustomer field in the Product Info response.
1. Gift Cards / Keys (isReturnDataForCustomer: true)
- What it is: The customer receives a digital code, PIN, or link to activate manually.
- Flow:
- Check the order status after creation. For
COMPLETEDorDELIVERED, readkeyorfulfillmentItems. - Deliver the returned code or image to your customer.
- Check the order status after creation. For
- Example: Steam Wallet Code, PUBG UC usage code.
2. Direct Top-up (isReturnDataForCustomer: false)
- What it is: Funds are credited directly to the player's game account. No code is returned.
- Flow:
- You MUST provide
gameUserId(and sometimesgameServerId) in thecreate-orderrequest. - We recommend validating the ID first using
/check-game-data. create-orderreturns the current status. Pollorder-statusuntil the order becomesCOMPLETEDorCANCELED.
- You MUST provide
- Example: Mobile Legends Diamonds top-up by User ID.
Currency Conversion
- The balance currency is
currency.codein the balance response. The quote currency iscurrencyin thefind-oneresponse. - If they differ, Kernel converts the prepaid debit. Do not compare amounts in different currencies. Use the transaction history for the actual debit and its currency.
- Pass the quoted GamesDrop unit price in
create-order.pricewithout adding your retail markup or a separate FX surcharge.
Common Questions
"I see a parameter 'it' mentioned, what is it?"
There is no parameter named it in our API. This is likely a typo for id or a misunderstanding.
- Product identifier is
offerId. - Transaction identifier is
transactionId. - User identifier is
gameUserId.
"How do I validate a Player ID?"
Use the POST /api/v1/offers/check-game-data endpoint. A VALID response may include a display name. This is highly recommended for Direct Top-up products to avoid errors.
Support
If you have any questions, please contact technical support:
- 📧 Email: info@gamesdrop.io
- 💬 Telegram: @igoryan34
Error Handling Recommendations
🔍 Pre-Request Checks
- Token validation
- Product ID verification
- Price accuracy
- Uniqueness of transaction_id
- Correct data format (especially offerId as number)
🛠 Response Handling
- Handle all error codes
- Log errors
- Implement retry mechanism
📊 Order Management
- Save order IDs
- Monitor statuses
- Update data
Telegram Stars
Telegram Stars use the same public Partner API methods. Discover eligible groups using sync, retain the numeric GamesDrop offerGroupId, refresh the price with find-one, and send the known recipient identifier as a string in customer.gameUserId to create-order. Direct delivery uses isReturnDataForCustomer: false. Confirm fulfillment from the existing order reaching COMPLETED.
Do not use supplier strings such as telegram_stars_100 as offerId. Available denominations and prices come from the shop catalog.
Telegram Recipient Validation
Use the standard public group validation endpoint when the selected group supports verification.
POST /api/v1/offers/check-game-data
Authorization: {{token}}
Content-Type: application/json
{
"offerId": 1003,
"gameUserId": "123456789"
}
1003 is illustrative; replace it with the appropriate group ID from your own sync. gameUserLogin is a display name, not a guaranteed numeric Telegram User ID. This endpoint is not a public resolver for arbitrary @usernames. If the supplier requires a User ID, obtain it from the recipient or your own Telegram integration.
The old https://gamesdrop.io/api/aggregator/a6/telegram/user-info example is excluded from the public contract. The A6 /telegram/user-info route is protected by a GamesDrop internal secret; a Shop Token does not grant that access.
Delivery and Retries
Save the original transactionId before submitting the order. SUBMITTED and PROCESSING mean waiting. After a timeout, look up that same order using order-status instead of creating another purchase. Failure and refund require separate server confirmation.
Delivery within 3 seconds, a 30 requests-per-second limit, and a universal 1–2500 Stars range are not public guarantees. Limits depend on the current offer group and channel. Do not apply internal Telegram API limits to Partner API.