GamesDrop.io API - Merchant Guide

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.

Table of Contents

  1. Authorization
  2. Core Concepts
  3. API Endpoints
  4. Integration Recommendations
  5. Support

Authorization

Getting a Token

How to get it

  1. Log in to your merchant account
  2. Create a new store
  3. After creating the store, you will receive a unique token
  4. Token format: abcdef1234567890abcdef1234567890

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

StatusDescriptionActions
SUBMITTEDOrder created and awaiting processingWait for transition to PROCESSING
PROCESSINGOrder is being processedWait for completion
COMPLETEDOrder successfully completedReceive key/product
CANCELEDOrder canceled due to an errorCreate a new order
REFUNDOrder refundedWait for funds return

Possible Errors

Error CodeDescriptionSolution
INVALID_TOKENInvalid authorization tokenCheck the token or get a new one
OFFER_NOT_FOUNDProduct not found or no accessCheck Product ID and access rights
TRANSACTION_DUPLICATEDuplicate transactionUse a new transaction_id
WRONG_PRICEIncorrect product priceUpdate price information
ORDER_NOT_FOUNDOrder not foundCheck Order ID
ORDER_NOT_PROCESSINGOrder is not yet processingWait for transition to PROCESSING
ORDER_NOT_COMPLETEDOrder is not yet completedWait for order completion
ORDER_ALREADY_CANCELEDOrder is already canceledCreate a new order
ORDER_ALREADY_REFUNDEDOrder is already refundedCreate a new order

API Endpoints

Check Balance

HTTP
POST /api/v1/balance/check
Authorization: {{token}}

Response:

JSON
{
  "currency": "RUB",
  "balance": 689240.32
}

Response fields description:

KeyValueNotes
currencyKZTUSD
balancenullnumber

Getting Product Information

HTTP
POST /api/v1/offers/find-one
Authorization: {{token}}

{
  "offerId": "1001"
}

Response:

JSON
{
  "productCode": "pubg_mobile",
  "productName": "PUBG Mobile",
  "offerId": "LH300MSDG",
  "offerName": "60 UC",
  "price": 560.10,
  "currency": "RUB",
  "available": true,
  "returnDataForCustomer": false,
  "required": ["gameUserId"]
}

Request fields description:

KeyValueNotes
offerIdstring-

Response fields description:

KeyValueNotes
productCodestring-
productNamestring-
offerIdstring-
offerNamestring-
pricenumber-
currencyKZTUSD
availablebooleanIs the product available for purchase
returnDataForCustomerbooleanIs an activation key returned
requiredundefinedarray

Creating an Order

HTTP
POST /api/v1/order/create
Authorization: {{token}}

{
  "offerId": "1000",
  "price": 560.10,
  "transactionId": "test112321124214",
  "customer": {
    "email": "user@gmail.com",
    "gameUserId": "52357322414"
  }
}

Request fields description:

KeyValueNotes
offerIdstring-
pricenumber-
transactionIdstringUnique transaction identifier in your system
customerundefinedobject
emailundefinedstring
gameUserIdundefinedstring

Response:

JSON
{
  "orderId": 10222502,
  "productCode": "pubg_mobile",
  "productName": "PUBG Mobile",
  "offerId": "1001",
  "offerName": "60 UC",
  "price": 560.10,
  "currency": "RUB",
  "status": "COMPLETED",
  "key": "001434249936",
  "returnDataForCustomer": true,
  "createdAt": "2024-05-28 10:08:04.296+00"
}

Response fields description:

KeyValueNotes
orderIdnumber-
productCodestring-
productNamestring-
offerIdstring-
offerNamestring-
pricenumber-
currencyKZTUSD
statusstringProcessing may take time for some denominations
keyundefinedstring
returnDataForCustomerboolean-
createdAtstringUTC +0

Check Order Status

HTTP
POST /api/v1/order/find-one
Authorization: {{token}}

{
  "orderId": 10222502
}

Request fields description:

KeyValueNotes
orderIdnumber-

Response:

JSON
{
  "orderId": 10222502,
  "productCode": "pubg_mobile",
  "productName": "PUBG Mobile",
  "offerId": "1001",
  "offerName": "60 UC",
  "price": 560.10,
  "currency": "RUB",
  "status": "COMPLETED",
  "key": "001434249936",
  "returnDataForCustomer": true,
  "createdAt": "2024-05-28 10:08:04.296+00"
}

Response fields description:

KeyValueNotes
orderIdnumber-
productCodestring-
productNamestring-
offerIdstring-
offerNamestring-
pricenumber-
currencyKZTUSD
statusstringCurrent status of the order
keyundefinedstring
returnDataForCustomerboolean-
createdAtstringUTC +0

Player Validation

HTTP
POST /api/v1/offers/check-game-data
Authorization: {{token}}

{
  "gameUserId": "52357322414",
  "gameServerId": "1234"
}

Request fields description:

KeyValueNotes
gameUserIdstringPlayer identifier
gameServerIdstringServer identifier

Successful response:

JSON
{
  "status": "VALID",
  "gameUserLogin": "JJJ"
}

Successful response fields description:

KeyValueNotes
status"VALID"Player is valid
gameUserLoginstringPlayer login

Error response:

JSON
{
  "status": "INVALID"
}

Error response fields description:

KeyValueNotes
status"INVALID"Player is invalid

Integration Recommendations

🔍 Before Creating an Order

  • Check balance (Implementation in progress)
  • Get up-to-date product information
  • Check player validity (for direct top-up)

📝 When Creating an Order

  • Use a unique transactionId
  • Specify the current price
  • Fill in all required fields

✅ 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
  • Create a new order if necessary

Support

If you have any questions, please contact technical support:

Error Handling Recommendations

🔍 Pre-Request Checks

  • Token validation
  • Product ID verification
  • Price accuracy
  • Uniqueness of transaction_id

🛠 Response Handling

  • Handle all error codes
  • Log errors
  • Implement retry mechanism

📊 Order Management

  • Save order IDs
  • Monitor statuses
  • Update data