GET
https://www.fbhaiwai.com/api/v1/products/list?search=--
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:
4440
Slug:
--
Plans:
ID: 2636 - Hotmail - OAuth2 [IMAP/POP3] 添加恢复邮件 fviainboxes.com 永久使用
ID: 2639 - Outlook - OAuth2 [Graph] 有效 12 - 36 个月
ID: 2640 - Hotmail - 支持 OAuth2 [IMAP/POP3/GRAPH],有效期 12-36 个月,100% 存活,跳过 7 天
ID: 2641 - Outlook - 支持 OAuth2 [IMAP/POP3/GRAPH],有效期 12-36 个月,100% 存活,跳过 7 天
ID: 6122 - Hotmail - OAuth2 [Graph] 有效12 - 36个月
示例代码:
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": 2636,
"quantity": 1,
"fields": {
"field_key": "field_value"
}
}
],
"coupon_code": ""
}
Các gói có thể mua:
ID: 2636
Hotmail - OAuth2 [IMAP/POP3] 添加恢复邮件 fviainboxes.com 永久使用
$0.01
ID: 2639
Outlook - OAuth2 [Graph] 有效 12 - 36 个月
$0.01
ID: 2640
Hotmail - 支持 OAuth2 [IMAP/POP3/GRAPH],有效期 12-36 个月,100% 存活,跳过 7 天
$0.02
ID: 2641
Outlook - 支持 OAuth2 [IMAP/POP3/GRAPH],有效期 12-36 个月,100% 存活,跳过 7 天
$0.02
ID: 6122
Hotmail - OAuth2 [Graph] 有效12 - 36个月
$0.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":2636,"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"