はじめる

#導入

The Gamers Arena API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs

APIプロトコル

当社の API は REST の一般原則に従っています

  1. 1. 標準の GET、POST リクエストを使用して通信し、HTTP 応答コードを使用してステータスとエラーを表示します。
  2. 2. すべての応答が JSON として返されることが期待できます。
  3. 3. API リクエストの Content-Type は application/json である必要があります。
  4. 4. すべてのエンドポイントは API キーによる認証を必要とします。

#認証

API キーの取得

API キーは、サーバーにリクエストを正常に送信するために非常に重要です。キーを取得するには、指示に従ってください

  1. 1. Log into your Gamers Arena dashboard.
  2. 2. サイドバーから「API キー」をクリックします。
  3. 3. メニューの「API キー」セクションで開いている API キーを選択して、キーを表示およびコピーします。

API呼び出しの承認

All API calls on Gamers Arena are authenticated. API requests made without authorization will fail with the status : failed.

サーバーからの API 呼び出しを承認するには、API リクエストのヘッダーとして YOUR_PUBLIC_KEY と YOUR_SECRET_KEY を渡します。これは、PublicKey: YOUR_PUBLIC_KEY および SecretKey: YOUR_SECRET_KEY の値を持つ Authorization ヘッダーを渡すことを意味します。

生成されたベアラートークン

#トークンの取得

ベアラー トークンを生成するには、コード例に従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: POST

API URL: https://www.rmtitem.com/api/generate/authorization-token

APIキー: API 認証情報はプラットフォーム管理者にお問い合わせください。

応答形式: JSON


ヘッダーパラメータ

PublicKey* string

Find the PublicKey from user dashboard

SecretKey* string

Find the SecretKey from user dashboard

                                                                
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'BASE_URL/generate/authorization-token',
  'headers': {
    'PublicKey': 'YOUR_PUBLIC_KEY',
    'SecretKey': 'YOUR_SECRET_KEY'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/generate/authorization-token"

payload={}
headers = {
  'PublicKey': 'YOUR_PUBLIC_KEY',
  'SecretKey': 'YOUR_SECRET_KEY'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)


123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'PublicKey' => 'YOUR_PUBLIC_KEY',
  'SecretKey' => 'YOUR_SECRET_KEY'
];
$request = new Request('POST', 'BASE_URL/generate/authorization-token', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location --request POST 'BASE_URL/generate/authorization-token' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY'
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/generate/authorization-token")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["PublicKey"] = "YOUR_PUBLIC_KEY"
request["SecretKey"] = "YOUR_SECRET_KEY"

response = http.request(request)
puts response.read_body

123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": "Token generated successfully",
    "bearer_token": "2|pz4WUIZZ9ugWvI1xiu6V7cs05mTrtD2ErRzLs8fFfc4d55c8"
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

カテゴリ

#カテゴリの取得

すべてのカテゴリ リストを取得するには、サンプル コードに従い、パラメータに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/get-category

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

ID: カテゴリID

名前: カテゴリ名

アイコン: カテゴリアイコン

タイプ: カテゴリの種類、トップアップ、カードの2種類が利用可能

アクティブな子供たち: カテゴリ内のアクティブな製品の数

                                                                
var request = http.Request('GET', Uri.parse('BASE_URL/get-category'));


http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}





                                                                
123456789101112131415 16 17181920212223242526

curl --location -g --request GET 'BASE_URL/get-category'


123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/get-category', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location --request GET 'BASE_URL/get-category' \
--header 'PublicKey: YOUR_PUBLIC_KEY' \
--header 'SecretKey: YOUR_SECRET_KEY'
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/get-category")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "categories": [
            {
                "id": 1,
                "name": "Mobile Game Cards",
                "icon": "fa-light fa-game-console-handheld",
                "type": "card",
                "active_children": 2
            },
            {
                "id": 2,
                "name": "Game Cards",
                "icon": "fa-light fa-diamond",
                "type": "card",
                "active_children": 2
            }
            .....
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

トップアップ

#トップアップを入手

すべての Top Up リストを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/top-up/list

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

ID: IDを補充する

カテゴリID: チャージカテゴリー id

名前: 補充名

ナメクジ: スラッグを補充する

地域: 地域を補充する

注記: 補充メモ

即時配送: チャージ即時配送ステータス。 1 For All アクティブな即時配信である必要があります。

注文情報: チャージ注文情報

説明: トップアップの説明

ガイド: チャージガイド

total_review: チャージ合計レビュー

平均評価: トップアップの平均評価

並べ替え: Top Up 並べ替え、日付順に並べ替える場合は 1、価格順に並べ替える場合は 2 など。

状態: チャージステータス。アクティブなトップアップは 1 For All である必要があります

画像: トップアップ画像の URL パス

プレビュー画像: トップアッププレビュー画像の URL パス

サービス: TopUp サービス

作成日: TopUp の作成日

更新日: TopUpの更新日

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/top-up/list',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});






                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/top-up/list"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)




123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/top-up/list', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/top-up/list' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/top-up/list")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body



123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "current_page": 1,
        "items": [
            {
                "id": 2,
                "category_id": 8,
                "name": "MICO Live Coins",
                "slug": "mico-live-coins",
                "region": "Global",
                "note": null,
                "status": 1,
                "instant_delivery": 1,
                "image": {
                    "image": "top-up/gYwgPOr73OKgqyRoWiLH3zwQ8oXK55.webp",
                    "image_driver": "local",
                    "preview": "top-up/VPJS0Mr6yqkPR2YRzGZKAqunbuTf0D.webp",
                    "preview_driver": "local"
                },
                "order_information": {
                    "1": {
                        "field_value": "Name",
                        "field_name": "Name",
                        "field_placeholder": "Name",
                        "field_note": "Take is seriously",
                        "field_type": "text"
                    }
                },
                "description": "About MICO Live\r\n

MICO Live is one of the most popular worldwide social networking apps for live.

", "guide": "How to top-up MICO Live Coins?\r\n

Refer the simple steps below:

\r\n
    \r\n
  1. Enter your Mico Live ID and select the top up amount.
  2. \r\n
", "total_review": 0, "avg_rating": 0, "sort_by": 1, "deleted_at": null, "created_at": "2025-03-04T09:54:06.000000Z", "updated_at": "2025-03-04T09:54:06.000000Z", "preview_image": "http://192.168.0.123/gamers-arena/project/assets/upload/top-up/VPJS0Mr6yqkPR2YRzGZKAqunbuTf0D.webp", "top_up_detail_route": "http://192.168.0.123/gamers-arena/project/direct-topup/details/mico-live-coins", "services": [ { "id": 1, "top_up_id": 2, "name": "MICO Live 88 Coins", "image": "top-up-service/EOPdhKAMgfaPhI1VxN30StKN3xytZI.webp", "image_driver": "local", "price": 2.8, "discount": 5, "discount_type": "percentage", "status": 1, "is_offered": 0, "offered_sell": 0, "max_sell": 0, "sort_by": 1, "old_data": null, "campaign_data": null, "created_at": "2025-03-04T09:57:49.000000Z", "updated_at": "2025-03-04T09:57:49.000000Z", "image_path": "http://192.168.0.123/gamers-arena/project/assets/upload/top-up-service/EOPdhKAMgfaPhI1VxN30StKN3xytZI.webp" } ...... ] }, ..... ], "first_page_url": "BASE_URL/top-up/list?page=1", "from": 1, "last_page": 1, "last_page_url": "BASE_URL/top-up/list?page=1", "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "BASE_URL/top-up/list?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ], "next_page_url": null, "path": "BASE_URL/top-up/list", "per_page": 10, "prev_page_url": null, "to": 10, "total": 10 } }
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#カテゴリー別にトップアップを取得

カテゴリ ID ごとにすべての Top Up リストを取得するには、コード例に従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/top-up/list?category_id={category_id}

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

ID: IDを補充する

カテゴリID: チャージカテゴリー id

名前: 補充名

ナメクジ: スラッグを補充する

地域: 地域を補充する

注記: 補充メモ

即時配送: チャージ即時配送ステータス。 1 For All アクティブな即時配信である必要があります。

注文情報: チャージ注文情報

説明: トップアップの説明

ガイド: チャージガイド

total_review: チャージ合計レビュー

平均評価: トップアップの平均評価

並べ替え: Top Up 並べ替え、日付順に並べ替える場合は 1、価格順に並べ替える場合は 2 など。

状態: チャージステータス。アクティブなトップアップは 1 For All である必要があります

画像: トップアップ画像の URL パス

プレビュー画像: トップアッププレビュー画像の URL パス

サービス: TopUp サービス

作成日: TopUp の作成日

更新日: TopUpの更新日

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/top-up/list?category_id={category_id}',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN',
    'Cookie': '....'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/top-up/list?category_id={category_id}"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN',
  'Cookie': '....'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN',
  'Cookie' => '...'
];
$request = new Request('GET', 'BASE_URL/top-up/list?category_id={category_id}', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/top-up/list?category_id=8' \
--header 'YOUR_BEARER_TOKEN' \
--header '....'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/top-up/list?category_id={category_id}")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
request["Cookie"] = "..."

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "current_page": 1,
        "items": [
            {
                "id": 2,
                "category_id": 8,
                "name": "MICO Live Coins",
                "slug": "mico-live-coins",
                "region": "Global",
                "note": null,
                "status": 1,
                "instant_delivery": 1,
                "image": {
                    "image": "top-up/gYwgPOr73OKgqyRoWiLH3zwQ8oXK55.webp",
                    "image_driver": "local",
                    "preview": "top-up/VPJS0Mr6yqkPR2YRzGZKAqunbuTf0D.webp",
                    "preview_driver": "local"
                },
                "order_information": {
                    "1": {
                        "field_value": "Name",
                        "field_name": "Name",
                        "field_placeholder": "Name",
                        "field_note": "Take is seriously",
                        "field_type": "text"
                    }
                },
                "description": "About MICO Live\r\n

MICO Live is one of the most popular worldwide social networking apps for live streaming.

", "guide": "How to top-up MICO Live Coins?\r\n

Refer the simple steps below:

\r\n
    \r\n
  1. Enter your Mico Live ID and select the top up amount.
  2. \r\n
  3. Check out and select your payment method.
  4. \r\n
  5. Once payment made, Mico Live coins will top up automatically into your Mico Live account.
  6. \r\n
", "total_review": 0, "avg_rating": 0, "sort_by": 4, "deleted_at": null, "created_at": "2025-03-04T09:54:06.000000Z", "updated_at": "2025-03-05T11:43:51.000000Z", "preview_image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up/VPJS0Mr6yqkPR2YRzGZKAqunbuTf0D.webp", "top_up_detail_route": "http://192.168.0.123/gamers-arena/gamers/direct-topup/details/mico-live-coins", "services": [ { "id": 1, "top_up_id": 2, "name": "MICO Live 88 Coins", "image": "top-up-service/EOPdhKAMgfaPhI1VxN30StKN3xytZI.webp", "image_driver": "local", "price": 2.8, "discount": 5, "discount_type": "percentage", "status": 1, "is_offered": 1, "offered_sell": 0, "max_sell": 0, "sort_by": 1, "old_data": null, "campaign_data": { "price": "2.8", "discount": "8", "discount_type": "percentage", "max_sell": "1000" }, "created_at": "2025-03-04T09:57:49.000000Z", "updated_at": "2025-03-06T04:58:15.000000Z", "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up-service/EOPdhKAMgfaPhI1VxN30StKN3xytZI.webp" }, ..... ] } .... ], "first_page_url": "http://192.168.0.123/gamers-arena/gamers/api/top-up/list?page=1", "from": 1, "last_page": 1, "last_page_url": "http://192.168.0.123/gamers-arena/gamers/api/top-up/list?page=1", "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "http://192.168.0.123/gamers-arena/gamers/api/top-up/list?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ], "next_page_url": null, "path": "http://192.168.0.123/gamers-arena/gamers/api/top-up/list", "per_page": 10, "prev_page_url": null, "to": 4, "total": 4 } }
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#トップアップの詳細

Top Up のすべての情報を取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/top-up/details?slug={slug}

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

ID: IDを補充する

カテゴリID: チャージカテゴリー id

名前: 補充名

ナメクジ: スラッグを補充する

地域: 地域を補充する

注記: 補充メモ

即時配送: チャージ即時配送ステータス。 1 For All アクティブな即時配信である必要があります。

注文情報: チャージ注文情報

説明: トップアップの説明

ガイド: チャージガイド

total_review: チャージ合計レビュー

平均評価: トップアップの平均評価

並べ替え: Top Up 並べ替え、日付順に並べ替える場合は 1、価格順に並べ替える場合は 2 など。

状態: チャージステータス。アクティブなトップアップは 1 For All である必要があります

画像: トップアップ画像の URL パス

プレビュー画像: トップアッププレビュー画像の URL パス

アクティブなサービス: TopUp のアクティブなサービス

作成日: TopUp の作成日

更新日: TopUpの更新日

トップアップ詳細ルート: TopUpの詳細ルート

レビュー静的: TopUpのレビューとレビュー可能かどうか

ゲートウェイ: アクティブな支払いゲートウェイ

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/top-up/details?slug={slug}',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN',
    'Cookie': '....'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/top-up/details?slug={slug}"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN',
  'Cookie': '...'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN',
  'Cookie' => '...'
];
$request = new Request('GET', 'BASE_URL/top-up/details?slug={slug}', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/top-up/details?slug={slug}' \
--header 'Authorization: Bearer 3|zBS0kDnLrDVeejvPo3bICvNtnokQEzeao25NuphN438c7144' \
--header '...'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/top-up/details?slug={slug}")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
request["Cookie"] = "..."

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "topUp": {
            "id": 10,
            "category_id": 12,
            "name": "PUBG Mobile UC (Global)",
            "slug": "pubg-mobile-uc-global",
            "region": "Global",
            "note": "Important Note: Not for Japanese / Korean / Taiwan / Vietnam servers.",
            "status": 1,
            "instant_delivery": 1,
            "image": {
                "image": "top-up/EyIRfPvWAhJ8T1uxY6Ykmh4USLVHr2.webp",
                "image_driver": "local",
                "preview": "top-up/d5aGlVfRWsen1EHYcwhrV4IojFBEMP.webp",
                "preview_driver": "local"
            },
            "order_information": [
                {
                    "field_value": "User ID",
                    "field_name": "User_Id",
                    "field_placeholder": "User ID",
                    "field_note": "Check your user id from setting",
                    "field_type": "text"
                },
                {
                    "field_value": "Server",
                    "field_name": "Server",
                    "field_placeholder": "Server",
                    "field_note": "Check your server from setting",
                    "field_type": "select",
                    "option": {
                        "Asia": "Asia",
                        "Europe": "Europe",
                        "America": "America"
                    }
                }
            ],
            "description": "About PUBG Mobile UC\r\nPlayerUnknown Battleground Mobile or PUBG Mobile is an original battle royale.",
            "guide": "How to top-up PUBG Mobile UC?\r\n\r\nSelect the Unknown Cash UC denomination.\r\nEnter your PUBG Mobile Player ID.",
            "total_review": 1,
            "avg_rating": 5,
            "sort_by": 1,
            "deleted_at": null,
            "created_at": "2025-03-04T10:18:40.000000Z",
            "updated_at": "2025-03-05T11:43:51.000000Z",
            "preview_image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up/d5aGlVfRWsen1EHYcwhrV4IojFBEMP.webp",
            "top_up_detail_route": "http://192.168.0.123/gamers-arena/gamers/direct-topup/details/pubg-mobile-uc-global",
            "active_services": [
                {
                    "id": 29,
                    "top_up_id": 10,
                    "name": "60 UC",
                    "image": "top-up-service/GDemkOKkh1hxhICw3jXl7A9Q10eIrI.webp",
                    "image_driver": "local",
                    "price": 10,
                    "discount": 2,
                    "discount_type": "percentage",
                    "status": 1,
                    "is_offered": 0,
                    "offered_sell": 0,
                    "max_sell": 0,
                    "sort_by": 1,
                    "old_data": null,
                    "campaign_data": null,
                    "created_at": "2025-03-04T10:21:36.000000Z",
                    "updated_at": "2025-03-06T04:58:14.000000Z",
                    "currency": "USD",
                    "currency_symbol": "$",
                    "discountedAmount": 0.2,
                    "discountedPriceWithoutDiscount": 9.8,
                    "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up-service/GDemkOKkh1hxhICw3jXl7A9Q10eIrI.webp"
                },
                ...
            ]
        },
        "reviewStatic": {
            "reviews": [
                {
                    "id": 21,
                    "reviewable_type": "App\\Models\\TopUp",
                    "reviewable_id": 10,
                    "user_id": 24,
                    "rating": 5,
                    "comment": "Absolutely fantastic experience! The service was seamless, and everything worked perfectly. Highly recommended!",
                    "status": 1,
                    "created_at": "2025-03-06T05:10:17.000000Z",
                    "updated_at": "2025-03-06T05:10:17.000000Z",
                    "user": {
                        "id": 24,
                        "firstname": "Tony",
                        "lastname": "Grady",
                        "email": "torphy.yasmin@example.net",
                        "image_driver": null,
                        "image": null,
                        "LastSeenActivity": false,
                        "imgPath": "http://192.168.0.123/gamers-arena/gamers/assets/admin/img/default.png",
                        "fullname": "Tony Grady"
                    }
                },
                ...
            ],
            "hasAlreadyOrdered": true
        },
        "gateways": [
            {
                "id": 2,
                "code": "stripe",
                "name": "Stripe",
                "sort_by": 1,
                "image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/gateway/fkcARCIw6q6Fb3DY1AIS3FvxCc0khe.webp",
                "driver": "local",
                "status": 1,
                "parameters": {
                    "publishable_key": "pk_test_xxxxxxxx"
                },
                "currencies": {
                    "0": {
                        "USD": "USD",
                        "AUD": "AUD",
                        "BRL": "BRL",
                        "CAD": "CAD",
                        "CHF": "CHF",
                        "DKK": "DKK",
                        "EUR": "EUR",
                        "GBP": "GBP",
                        "HKD": "HKD",
                        "INR": "INR",
                        "JPY": "JPY",
                        "MXN": "MXN",
                        "MYR": "MYR",
                        "NOK": "NOK",
                        "NZD": "NZD",
                        "PLN": "PLN",
                        "SEK": "SEK",
                        "SGD": "SGD"
                    }
                },
                "extra_parameters": null,
                "supported_currency": [
                    "USD",
                    "EUR",
                    "GBP"
                ],
                "receivable_currencies": [
                    {
                        "name": "USD",
                        "currency_symbol": "USD",
                        "conversion_rate": "1",
                        "min_limit": "0.1",
                        "max_limit": "100000",
                        "percentage_charge": "1",
                        "fixed_charge": "0"
                    },
                    ...
                ],
                "description": "Send form your payment gateway. your bank may charge you a cash advance fee.",
                "currency_type": 1,
                "is_sandbox": 1,
                "environment": "test",
                "is_manual": null,
                "note": null,
                "created_at": "2020-09-10T09:05:02.000000Z",
                "updated_at": "2025-03-05T06:31:09.000000Z"
            },
            ....
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#トップアップサービスを利用する

すべての Top Up Services リストを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/topup/services

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

id: Service id

top_up_id: Top up id

name: Service Name

price: The price of service

discount: The discount amount of service

discount_type: The discount amount type. 1.percentage 2.flat

is_offered: The service is in campaign or not. 1=> yes, 0=> not

offered_sell: The campaign sell of the service

max_sell: The campaign max sell limit of the service

old_data: The actual data before campaign

campaign_data: The campaign data of the service

image_path: Service image path

並べ替え: Top Up 並べ替え、日付順に並べ替える場合は 1、価格順に並べ替える場合は 2 など。

作成日: TopUp の作成日

更新日: TopUpの更新日

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/topup/services',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN',
    'Cookie': '...'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/topup/services"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN',
  'Cookie': '...'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN',
  'Cookie' => '...'
];
$request = new Request('GET', 'BASE_URL/topup/services', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/topup/services' \
--header 'YOUR_BEARER_TOKEN' \
--header '...'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/api/topup/services")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
request["Cookie"] = "...."

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "services": [
            {
                "id": 1,
                "top_up_id": 2,
                "name": "MICO Live 88 Coins",
                "price": 2.8,
                "discount": 5,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 1,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 1,
                "old_data": null,
                "campaign_data": {
                    "price": "2.8",
                    "discount": "8",
                    "discount_type": "percentage",
                    "max_sell": "1000"
                },
                "created_at": "2025-03-04T09:57:49.000000Z",
                "updated_at": "2025-03-06T04:58:15.000000Z",
                "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up-service/EOPdhKAMgfaPhI1VxN30StKN3xytZI.webp"
            },
            .....
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#チャージしてサービスを受ける

Top Up リストのサービスを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/topup/services?top_up_id={top_up_id}

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

id: Service id

top_up_id: Top up id

name: Service Name

price: The price of service

discount: The discount amount of service

discount_type: The discount amount type. 1.percentage 2.flat

is_offered: The service is in campaign or not. 1=> yes, 0=> not

offered_sell: The campaign sell of the service

max_sell: The campaign max sell limit of the service

old_data: The actual data before campaign

campaign_data: The campaign data of the service

image_path: Service image path

並べ替え: Top Up 並べ替え、日付順に並べ替える場合は 1、価格順に並べ替える場合は 2 など。

作成日: TopUp の作成日

更新日: TopUpの更新日

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/topup/services?top_up_id={top_up_id}',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN',
    'Cookie': '...'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/topup/services?top_up_id=2"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN',
  'Cookie': '...'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN',
  'Cookie' => '...'
];
$request = new Request('GET', 'BASE_URL/topup/services?top_up_id={top_up_id}', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/topup/services?top_up_id={top_up_id}' \
--header 'YOUR_BEARER_TOKEN' \
--header '...'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/topup/services?top_up_id={top_up_id}")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
request["Cookie"] = "..."

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "services": [
            {
                "id": 1,
                "top_up_id": 2,
                "name": "MICO Live 88 Coins",
                "price": 2.8,
                "discount": 5,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 1,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 1,
                "old_data": null,
                "campaign_data": {
                    "price": "2.8",
                    "discount": "8",
                    "discount_type": "percentage",
                    "max_sell": "1000"
                },
                "created_at": "2025-03-04T09:57:49.000000Z",
                "updated_at": "2025-03-06T04:58:15.000000Z",
                "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up-service/EOPdhKAMgfaPhI1VxN30StKN3xytZI.webp"
            },
            {
                "id": 2,
                "top_up_id": 2,
                "name": "MICO Live 100 Coins",
                "price": 3.8,
                "discount": 3,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 0,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 1,
                "old_data": null,
                "campaign_data": null,
                "created_at": "2025-03-04T09:58:09.000000Z",
                "updated_at": "2025-03-06T04:58:14.000000Z",
                "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up-service/1MrpTXWVGuN8jmV6wPfSUKnTs1xItE.webp"
            },
            ...
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#トップアップ注文

補充を注文するには、サンプルコードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: POST

API URL: https://www.rmtitem.com/api/top-up/make-order

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


ボディパラメータ

topUpId* integer

The id of Top-Up, Must be in integer positive value


serviceId* integer

The id of Top-Up Service, Must be in integer positive value


User_Id* text

Order information of the top up. You get from Top Up Details endpoint. Pass the all order_information field_name here


Zone_Name* text

Order information of the top up. You get from Top Up Details endpoint. Pass the all order_information field_name here


                                                                
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'BASE_URL/top-up/make-order',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN',
    'Cookie': '...'
  },
  formData: {
    'topUpId': '2',
    'serviceId': '1',
    'Player_Id': '300',
    'Zone_Name': 'Asia'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});







                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/top-up/make-order"

payload = {'topUpId': '2',
'serviceId': '1',
'Player_Id': '300',
'Zone_Name': 'Asia'}
files=[

]
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN',
  'Cookie': 'YOUR_BEARER_TOKEN'
}

response = requests.request("POST", url, headers=headers, data=payload, files=files)

print(response.text)





123456789101112131415 1617181920212223242526

?php
$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN',
  'Cookie' => '...'
];
$options = [
  'multipart' => [
    [
      'name' => 'topUpId',
      'contents' => '2'
    ],
    [
      'name' => 'serviceId',
      'contents' => '1'
    ],
    [
      'name' => 'Player_Id',
      'contents' => '300'
    ],
    [
      'name' => 'Zone_Name',
      'contents' => 'Asia'
    ]
]];
$request = new Request('POST', 'BASE_URL/top-up/make-order', $headers);
$res = $client->sendAsync($request, $options)->wait();
echo $res->getBody();



                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/top-up/make-order' \
--header 'YOUR_BEARER_TOKEN' \
--header 'Cookie: ....' \
--form 'topUpId="2"' \
--form 'serviceId="1"' \
--form 'Player_Id="300"' \
--form 'Zone_Name="Asia"'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/top-up/make-order")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
request["Cookie"] = "..."
form_data = [['topUpId', '2'],['serviceId', '1'],['Player_Id', '300'],['Zone_Name', 'Asia']]
request.set_form form_data, 'multipart/form-data'
response = http.request(request)
puts response.read_body




123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": "Order has been placed successfully"
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": [
        "The top up id field is required.",
    ]
}
                                                            
                                                            
1234567891011121314

#トップアップレビューを入手

Top Up リストのレビューを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/topup/review?top_up_id={top_up_id}

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

id: Review id

rating: Top up rating. min value 1 max value 5

comment: Product rating comment

user: Who give the rating

status: Status 1 for published, 0 for holded

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/topup/review?top_up_id=10',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN',
    'Cookie': '...'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/topup/review?top_up_id=10"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN',
  'Cookie': '...'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN',
  'Cookie' => '...'
];
$request = new Request('GET', 'BASE_URL/topup/review?top_up_id=10', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/topup/review?top_up_id=10' \
--header 'YOUR_BEARER_TOKEN' \
--header 'Cookie: ...'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/topup/review?top_up_id=10")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
request["Cookie"] = "..."

response = http.request(request)
puts response.read_body

123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "reviews": [
            {
                "id": 21,
                "rating": 5,
                "comment": "Absolutely fantastic experience! The service was seamless, and everything worked perfectly. Highly recommended!",
                "status": 1,
                "created_at": "2025-03-06T05:10:17.000000Z",
                "updated_at": "2025-03-06T05:10:17.000000Z",
                "user": {
                    "id": 24,
                    "firstname": "Tony",
                    "lastname": "Grady",
                    "image": null,
                    "image_driver": null,
                    "imgPath": "http://192.168.0.123/gamers-arena/gamers/assets/admin/img/default.png",
                    "LastSeenActivity": false,
                    "fullname": "Tony Grady"
                }
            },
            ...
        ],
        "pagination": {
            "total": 8,
            "per_page": 15,
            "current_page": 1,
            "last_page": 1,
            "next_page_url": null,
            "prev_page_url": null
        }
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#トップアップレビューを追加

最高の評価を与えるには、コード例に従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: POST

API URL: https://www.rmtitem.com/api/topup/review

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


ボディパラメータ

topUpId* integer

The id of Top-Up, Must be in integer positive value


rating* number

Must be in positive number between 1 to 5


comment* text

What was your experience


                                                                
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'BASE_URL/topup/review',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN',
    'Cookie': '...'
  },
  formData: {
    'topUpId': '2',
    'rating': '5',
    'comment': 'my comment'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});






                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/topup/review"

payload = {'topUpId': '2',
'rating': '5',
'comment': 'my comment'}
files=[

]
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN',
  'Cookie': '....'
}

response = requests.request("POST", url, headers=headers, data=payload, files=files)

print(response.text)




123456789101112131415 1617181920212223242526

?php
$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN',
  'Cookie' => '...'
];
$options = [
  'multipart' => [
    [
      'name' => 'topUpId',
      'contents' => '2'
    ],
    [
      'name' => 'rating',
      'contents' => '5'
    ],
    [
      'name' => 'comment',
      'contents' => 'my comment'
    ]
]];
$request = new Request('POST', 'BASE_URL/topup/review', $headers);
$res = $client->sendAsync($request, $options)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/topup/review' \
--header 'Authorization: YOUR_BEARER_TOKEN' \
--header '...' \
--form 'topUpId="2"' \
--form 'rating="5"' \
--form 'comment="my comment"'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/topup/review")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
request["Cookie"] = "...."
form_data = [['topUpId', '2'],['rating', '5'],['comment', 'my comment']]
request.set_form form_data, 'multipart/form-data'
response = http.request(request)
puts response.read_body



123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": "Review Added Successfully"
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": [
        "The top up id field is required.",
        "The rating field is required.",
        "The comment field is required."
    ]
}
                                                            
                                                            
1234567891011121314

カード

#カードをゲット

すべてのカード リストを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/get-card

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

ID: カードID

カテゴリID: カードカテゴリID

名前: カード名

ナメクジ: カードスラッグ

状態: カードのステータス。すべてのアクティブ カードに対して 1 である必要があります

製品画像: カード画像の URL パス

プレビュー画像: カードのプレビュー画像の URL パス

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/get-card',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN',
    'Cookie': '...'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/get-card"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN',
  'Cookie': '...'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN',
  'Cookie' => '...'
];
$request = new Request('GET', 'BASE_URL/get-card', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/get-card' \
--header 'Authorization: YOUR_BEARER_TOKEN' \
--header 'Cookie: ...'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/get-card")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
request["Cookie"] = "...."

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "cards": [
            {
                "id": 1,
                "category_id": 1,
                "name": "Honor of Kings (Global)",
                "slug": "honor-of-kings-global",
                "status": 1,
                "product_image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card/M8H2HEgm9F5idIYoMoU2j6ZvRrJsA6.webp",
                "preview_image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card/mQnj7yQsc0ZrRn2XaGwPuOWXYiTVwz.webp"
            },
            {
                "id": 3,
                "category_id": 1,
                "name": "Mobile Legends Diamonds Pin",
                "slug": "mobile-legends-diamonds-pin",
                "status": 1,
                "product_image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card/7OcZfBfKnbcFotrUwDCExlIsNGS0kV.webp",
                "preview_image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card/oe0U1xKwbjjN4i1V7hjOjpfC2JSS1z.webp"
            },
            .....
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#カテゴリー別にカードを取得

カテゴリ ID 別にすべてのカード リストを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/get-card?category_id={category_id}

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

id: Card id

category_id: Card Category id

name: Card Name

slug: Card Slug

status: Card Status. It Should be 1 For All Active Card

product_image: The Card Image Url Path

preview_image: The Card Preview Image Url Path

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/get-card?category_id=5',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/get-card?category_id=5"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/get-card?category_id=5', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/get-card?category_id=5' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/get-card?category_id=5")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "cards": [
            {
                "id": 10,
                "category_id": 5,
                "name": "Netflix Gift Card (MY)",
                "slug": "netflix-gift-card-my",
                "status": 1,
                "product_image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card/vNK9c1bqfRqceCLfsR707XNr3IYhMS.webp",
                "preview_image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card/Cpg8NhG9JWAoWCW63PB8zuo8rdHrKf.webp"
            },
            ....
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#カード詳細

カードのすべての情報を取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/card/details?card_id={card_id}

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

id: Card up id

category_id: Card Category id

name: Card Name

slug: Card Slug

region: suppoerted region or country

note: any note for the Card

status: Card Status. It Should be 1 For All Active Card

instant_delivery: 1=> if Top Up send instantly to buyer

description: Card Description

guide: Card Guide

total_review: How many review give by the buyer

avg_rating: The average review rating by the buyer

sell_count: Total Sell time

trending: Trending item for 1, 0 is normal

preview_image: Card Preview Image

product_image: Card Image

services: Card Services

gateways: Active gateways for payment

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/card/details?card_id=1',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/card/details?card_id=1"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/card/details?card_id=1', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/card/details?card_id=1' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/card/details?card_id=1")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "services": [
            {
                "id": 1,
                "card_id": 1,
                "name": "Gift Card 10 INR IN",
                "price": 0.27,
                "discount": 2,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 0,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 1,
                "old_data": null,
                "campaign_data": null,
                "created_at": "2024-08-17T05:19:12.000000Z",
                "updated_at": "2024-11-11T13:03:09.000000Z",
                "image_path": "https://bugfinder.net/assets/upload/card-service/kTMWS2KWNVWh9GFAwgqlYJrMqhLxbg.webp"
            },
            {
                "id": 2,
                "card_id": 1,
                "name": "Gift Card 25 INR IN",
                "price": 0.42,
                "discount": 2,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 0,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 2,
                "old_data": null,
                "campaign_data": null,
                "created_at": "2024-08-17T05:20:36.000000Z",
                "updated_at": "2024-11-11T13:03:09.000000Z",
                "image_path": "https://bugfinder.net/assets/upload/card-service/jIWZPRKnzJ91k5KcI9SwKlWPsb8LKu.webp"
            },
            ...
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#カードサービスを受ける

すべてのカード サービス リストを取得するには、コード例に従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/card/services

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

id: Service id

card_id: Card id

name: Service Name

price: The price of service

discount: The discount amount of service

discount_type: The discount amount type. 1.percentage 2.flat

is_offered: The service is in campaign or not. 1=> yes, 0=> not

offered_sell: The campaign sell of the service

max_sell: The campaign max sell limit of the service

old_data: The actual data before campaign

campaign_data: The campaign data of the service

created_at: Service Created date

updated_at: Service updated date

image_path: Service image path

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/card/services',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/card/services"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/card/services', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/card/services' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/card/services")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "services": [
            {
                "id": 1,
                "card_id": 1,
                "name": "Honor of Kings 16 Tokens",
                "price": 2.9,
                "discount": 1,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 0,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 1,
                "old_data": null,
                "campaign_data": null,
                "created_at": "2025-03-03T09:27:53.000000Z",
                "updated_at": "2025-03-06T04:58:16.000000Z",
                "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card-service/ksi6iDr9d26D82ZRlr0C3CK9JNpalL.webp"
            },
            {
                "id": 2,
                "card_id": 1,
                "name": "Honor of Kings 80 Tokens",
                "price": 2.45,
                "discount": 1,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 1,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 1,
                "old_data": null,
                "campaign_data": {
                    "price": "2.45",
                    "discount": "15",
                    "discount_type": "percentage",
                    "max_sell": "1000"
                },
                "created_at": "2025-03-03T09:28:28.000000Z",
                "updated_at": "2025-03-06T04:58:16.000000Z",
                "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card-service/zEhj4vofwEQIWzzbpiMj5FeOkGzcpl.webp"
            },
            ....
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#カードでサービスを受ける

カード リストのサービスを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/card/services?card_id={card_id}

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

id: Service id

card_id: Card id

name: Service Name

price: The price of service

discount: The discount amount of service

discount_type: The discount amount type. 1.percentage 2.flat

is_offered: The service is in campaign or not. 1=> yes, 0=> not

offered_sell: The campaign sell of the service

max_sell: The campaign max sell limit of the service

old_data: The actual data before campaign

campaign_data: The campaign data of the service

created_at: Service Created date

updated_at: Service updated date

image_path: Service image path

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/card/services?card_id=1',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/card/services?card_id=1"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/card/services?card_id=1', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/card/services?card_id=1' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/card/services?card_id=1")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "services": [
            {
                "id": 1,
                "card_id": 1,
                "name": "Honor of Kings 16 Tokens",
                "price": 2.9,
                "discount": 1,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 0,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 1,
                "old_data": null,
                "campaign_data": null,
                "created_at": "2025-03-03T09:27:53.000000Z",
                "updated_at": "2025-03-06T04:58:16.000000Z",
                "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card-service/ksi6iDr9d26D82ZRlr0C3CK9JNpalL.webp"
            },
            {
                "id": 2,
                "card_id": 1,
                "name": "Honor of Kings 80 Tokens",
                "price": 2.45,
                "discount": 1,
                "discount_type": "percentage",
                "status": 1,
                "is_offered": 1,
                "offered_sell": 0,
                "max_sell": 0,
                "sort_by": 1,
                "old_data": null,
                "campaign_data": {
                    "price": "2.45",
                    "discount": "15",
                    "discount_type": "percentage",
                    "max_sell": "1000"
                },
                "created_at": "2025-03-03T09:28:28.000000Z",
                "updated_at": "2025-03-06T04:58:16.000000Z",
                "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card-service/zEhj4vofwEQIWzzbpiMj5FeOkGzcpl.webp"
            },
            ....
        ]
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#オーダーカード

カードを注文するには、サンプルコードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: POST

API URL: https://www.rmtitem.com/api/card/make-order

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


ボディパラメータ

service_ids* array

The id of Card Service, Must be in array


quantities* array

The Quantity of each Service, Must be in array. Each quantity index value represent the same index number of service_ids quantity


                                                                
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'BASE_URL/card/make-order',
  'headers': {
    'Content-Type': 'application/json',
    'Authorization': 'YOUR_BEARER_TOKEN'
  },
  body: JSON.stringify({
    "serviceIds": [
      1,
      2
    ],
    "quantity": [
      3,
      4
    ]
  })

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

                                                                
123456789101112131415 16 17181920212223242526

import requests
import json

url = "BASE_URL/card/make-order"

payload = json.dumps({
  "serviceIds": [
    1,
    2
  ],
  "quantity": [
    3,
    4
  ]
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)






123456789101112131415 1617181920212223242526

?php
$client = new Client();
$headers = [
  'Content-Type' => 'application/json',
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$body = '{
  "serviceIds": [
    1,
    2
  ],
  "quantity": [
    3,
    4
  ]
}';
$request = new Request('POST', 'BASE_URL/card/make-order', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/card/make-order' \
--header 'Content-Type: application/json' \
--header 'Authorization: YOUR_BEARER_TOKEN' \
--data '{
    "serviceIds": [1,2],
    "quantity": [3,4]
}'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "json"
require "net/http"

url = URI("BASE_URL/card/make-order")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request["Authorization"] = "YOUR_BEARER_TOKEN"
request.body = JSON.dump({
  "serviceIds": [
    1,
    2
  ],
  "quantity": [
    3,
    4
  ]
})

response = http.request(request)
puts response.read_body



123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "utr": "OGRMDQJ71VF6Q"
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": [
        "The service ids field is required.",
    ]
}
                                                            
                                                            
1234567891011121314

#カードレビューを入手

カード リストのレビューを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/card/review?card_id={card_id}

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

id: Review id

user_id: Reviewed User ID

rating: Card rating. min value 1 max value 5

comment: Product rating comment

user: Who give the rating

status: Status 1 for published, 0 for holded

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/card/review?card_id=9',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/card/review?card_id=9"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/card/review?card_id=9', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/card/review?card_id=9' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/card/review?card_id=9")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "reviews": [
            {
                "id": 5,
                "user_id": 1,
                "rating": 3,
                "comment": "Amazing product! Everything works flawlessly, and the convenience is unmatched. 70% satisfied!",
                "status": 1,
                "created_at": "2025-03-05T10:37:57.000000Z",
                "updated_at": "2025-03-05T10:37:57.000000Z",
                "user": {
                    "id": 1,
                    "firstname": "Demo",
                    "lastname": "User",
                    "image": "profileImage/fyT3Q7VjKDjvfYcuIXY4CqE2ob7DDP.webp",
                    "image_driver": "local",
                    "imgPath": "http://192.168.0.123/gamers-arena/gamers/assets/upload/profileImage/fyT3Q7VjKDjvfYcuIXY4CqE2ob7DDP.webp",
                    "LastSeenActivity": true,
                    "fullname": "Demo User"
                }
            },
            {
                "id": 10,
                "user_id": 29,
                "rating": 3,
                "comment": "Amazing product! Everything works flawlessly, and the convenience is unmatched. 70% satisfied!",
                "status": 1,
                "created_at": "2025-03-06T05:09:46.000000Z",
                "updated_at": "2025-03-06T05:09:46.000000Z",
                "user": {
                    "id": 29,
                    "firstname": "Angela",
                    "lastname": "Doyle",
                    "image": null,
                    "image_driver": null,
                    "imgPath": "http://192.168.0.123/gamers-arena/gamers/assets/admin/img/default.png",
                    "LastSeenActivity": false,
                    "fullname": "Angela Doyle"
                }
            },
            ....
        ],
        "pagination": {
            "total": 8,
            "per_page": 15,
            "current_page": 1,
            "last_page": 1,
            "next_page_url": null,
            "prev_page_url": null
        }
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#カードレビューを追加

カードの評価を行うには、コード例に従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: POST

API URL: https://www.rmtitem.com/api/card/review

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


ボディパラメータ

card_id* integer

The id of Card, Must be in integer positive value


rating* number

Must be in positive number between 1 to 5


comment* text

What was your experience


                                                                
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'BASE_URL/card/review',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  },
  formData: {
    'card_id': '9',
    'rating': '5',
    'comment': 'This is review'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});






                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/card/review"

payload = {'card_id': '9',
'rating': '5',
'comment': 'This is review'}
files=[

]
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("POST", url, headers=headers, data=payload, files=files)

print(response.text)




123456789101112131415 1617181920212223242526

?php
$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$options = [
  'multipart' => [
    [
      'name' => 'card_id',
      'contents' => '9'
    ],
    [
      'name' => 'rating',
      'contents' => '5'
    ],
    [
      'name' => 'comment',
      'contents' => 'This is review'
    ]
]];
$request = new Request('POST', 'BASE_URL/card/review', $headers);
$res = $client->sendAsync($request, $options)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/card/review' \
--header 'Authorization: YOUR_BEARER_TOKEN' \
--form 'card_id="9"' \
--form 'rating="5"' \
--form 'comment="This is review"'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/card/review")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
form_data = [['card_id', '9'],['rating', '5'],['comment', 'This is review']]
request.set_form form_data, 'multipart/form-data'
response = http.request(request)
puts response.read_body



123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": "Review Added Successfully"
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": [
        "The top up id field is required.",
        "The rating field is required.",
        "The comment field is required."
    ]
}
                                                            
                                                            
1234567891011121314

注文リスト

#トップアップ注文リスト

すべての追加注文リストを取得するには、コード例に従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: 得る

API URL: https://www.rmtitem.com/api/get-topup/orders

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

utr: 一意の注文 ID

価格: 注文合計金額

通貨: 支払った通貨の金額

状態: 注文のステータス。 0=>開始、1=>完了、2=>返金、3=>株式ショート

情報: チャージ注文情報

レビューユーザー情報: ユーザーレビュー

注文の詳細: オブジェクトの配列。各サービスのご注文内容

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/topUp/order',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/topUp/order"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/topUp/order', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/topUp/order' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BaseURL/topUp/order")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "current_page": 1,
        "data": [
            {
                "utr": "O8NYH38WAQW8B",
                "price": 54,
                "currency": "USD",
                "symbol": "$",
                "status": "Wait Sending",
                "dateTime": "2025-03-05T11:59:52.000000Z",
                "order_details": [
                    {
                        "utr": "O8NYH38WAQW8B",
                        "rating": 5,
                        "image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up-service/yRvTZ7P5wwOeDGE2YdCQJMk9SytjiD.webp",
                        "discount": 54,
                        "quantity": 1,
                        "name": "Arena Breakout: Infinite Top Up",
                        "service": "500 +10 Bonds",
                        "base_price": 108,
                        "currency": "USD",
                        "symbol": "$",
                        "slug": "arena-breakout-infinite-top-up"
                    }
                ],
                "review_user_info": [
                    {
                        "review": {
                            "comment": "Amazing product! Everything works flawlessly, and the convenience is unmatched. 100% satisfied!",
                            "rating": 5,
                            "status": "active"
                        }
                    }
                ],
                "informations": {
                    "Server ID": "server-5878",
                    "Server Name": "America"
                }
            },
            ....
        ],
        "first_page_url": "http://192.168.0.123/gamers-arena/gamers/api/topUp/order?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://192.168.0.123/gamers-arena/gamers/api/topUp/order?page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "http://192.168.0.123/gamers-arena/gamers/api/topUp/order?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://192.168.0.123/gamers-arena/gamers/api/topUp/order",
        "per_page": 10,
        "prev_page_url": null,
        "to": 7,
        "total": 7
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

#カード注文リスト

すべてのカード順序リストを取得するには、コード例に従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/get-card/orders

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

utr: 一意の注文 ID

価格: 注文合計金額

通貨: 支払った通貨の金額

状態: 注文のステータス。 0=>開始、1=>完了、2=>返金、3=>株式ショート

情報: チャージ注文情報

レビューユーザー情報: ユーザーレビュー

注文の詳細: オブジェクトの配列。各サービスのご注文内容

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/card/order',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  },
  formData: {

  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/card/order"

payload = {}
files={}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload, files=files)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/card/order', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();

                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/card/order' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/card/order")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"
form_data = []
request.set_form form_data, 'multipart/form-data'
response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "current_page": 1,
        "data": [
            {
                "utr": "ONS8GNE4BJ884",
                "price": 34.48,
                "currency": "USD",
                "symbol": "$",
                "status": "Complete",
                "dateTime": "2025-03-05T12:02:42.000000Z",
                "order_details": [
                    {
                        "utr": "ONS8GNE4BJ884",
                        "id": 6,
                        "rating": 0,
                        "image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card-service/6xEzC2ACZMVChJHteBLNUAF6R63vHJ.webp",
                        "card": "Flexepin (CA)",
                        "slug": "flexepin-ca",
                        "service": "Flexepin 20 CAD",
                        "base_price": 12.62,
                        "currency": "USD",
                        "symbol": "$",
                        "discount": 0.38,
                        "quantity": 1,
                        "card_codes": [
                            "FP8796545425"
                        ],
                        "stock_short": "You have 0 more code in wait sending list"
                    },
                    {
                        "utr": "ONS8GNE4BJ884",
                        "id": 10,
                        "rating": 0,
                        "image": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card-service/CYspHPxUYfl9xXkB8YMJRPwyPm9r2t.webp",
                        "card": "Netflix Gift Card (MY)",
                        "slug": "netflix-gift-card-my",
                        "service": "Netflix 521 300 Here",
                        "base_price": 50,
                        "currency": "USD",
                        "symbol": "$",
                        "discount": 40,
                        "quantity": 1,
                        "card_codes": [
                            "NF65315251"
                        ],
                        "stock_short": "You have 0 more code in wait sending list"
                    }
                ],
                "review_user_info": [
                    {
                        "review": {
                            "comment": null,
                            "rating": null,
                            "status": "inactive"
                        }
                    },
                    {
                        "review": {
                            "comment": null,
                            "rating": null,
                            "status": "inactive"
                        }
                    }
                ],
                "informations": []
            },
            ....
        ],
        "first_page_url": "http://192.168.0.123/gamers-arena/gamers/api/card/order?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://192.168.0.123/gamers-arena/gamers/api/card/order?page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "http://192.168.0.123/gamers-arena/gamers/api/card/order?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://192.168.0.123/gamers-arena/gamers/api/card/order",
        "per_page": 10,
        "prev_page_url": null,
        "to": 10,
        "total": 10
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314

キャンペーン

#ゲットキャンペーン

キャンペーン リストを取得するには、サンプル コードに従い、パラメーターに注意してください。

ベース URLhttps://www.rmtitem.com/api/

HTTPメソッド: GET

API URL: https://www.rmtitem.com/api/get-campaign

APIキー: ベアラー トークン を認証ヘッダーに渡します GET Bearer

応答形式: JSON


応答本文

ID: キャンペーンID

名前: キャンペーン名

開始日: キャンペーンが始まると

終了日: キャンペーン終了時

補充: キャンペーン対象トップアップサービス一覧

カード: キャンペーン対象カードサービス一覧

                                                                
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'BASE_URL/get-campaign',
  'headers': {
    'Authorization': 'YOUR_BEARER_TOKEN'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});





                                                                
123456789101112131415 16 17181920212223242526

import requests

url = "BASE_URL/get-campaign"

payload = {}
headers = {
  'Authorization': 'YOUR_BEARER_TOKEN'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)



123456789101112131415 1617181920212223242526

?php

$client = new Client();
$headers = [
  'Authorization' => 'YOUR_BEARER_TOKEN'
];
$request = new Request('GET', 'BASE_URL/get-campaign', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();


                                                                
123456789101112131415 1617181920212223242526

curl --location 'BASE_URL/get-campaign' \
--header 'Authorization: YOUR_BEARER_TOKEN'
                                                                
123456789101112131415 1617181920212223242526

require "uri"
require "net/http"

url = URI("BASE_URL/get-campaign")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "YOUR_BEARER_TOKEN"

response = http.request(request)
puts response.read_body


123456789101112131415 1617181920212223242526

{
    "status": "success",
    "message": {
        "campaign": {
            "id": 1,
            "name": "Flash Deal",
            "start_date": "2025-03-06",
            "end_date": "2025-03-31",
            "status": 1,
            "created_at": "2025-03-06T04:58:14.000000Z",
            "updated_at": "2025-03-06T04:58:14.000000Z",
            "topups": [
                {
                    "id": 1,
                    "top_up_id": 2,
                    "name": "MICO Live 88 Coins",
                    "price": 2.8,
                    "discount": 5,
                    "discount_type": "percentage",
                    "status": 1,
                    "offered_sell": 0,
                    "max_sell": 0,
                    "old_data": null,
                    "campaign_data": {
                        "price": "2.8",
                        "discount": "8",
                        "discount_type": "percentage",
                        "max_sell": "1000"
                    },
                    "created_at": "2025-03-04T09:57:49.000000Z",
                    "updated_at": "2025-03-06T04:58:15.000000Z",
                    "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/top-up-service/EOPdhKAMgfaPhI1VxN30StKN3xytZI.webp"
                },
                ....
            ],
            "cards": [
                {
                    "id": 2,
                    "card_id": 1,
                    "name": "Honor of Kings 80 Tokens",
                    "price": 2.45,
                    "discount": 1,
                    "discount_type": "percentage",
                    "status": 1,
                    "offered_sell": 0,
                    "max_sell": 0,
                    "old_data": null,
                    "campaign_data": {
                        "price": "2.45",
                        "discount": "15",
                        "discount_type": "percentage",
                        "max_sell": "1000"
                    },
                    "created_at": "2025-03-03T09:28:28.000000Z",
                    "updated_at": "2025-03-06T04:58:16.000000Z",
                    "image_path": "http://192.168.0.123/gamers-arena/gamers/assets/upload/card-service/zEhj4vofwEQIWzzbpiMj5FeOkGzcpl.webp"
                },
                ....
            ]
        }
    }
}
                                                        
123456789101112131415 1617181920212223242526
                                                                
{
    "status": "failed",
    "errors": "Something went wrong"
}
                                                            
                                                            
1234567891011121314