1.2.3.4 提现查询

提现到支付宝查询

接入方式

POST 方式

方法名

shop.company.transferQuery

参数

公共参数

参数

参数名称

类型

必填

描述

范例

mch_id

商户号

String(64)

商户唯一标识符

10008

sub_mch_id

子商户号

String(64)

子商户,默认为空

10088

method

接口名

String(128)

接口名称

shop.transfer.pay

version

版本号

String(8)

接口版本,固定为:1.0

1.0

timestamp

时间戳

String(128)

发送请求的时间

1515984627

content

业务参数

String(256)

业务请求参数的集合

详见demo

sign

签名字符串

String(256)

商户请求参数的签名串

详见demo

业务请求参数的集合,最大长度不限,除公共参数外所有请求参数都必须放在这个参数中传递,具体参照各产品快速接入文档

业务参数

参数

类型

必填

描述

范例

mch_order_no

String

商户订单号

sn1212154544

order_no

String

平台订单号

C1534216626188

返回参数列表

参数

类型

是否必填

描述

code

int

状态码,0为成功,其他为异常

msg

string

错误信息

data

array

返回数据集

mch_id

int

商户id

sub_mch_id

string

子账户id,如果存在,否则返回为空

amount

string

提现金额

order_no

string

平台订单号

mch_order_no

string

商户订单唯一订单号

status

string

状态 1 提现中 2提现成功 3提现失败

into_time

string

到账时间

remark

string

备注

account

string

付款账号

app_id

string

付款应用ID

created_at

string

创建时间

响应结果

请求成功

{
    "code":0,
    "msg":"success",
    "data":{
        "mch_id":"10000",
        "sub_mch_id":"",
        "amount":0.01,
        "order_no":"C100001809271603163295",
        "mch_order_no":"19001538035396",
        "status":2,
        "into_time":"2018-09-27 16:03:17",
        "remark":"Success",
        "account":"payment@shopjian.com(沙箱)",
        "app_id":"2016080600178621",
        "created_at":"2018-09-27 16:03:16"
    }
}

请求异常

{
    "code":-1,
    "msg":"订单不存在",
    "data":{

    }
}

Last updated

Was this helpful?