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
Some basic steps you should take to get started:
- Visit API Connection Settings
- Get your
API Keyon the API Connection Settings page - The API uses the GET and POST methods
- Contact admin to get
GLOBAL_ACCESS_KEY
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
103.243.173.74 on your system.Authentication
All endpoints require two headers for authentication :
Authorization: Bearer <USER_API_KEY>X-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
Headers
| Key | Type | Description |
|---|---|---|
| Authorization | Bearer Token | The user's API token Bearer <your_api_key> |
| x-api-key | String (opsional) | Authentication alternatives to Bearer Tokens |
| X-ENVIRONMENT | String (opsional) | Use sandbox for simulation mode |
Query Parameters
No additional parameters are required.
Request
curl -X https://api.dyeeepstore.com/api/v2/check-balance \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"error": false,
"code": 200,
"message": "Success",
"data": {
"name": "John Doe",
"email": "john@example.com",
"membership": "platinum",
"balance": 125000
}
}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
Headers
| Key | Type | Description |
|---|---|---|
| Authorization | Bearer Token | The user's API token Bearer <your_api_key> |
| x-api-key | String (opsional) | Authentication alternatives to Bearer Tokens |
| X-ENVIRONMENT | String (opsional) | Use sandbox for simulation mode |
Query Parameters
No additional parameters are required.
Request
curl -X https://api.dyeeepstore.com/api/v2/check-balance \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"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
Headers
| Key | Type | Description |
|---|---|---|
| Authorization | Bearer Token | The user's API token Bearer <your_api_key> |
| x-api-key | String (opsional) | Authentication alternatives to Bearer Tokens |
| X-ENVIRONMENT | String (opsional) | Use sandbox for simulation mode |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| slug | String (opsional) | Game slug to filter products. Must match the data in the games table |
| brand | String (opsional) | Game brand name to filter products directly |
Request
curl -X "https://api.dyeeepstore.com/api/v2/product?slug=mobile-legends" \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"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"
}
]
}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
Headers
| Key | Type | Description |
|---|---|---|
| Authorization | Bearer Token | The user's API token Bearer <your_api_key> |
| x-api-key | String (opsional) | Authentication alternatives to Bearer Tokens |
| X-ENVIRONMENT | String (opsional) | Use sandbox for simulation mode |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| slug | String (opsional) | Game slug to filter products. Must match the data in the games table |
| brand | String (opsional) | Game brand name to filter products directly |
Request
curl -X "https://api.dyeeepstore.com/api/v2/product?slug=mobile-legends" \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"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
Headers
| Key | Type | Description |
|---|---|---|
| Authorization | Bearer Token | The user's API token Bearer <your_api_key> |
| Content-Type | application/json | Indicates that the body is sent in JSON format |
| X-ENVIRONMENT | String (opsional) | Use the sandbox to simulate orders without real transactions |
Body Parameters
| Parameter | Type | Description |
|---|---|---|
| code | String | Product code you want to buy (example: MLBB-ID-DS-100) |
| referenceNumber | String | A unique reference number from your system, used to match orders |
| data | String | The data required by the product is usually a combination of ID|Server (example: 123456789|1234) |
| telp | String | Customer phone number, used for additional notifications |
| callback_url | String | The URL that will automatically receive order status notifications |
Request
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
{
"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": ""
}
}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
Headers
| Key | Type | Description |
|---|---|---|
| Authorization | Bearer Token | The user's API token Bearer <your_api_key> |
| Content-Type | application/json | Indicates that the body is sent in JSON format |
| X-ENVIRONMENT | String (opsional) | Use the sandbox to simulate orders without real transactions |
Body Parameters
| Parameter | Type | Description |
|---|---|---|
| code | String | Product code you want to buy (example: MLBB-ID-DS-100) |
| referenceNumber | String | A unique reference number from your system, used to match orders |
| data | String | The data required by the product is usually a combination of ID|Server (example: 123456789|1234) |
| telp | String | Customer phone number, used for additional notifications |
| callback_url | String | The URL that will automatically receive order status notifications |
Request
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
{
"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
Headers
| Key | Type | Description |
|---|---|---|
| Content-Type | application/json | Specifies that the request body is in JSON format. |
Body Parameters
| Parameter | Type | Description |
|---|---|---|
| reference | String | Order invoice number or unique reference ID associated with the transaction |
| status | String | Sends a report to your callback whenever there is a change in transaction status. Possible values: Sukses, Gagal, Proses, Sandbox - Sukses |
| message | String | Message or note about the current transaction status |
| serial_number | String | Serial number or product key returned for the order (if applicable) |
Request
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
{
"error": false,
"code": 200,
""message": "Callback processed"
}
}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
Headers
| Key | Type | Description |
|---|---|---|
| Content-Type | application/json | Specifies that the request body is in JSON format. |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| reference | String | Order invoice number or unique reference ID associated with the transaction |
| status | String | Sends a report to your callback whenever there is a change in transaction status. Possible values: Sukses, Gagal, Proses, Sandbox - Sukses |
| message | String | Message or note about the current transaction status |
| serial_number | String | Serial number or product key returned for the order (if applicable) |
Request
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
{
"error": false,
"code": 200,
""message": "Callback processed"
}
}