GET
https://www.fbhaiwai.com/api/v1/products/list?search=apisessionjson
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:
102
Slug:
apisessionjson
Plans:
ID: 7279 - Telegram成品号。API+Mobile Session JSON。实体 SIM 卡。年龄:6 年。注册国家:1(美国)。
ID: 7280 - Telegram 成品号。API+Mobile Session+JSON。实体 SIM 卡。账户年龄:5年以上。注册国家:+1(美国)。
ID: 7281 - Telegram 成品号。API+Mobile Session+JSON。实体 SIM 卡。账户年龄:3年以上。注册国家:+1(美国)。
ID: 7282 - Telegram 成品号。API+Mobile Session+JSON。实体SIM卡。账户年龄:2年以上。注册国家:+1(美国)。
ID: 7283 - Telegram成品号。API+Mobile Session+JSON。使用实体SIM卡。账户年龄:1年以上。注册国家:+1(美国)。
示例代码:
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": 7279,
"quantity": 1,
"fields": {
"field_key": "field_value"
}
}
],
"coupon_code": ""
}
Các gói có thể mua:
ID: 7279
Telegram成品号。API+Mobile Session JSON。实体 SIM 卡。年龄:6 年。注册国家:1(美国)。
$6.06
ID: 7280
Telegram 成品号。API+Mobile Session+JSON。实体 SIM 卡。账户年龄:5年以上。注册国家:+1(美国)。
$4.04
ID: 7281
Telegram 成品号。API+Mobile Session+JSON。实体 SIM 卡。账户年龄:3年以上。注册国家:+1(美国)。
$3.63
ID: 7282
Telegram 成品号。API+Mobile Session+JSON。实体SIM卡。账户年龄:2年以上。注册国家:+1(美国)。
$3.43
ID: 7283
Telegram成品号。API+Mobile Session+JSON。使用实体SIM卡。账户年龄:1年以上。注册国家:+1(美国)。
$3.24
示例代码:
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":7279,"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"