Version 1.9.0

Documentation API IMBA GAMING STORE

Selamat datang di dokumentasi integrasi API IMBA GAMING STORE. Panduan ini akan membantu Anda memahami cara mengintegrasikan layanan kami dengan mudah dan efisien.


Getting Started

Untuk memulai integrasi, tersedia satu metode yaitu melalui API menggunakan metode POST. Anda akan membutuhkan API TOKEN serta IP Whitelist untuk dapat mengakses layanan ini.

Authorization

- API TOKEN can be obtained from the Administrator IMBA GAMING STORE to verify your identity.

- To add a SERVER IP to the whitelist, please contact the Administrator IMBA GAMING STORE.


API

Endpoint
/api/v1/balance
Headers
Content-Type: application/json
Authorization: Bearer {API_TOKEN}
Request Body
No Request Body
Request
                        

curl -X POST "{BASE_URL}/api/v1/balance"

-H "Authorization: Bearer {API_TOKEN}"

-H "Content-Type: application/json"

Response
{
  "error": false,
  "code": 200,
  "message": "Success",
  "data": {
    "name": "Cishop Indo",
    "email": "support@cishopindo.co.id",
    "telp": "6282113064552",
    "membership": "Gold",
    "balance": 0
  }
}
Endpoint
/api/v1/product
Headers
Content-Type: application/json
Authorization: Bearer {API_TOKEN}
Request Body
No Request Body
Request
                        
                        curl -X POST "{BASE_URL}/api/v1/product" -H "Authorization: Bearer {API_TOKEN}" -H "Content-Type: application/json"
                        
                    
Response
{
  "error": false,
  "code": 200,
  "message": "Success",
  "data": [
    {
      "code": "mobile-legends",
      "name": "Mobile Legends",
      "is_active": true
    }
  ]
}
Endpoint
/api/v1/variant
Headers
Content-Type: application/json
Authorization: Bearer {API_TOKEN}
Request Body
{ "code": "string" }
Request
                        
                        curl -X POST "{BASE_URL}/api/v1/variant" -H "Authorization: Bearer {API_TOKEN}" -H "Content-Type: application/json"
                        
                    
Response
{
  "error": false,
  "code": 200,
  "message": "Success",
  "data": [
    {
      "id": 4090,
      "code": "MLBB_ID_5",
      "name": "5 (5+0) Diamonds",
      "is_active": "active",
      "price": 1389,
      "processDuration": "0"
    }
  ]
}
Endpoint
/api/v1/order
Headers
Content-Type: application/json
Authorization: Bearer {API_TOKEN}
Request Body
{ "code": "string", "referenceNumber": "string", "data": "string" }
Request
                        
                        curl -X POST "{BASE_URL}/api/v1/order" -H "Authorization: Bearer {API_TOKEN}" -H "Content-Type: application/json"
                        
                    
Response
{
  "error": false,
  "code": 200,
  "message": "Success",
  "data": {
    "invoiceNumber": "RZ-RAPIXXXXXXXXX"
  }
}
Endpoint
/api/v1/status-order/{invoice}
Headers
Content-Type: application/json
Authorization: Bearer {API_TOKEN}
Request Body
No Request Body
Request
                        
                        curl -X POST "{BASE_URL}/api/v1/status-order/{invoice}" -H "Authorization: Bearer {API_TOKEN}" -H "Content-Type: application/json"
                        
                    
Response
{
  "error": false,
  "code": 200,
  "message": "Success",
  "data": {
    "invoiceNumber": "RZ-RAPIXXXXXXXXX",
    "productName": "string",
    "userData": "string",
    "statusCode": "Success"
  }
}