TopVieAI topvieai.io.vn Tiếng Việt
Home Nạp tiền Orders Information

Product API documentation

GET https://topvieai.io.vn/api/v1/products/list?search=san-pham-freepik
The response includes:
  • 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[]
Product information:
Product ID: 20
Slug: san-pham-freepik
Plans:
ID: 331 - aaa
Sample code:
curl "https://topvieai.io.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://topvieai.io.vn/api/v1/orders/create
Request Body:
{
  "items": [
    {
      "plan_id": 331,
      "quantity": 1,
      "fields": {
        "field_key": "field_value"
      }
    }
  ],
  "coupon_code": ""
}
Available plans:
Plan ID Plan name Price
331 aaa 0.3462 USDT
Sample code:
curl -X POST "https://topvieai.io.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":331,"quantity":1}]}'
GET https://topvieai.io.vn/api/v1/orders/status?trans_id={trans_id}
Parameters:
  • trans_id - Transaction ID from the order response
The response includes:
  • order - Order information
  • delivery.items - Delivery details
  • status - pending, processing, completed, cancelled
Sample code:
curl "https://topvieai.io.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"
aaa

aaa

Instant delivery
0.3462 USDT
0.3846 USDT -10%

Product reviews

0 reviews
0.0
0 reviews
5
0
4
0
3
0
2
0
1
0

No reviews yet

Be the first to review this product.

No additional information required

Have a discount code?
Subtotal 0.3846 USDT
Total 0.3462 USDT
Stock: 1 products