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
Authorization
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
- 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
Status | Description | Actions |
---|---|---|
SUBMITTED | Order created and awaiting processing | Wait for transition to PROCESSING |
PROCESSING | Order is being processed | Wait for completion |
COMPLETED | Order successfully completed | Receive key/product |
CANCELED | Order canceled due to an error | Create a new order |
REFUND | Order refunded | Wait for funds return |
Possible Errors
Error Code | Description | Solution |
---|---|---|
INVALID_TOKEN | Invalid authorization token | Check the token or get a new one |
OFFER_NOT_FOUND | Product not found or no access | Check Product ID and access rights |
TRANSACTION_DUPLICATE | Duplicate transaction | Use a new transaction_id |
WRONG_PRICE | Incorrect product price | Update price information |
ORDER_NOT_FOUND | Order not found | Check Order ID |
ORDER_NOT_PROCESSING | Order is not yet processing | Wait for transition to PROCESSING |
ORDER_NOT_COMPLETED | Order is not yet completed | Wait for order completion |
ORDER_ALREADY_CANCELED | Order is already canceled | Create a new order |
ORDER_ALREADY_REFUNDED | Order is already refunded | Create a new order |
API Endpoints
Check Balance
HTTPPOST /api/v1/balance/check Authorization: {{token}}
Response:
JSON{
"currency": "RUB",
"balance": 689240.32
}
Response fields description:
Key | Value | Notes |
---|---|---|
currency | KZT | USD |
balance | null | number |
Getting Product Information
HTTPPOST /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:
Key | Value | Notes |
---|---|---|
offerId | string | - |
Response fields description:
Key | Value | Notes |
---|---|---|
productCode | string | - |
productName | string | - |
offerId | string | - |
offerName | string | - |
price | number | - |
currency | KZT | USD |
available | boolean | Is the product available for purchase |
returnDataForCustomer | boolean | Is an activation key returned |
required | undefined | array |
Creating an Order
HTTPPOST /api/v1/order/create Authorization: {{token}} { "offerId": "1000", "price": 560.10, "transactionId": "test112321124214", "customer": { "email": "user@gmail.com", "gameUserId": "52357322414" } }
Request fields description:
Key | Value | Notes |
---|---|---|
offerId | string | - |
price | number | - |
transactionId | string | Unique transaction identifier in your system |
customer | undefined | object |
email | undefined | string |
gameUserId | undefined | string |
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:
Key | Value | Notes |
---|---|---|
orderId | number | - |
productCode | string | - |
productName | string | - |
offerId | string | - |
offerName | string | - |
price | number | - |
currency | KZT | USD |
status | string | Processing may take time for some denominations |
key | undefined | string |
returnDataForCustomer | boolean | - |
createdAt | string | UTC +0 |
Check Order Status
HTTPPOST /api/v1/order/find-one Authorization: {{token}} { "orderId": 10222502 }
Request fields description:
Key | Value | Notes |
---|---|---|
orderId | number | - |
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:
Key | Value | Notes |
---|---|---|
orderId | number | - |
productCode | string | - |
productName | string | - |
offerId | string | - |
offerName | string | - |
price | number | - |
currency | KZT | USD |
status | string | Current status of the order |
key | undefined | string |
returnDataForCustomer | boolean | - |
createdAt | string | UTC +0 |
Player Validation
HTTPPOST /api/v1/offers/check-game-data Authorization: {{token}} { "gameUserId": "52357322414", "gameServerId": "1234" }
Request fields description:
Key | Value | Notes |
---|---|---|
gameUserId | string | Player identifier |
gameServerId | string | Server identifier |
Successful response:
JSON{
"status": "VALID",
"gameUserLogin": "JJJ"
}
Successful response fields description:
Key | Value | Notes |
---|---|---|
status | "VALID" | Player is valid |
gameUserLogin | string | Player login |
Error response:
JSON{
"status": "INVALID"
}
Error response fields description:
Key | Value | Notes |
---|---|---|
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:
- 📧 Email: support@gamesdrop.io
- 💬 Telegram: @igoryan34
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