GET
https://www.fbhaiwai.com/api/v1/products/list?search=-apimobilesessionjson1-30
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:
97
Slug:
-apimobilesessionjson1-30
Plans:
ID: 4621 - Telegram成品号。API+Mobile Session+ JSON。账号使用时长:3天以上。注册国家:+57(哥伦比亚)。
ID: 4638 - Telegram成品号。Mobile Session+JSON。账号年龄:3天以上。注册国家:+998(乌兹别克斯坦)。
示例代码:
curl "https://www.fbhaiwai.com/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://www.fbhaiwai.com/api/v1/orders/create
请求正文:
{
"items": [
{
"plan_id": 4621,
"quantity": 1,
"fields": {
"field_key": "field_value"
}
}
],
"coupon_code": ""
}
Các gói có thể mua:
ID: 4621
Telegram成品号。API+Mobile Session+ JSON。账号使用时长:3天以上。注册国家:+57(哥伦比亚)。
$0.56
ID: 4638
Telegram成品号。Mobile Session+JSON。账号年龄:3天以上。注册国家:+998(乌兹别克斯坦)。
$1.01
示例代码:
curl -X POST "https://www.fbhaiwai.com/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":4621,"quantity":1}]}'
GET
https://www.fbhaiwai.com/api/v1/orders/status?trans_id={trans_id}
参数:
Response chứa:
order - 订单信息
delivery.items - 配送详情
status - pending, processing, completed, cancelled
示例代码:
curl "https://www.fbhaiwai.com/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"