Trang chủ Đơn hàng Thông tin
[Erolab] Megaha:Re reroll account

[Erolab] Megaha:Re reroll account

game 18+ tải game ở Erolab... Xem thêm

Tài liệu API sản phẩm

GET https://new.heroine.vn/api/v1/products/list?search=erolab-megahare-reroll-account
Response chứa:
  • id - ID sản phẩm
  • name - Tên sản phẩm
  • plans[] - Danh sách gói: id, name, price, sale_price, fields[]
Thông tin sản phẩm này:
Product ID: 99
Slug: erolab-megahare-reroll-account
Plans:
ID: 430 - Loại 1
ID: 431 - Loại 2
ID: 432 - Loại 3
Code mẫu:
curl "https://new.heroine.vn/api/v1/products/list" \
  -H "X-API-Key: sk_live_your_api_key_here" \
  -H "X-API-Secret: sk_secret_your_api_secret_here"
POST https://new.heroine.vn/api/v1/orders/create
Request Body:
{
  "items": [
    {
      "plan_id": PLAN_ID,
      "quantity": 1,
      "fields": {
        "field_key": "field_value"
      }
    }
  ],
  "coupon_code": ""
}
Các gói có thể mua:
ID: 430 Loại 1
20.000đ
ID: 431 Loại 2
40.000đ
ID: 432 Loại 3
200.000đ 150.000đ
Code mẫu:
curl -X POST "https://new.heroine.vn/api/v1/orders/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: sk_live_your_api_key_here" \
  -H "X-API-Secret: sk_secret_your_api_secret_here" \
  -d '{"items":[{"plan_id":PLAN_ID,"quantity":1}]}'
GET https://new.heroine.vn/api/v1/orders/status?trans_id={trans_id}
Parameters:
  • trans_id - Mã giao dịch từ kết quả tạo đơn
Response chứa:
  • order - Thông tin đơn hàng
  • delivery.items - Nội dung giao hàng
  • status - pending, processing, completed, cancelled
Code mẫu:
curl "https://new.heroine.vn/api/v1/orders/status?trans_id=ORD123456" \
  -H "X-API-Key: sk_live_your_api_key_here" \
  -H "X-API-Secret: sk_secret_your_api_secret_here"
Loại 1

Loại 1

Giao ngay Hết hàng
20.000đ
Loại 2

Loại 2

Giao ngay Hết hàng
40.000đ
Loại 3

Loại 3

Giao ngay Hết hàng
150.000đ
200.000đ -25%

Đánh giá sản phẩm

0 đánh giá
0.0
0 đánh giá
5
0
4
0
3
0
2
0
1
0

Chưa có đánh giá nào cho sản phẩm này

Hãy là người đầu tiên đánh giá sản phẩm!

Không có trường thông tin nào cần điền

Bạn có mã giảm giá?
Tạm tính
Tổng cộng