app_id + out_trade_no。system_no,初始状态为 pending_pay。checkout_url 收银台链接。Authorization: ********************{
"line_class_day_gid": "GD20260601001",
"start_station_gid": "SG20260601001",
"end_station_gid": "SG20260601002",
"passengers": [
{
"name": "张三",
"phone": "13800138000",
"cert_no": "330106199001011234",
"cert_type": 1,
"is_child": true
}
],
"user_phone": "13800138000",
"out_trade_no": "BO20260601120000",
"total_amount": 8000,
"pay_mode": "user_pay",
"callback_url": "string",
"return_url": "string",
"external_user_id": "string",
"external_user_name": "string",
"cost_center": "string",
"approval_id": "string",
"client_context": "string"
}curl --location 'https://api.longxiachuxing.com/open/v1/bus/order/create' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"line_class_day_gid": "GD20260601001",
"start_station_gid": "SG20260601001",
"end_station_gid": "SG20260601002",
"passengers": [
{
"name": "张三",
"phone": "13800138000",
"cert_no": "330106199001011234",
"cert_type": 1,
"is_child": true
}
],
"user_phone": "13800138000",
"out_trade_no": "BO20260601120000",
"total_amount": 8000,
"pay_mode": "user_pay",
"callback_url": "string",
"return_url": "string",
"external_user_id": "string",
"external_user_name": "string",
"cost_center": "string",
"approval_id": "string",
"client_context": "string"
}'{
"code": 0,
"data": {
"system_no": "RDB20260601120000",
"out_trade_no": "BO20260601120000",
"supplier_order_no": "string",
"total_amount": 8000,
"status": "pending_pay",
"pay_expire_time": "string",
"checkout_url": "string"
},
"message": "success",
"request_id": "req_a1b2c3"
}