Version 2.0.0

DYEEEPSTORE API

Welcome to the DYEEEPSTORE API V2 - Designed to facilitate smooth and secure game top-up transactions. Use our endpoint to check all game lists, active products, manage account balances, and complete game credit purchase orders in real-time.

Getting started

BASE URLhttps://api.dyeeepstore.com/api/v2

Some basic steps you should take to get started:

  • Visit API Connection Settings
  • Get your API Key on the API Connection Settings page
  • The API uses the GET and POST methods
  • Contact admin to get GLOBAL_ACCESS_KEY
Please whitelist IP 103.243.173.74 on your system.

Sandbox Mode

Use the sandbox to simulate transactions without deducting from your account balance :

  • Add headers X-ENVIRONMENT: sandbox
  • Or add query param ?mode=sandbox

Authentication

All endpoints require two headers for authentication :

Required Headers
--headerAuthorization: Bearer <USER_API_KEY>
--headerX-API-KEY: <GLOBAL_ACCESS_KEY>

Check Balance

This endpoint is used to check the remaining balance of your account linked to an API key. You must pass a Bearer Token or x-api-key in the request header.

Endpoint

GET/check-balance

Headers

KeyTypeDescription
AuthorizationBearer TokenThe user's API token Bearer <your_api_key>
x-api-keyString (opsional)Authentication alternatives to Bearer Tokens
X-ENVIRONMENTString (opsional)Use sandbox for simulation mode

Query Parameters

No additional parameters are required.

Request

ShellGET /check-balance
curl -X  https://api.dyeeepstore.com/api/v2/check-balance \
     -H "Authorization: Bearer YOUR_API_KEY"

Response

Json
{
  "error": false,
  "code": 200,
  "message": "Success",
  "data": {
    "name": "John Doe",
    "email": "john@example.com",
    "membership": "platinum",
    "balance": 125000
  }
}

Product

This endpoint is used to retrieve a list of available top-up game products, complete with price, category, and active status. You can filter by game slug or brand

Endpoint

GET/product

Headers

KeyTypeDescription
AuthorizationBearer TokenThe user's API token Bearer <your_api_key>
x-api-keyString (opsional)Authentication alternatives to Bearer Tokens
X-ENVIRONMENTString (opsional)Use sandbox for simulation mode

Query Parameters

ParameterTypeDescription
slugString (opsional)Game slug to filter products. Must match the data in the games table
brandString (opsional)Game brand name to filter products directly

Request

ShellGET /product
curl -X  "https://api.dyeeepstore.com/api/v2/product?slug=mobile-legends" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

Json
{
  "error": false,
  "code": 200,
  "message": "Success",
  "data": [
    {
      "id": "075b24b6-8eb3-cb44-b3fa-4e331d86db89",
      "code": "MLBB-ID-DS-10",
      "serviceName": "10 (9+1) Diamonds",
      "category": "MOBILE LEGENDS",
      "price": 2901,
      "status": "active",
      "images": "product/01K6X7NTQA0J74DT6GZ2FZBSHE.webp"
    }
  ]
}

Order

This endpoint is used to create new top-up orders to the DYEEEPSTORE API server. Once the order is successful, the system will send to a callback_url you provided.

Endpoint

POST/order

Headers

KeyTypeDescription
AuthorizationBearer TokenThe user's API token Bearer <your_api_key>
Content-Typeapplication/jsonIndicates that the body is sent in JSON format
X-ENVIRONMENTString (opsional)Use the sandbox to simulate orders without real transactions

Body Parameters

ParameterTypeDescription
codeStringProduct code you want to buy (example: MLBB-ID-DS-100)
referenceNumberStringA unique reference number from your system, used to match orders
dataStringThe data required by the product is usually a combination of ID|Server (example: 123456789|1234)
telpStringCustomer phone number, used for additional notifications
callback_urlStringThe URL that will automatically receive order status notifications

Request

ShellPOST /order
curl -X  "https://api.dyeeepstore.com/api/v2/order" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "X-ENVIRONMENT: sandbox" \
  -d '{
    "code": "MLBB-ID-DS-100",
    "referenceNumber": "ORDER12345",
    "data": "123456789|1234",
    "telp": "081234567890",
    "callback_url": "https://example.com/callback"
  }'

Response

Json
{
  "error": false,
  "code": 200,
  "message": "Order Successfully",
  "data": {
    "invoice_number": "INV-API-AB12CD34EF56",
    "serial_number": "SANDBOX-XXXXXX",
    "product_name": "Mobile Legends 100 Diamonds",
    "price": 21000,
    "created_at": ""
  }
}

Callback

This endpoint is used to receive callback notifications from the system after an order is processed. Your server should handle this endpoint to update your local order status. The request will be sent as a POST with JSON payload.

Endpoint

POST/callback

Headers

KeyTypeDescription
Content-Typeapplication/jsonSpecifies that the request body is in JSON format.

Query Parameters

ParameterTypeDescription
referenceStringOrder invoice number or unique reference ID associated with the transaction
statusStringSends a report to your callback whenever there is a change in transaction status. Possible values: Sukses, Gagal, Proses, Sandbox - Sukses
messageStringMessage or note about the current transaction status
serial_numberStringSerial number or product key returned for the order (if applicable)

Request

ShellPOST /callback
curl -X  "https://api.dyeeepstore.com/api/v2/callback" \
  -H "Content-Type: application/json" \
  -d '{
    "reference": "INV-API-AB12CD34EF56",
    "status": "Sukses",
    "message": "Top up successful",
    "serial_number": "SN-ABC123456"
  }'

Response

Json
{
  "error": false,
  "code": 200,
  ""message": "Callback processed"
  }
}