API Key & Notification Key的获取请通过Cube平台自助操作,详见说明文档
pending
{ "items": [ { "id": "CP-6HPXRQI88QSM", "quantity": 2, "sim_ids": [ "89248044404413065327" ] } ], "extra": { "po": "1235215555", "remarks": "续费本地测试" } }
curl --location --request POST 'https://api.linksfield.net/cube/v4/orders/service' \ --header 'Accept-Language: zh-CN' \ --header 'Authorization;' \ --header 'X-LF-Api-Version;' \ --header 'X-LF-Signature-Type;' \ --header 'timestamp;' \ --header 'nonce;' \ --header 'Content-Type: application/json' \ --data-raw '{ "items": [ { "id": "CP-6HPXRQI88QSM", "quantity": 2, "sim_ids": [ "89248044404413065327" ] } ], "extra": { "po": "1235215555", "remarks": "续费本地测试" } }'
{ "data": { "status": 1, "created_at": 1686707689000, "order_id": "OL-6XB9I9XX8QNR" }, "status": { "code": "CB-00-0000", "message": "成功", "detail": "https://developer.linksfield.net/doc-1413557?nav=01GBM770ARR76AXBD5856Z6J6P" } }