HTTP 状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
200 | 10000 | 参数错误 | 参数不符合规范。请根据提示检查参数。 |
200 | 13000 | 系统错误,请重试 | 内部错误,重试可解决。 |
200 | 13000 | 参数错误,请刷新二维码 | encrypted_data 参数无效。检查 encrypted_data 是否正确。 |
200 | 13000 | 二维码数据已失效。 | 任一子单的状态变化都会导致现有的二维码数据失效。 |
200 | 13000 | 无券信息 | code 参数无效。不属于开平交易系统的订单 code。请注意与抖音原生码区分。 |
200 | 13000 | 非生活服务券码 | 非有效 code 或者 code 已被核销或退款,不能使用时则会提示。 |
curl --location --request POST 'http://dev-cn.your-api-server.com/api/apps/trade/v2/fulfillment/delivery_prepare' \
--header 'access-token: clt.xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"encrypted_data":"17104CFF079C9FDA51D14DD48E12876C",
"code": ""
}'
{
"data": {
"error_code": 0,
"description": "success",
"verify_token": "xxx",
"out_order_no": "out123456",
"order_id": "ot123456",
"certificates": [
{
"encrypted_code": "xxx",
"certificate_id": "123456",
"item_order_id": "ot123"
}
]
},
"extra": {
"sub_error_code": 0,
"sub_description": "success",
"logid": "2022092115392201020812109511046",
"now": 1663745962686,
"error_code": 0,
"description": "success"
}
}