Skip to main content

Documentation Index

Fetch the complete documentation index at: https://opendocs.xft.xin/llms.txt

Use this file to discover all available pages before exploring further.

添加分账方

请求地址: https://xlink.91xft.cn/profit/add/receivers 请求参数
字段是否必选字段类型字段说明
app_idStringapp_id
merchant_codeString商户编号
channelString支付渠道
receiverString分账接收方信息, json 格式
sign_typeString签名类型
signString签名值
响应参数
字段是否必选字段类型字段说明
result_codeStringSUCCESS/FAIL
receiverString分账接收方信息
failure_codeString业务参数 code
failure_msgString业务结果描述
sign_typeString签名类型
signString签名值
分账接收方信息(receiver)
字段是否必选字段类型字段说明
typeString分账方类型,固定传1
accountString分账账户 type=1:商户号;type=2:个人微信号
nameString分账名称

移除分账方

请求地址: https://xlink.91xft.cn/profit/remove/receivers 请求参数及响应同上。type 伟业传1,个人传2。

分账申请

请求地址: https://xlink.91xft.cn/profit/sharing1 请求参数
字段是否必选字段类型字段说明
app_idStringapp_id
merchant_codeString商户编号
out_trade_noString商户交易订单号
share_trade_noString分账订单号
receiversString分账明细列表
remarkString分账备注
sign_typeString签名类型
signString签名值
分账明细列表type, account, amount(分、int)。 响应参数result_code, out_trade_no, failure_code, failure_msg, sign_type, sign

分账查询

请求地址: https://xlink.91xft.cn/profit/sharing/query 请求参数: app_id, merchant_code, channel, out_trade_no, sign_type, sign 响应参数result_code, receivers(json), failure_code, failure_msg, sign_type, sign 分账接收方列表(receivers)
字段是否必选字段类型字段说明
typeString1:企业 2:个人
accountString分账账户
amountint分账金额(分)
descriptionString分账描述
resultStringPENDING/SUCCESS/ADJUST/RETURNED/CLOSED/CANCELED/REFUNDED
finish_timeString分账完成时间
fail_reasonString分账失败原因

分账撤销

请求地址: https://xlink.91xft.cn/profit/sharing/cancel 请求参数: app_id, merchant_code, out_trade_no, share_trade_no, sign_type, sign 响应参数:result_code, receivers, failure_code, failure_msg, out_trade_no, third_trade_no, sign_type, sign