费用支付确认接口

说明

  1. 司机点结束计费,接入方会收到支付确认回调通知,确认费用没问题接入方可以通过此接口确认并支付。
  2. 如果接入方一直不调用此接口,订单会在48小时后自动支付。

请求地址

/v1/order/FeeConfirm

支持格式

Json或普通form

HTTP请求方式

POST

是否需要登录

是 关于登录授权,参见 如何登录授权

访问授权限制

暂无

请求参数

名称 类型 必选 描述
client_id string yes 申请应用时分配的AppKey
access_token string yes 授权后的access token
order_id string yes 要确认支付的订单号
timestamp int yes 当前时间戳
sign string yes 签名 详细算法参见 签名验证 章节

注意事项

暂无

请求示例

方式一:
curl -X POST  -H 'Content-Type: application/json' \
-d '{
    "timestamp": "2867831074",
    "access_token": "test",
    "client_id": "testclient",
    "sign": "test",
    "order_id": "7547523705968545818"
}' https://api.es.xiaojukeji.com/v1/order/FeeConfirm

方式二:
curl -i -X POST -H "Content-type:application/x-www-form-urlencoded" \
-d "client_id=testclient" \
-d "access_token=test" \
-d "timestamp=2867831074" \
-d "sign=test" \
-d "order_id=7547523705968545818" \
https://api.es.xiaojukeji.com/v1/order/FeeConfirm

返回参数说明

返回值字段 字段类型 字段说明
errno int 错误码
errmsg string 错误信息
data object
data.order_id string 返回的id

返回结果

{
    "errno": 0,
    "errmsg": "SUCCESS",
    "data": {
        "order_id": "4880109188406595918"
    }
}

results matching ""

    No results matching ""