3.9.3 资金管理提现


资金管理中过程中,完成提现。

注意:

  • 接口目前不支持资金托管模式。
  • 提现时间超过21点,可能会第二天到账
  • 提现发起后,如果中间户余额不足,会等到余额足的时候完成提现(如,第二天凌晨完成资金归集后)
  • 提现发起后,不会立即返回结果,可在下一个小时的30分以后,查询提现结果(如:10:55发起提现,在11:30查询结果)

method: allinpay.shopoint.fundService.withdraw

version: 1.0

业务请求参数

字段名

字段名

参数类型

必填

最大长度

说明

取值

orderId

 

String

是

60

订单号

 

details

 

List

是

 

 

 

accountUserId

Integer

否

11

账户Id

accountUserId、externalCode、isPlatform必传一个

同时传accounUserId和其他选项时,以accountUserId为准

externalCode

String

否

30

店铺编号或者外部分佣方编号

同时传externalCode和isPlatform时,以externalCode为准

isPlatform

Boolean

否

5

大B

true/false

withdrawAmount

BigDecimal

是

14

提现金额

 

summary

String

否

 

摘要

大B为结算通时,长度为100;

大B为其他类型时,长度为50

业务响应参数

字段名

参数类型

必填

最大长度

说明

取值

code

Integer

是

 

返回码

0:表示成功;

3:表示失败,具体失败原因参见msg字段;

其他:参见4.1 公共返回码

msg

String

否

 

错误信息

 

data

orderId

String

是

 

订单号

 

details

List

 

 

提现明细列表

 

 

accountUserId

Integer

是

 

账户Id

 

 

accountSetNo

Integer

是

 

账户集编号

100001,余额户

2000000,营销户

100000001,储值卡专用户

referenceType

Integer

是

 

账户来源

11,大B

13,店铺

49,外部分佣方

referenceId

Integer

否

 

账户来源Id

账户来源为大B时,机构Id

账户来源为店铺时,店铺Id

账户来源为外部分佣方时,null

externalCode

String

否

 

店铺编号或者外部分佣方编号

 

shopName

String

否

 

店铺名称

 

accountName

String

是

 

账户名称

 

withdrawTId

Integer

否

 

 

通联返回的提现交易流水号

withdrawAmount

BigDecimal

是

 

提现金额

实际到账金额

fee

BigDecimal

是

 

提现手续费

 

summary

String

否

 

摘要

大B为结算通时,长度为100;

大B为其他类型时,长度为50

withdrawStatus

Integer

是

 

提现状态

1,提现中

3,提现失败

withdrawStatusDesc

String

是

 

提现状态描述

1,提现中

3,提现失败原因

 

请求示例

{

"orderId": "1236158361962",

"details": [    

        {"accountUserId": 100, "withdrawAmount": 100},

        {"externalCode": "abc123", "withdrawAmount": 100},

        {"isPlatform": true, "withdrawAmount": 100}

]

}

 

响应示例

{

    "code": 0,

    "data": {

        "orderId": "1236158361962",

        "details": [    

                {"accountUserId": 100, "externalCode": "abc123", "withdrawAmount": 100},

                {"accountUserId": 100, "externalCode": "abc123", "withdrawAmount": 100},

                {"accountUserId": 100, "externalCode": "abc123", "withdrawAmount": 100}

        ]

    },

    "token": "DlRXdIjEBLRLCJgwTP37sZW6ls--NflxVS2-KUHl"

}


2025年11月19日 14:47 收藏文档