Files
soul-yongping/开发文档/8、部署/商家转账.md

41 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

# 商家转账 PowerWeChat 调用示例
> 来源soul-api/商家转账.md。已整理至开发文档。完整实现见 [提现功能完整技术文档](提现功能完整技术文档.md)。
---
## 请求示例PowerWeChat
```go
req := &request.RequestTransferBills{
Appid: "Appid",
OutBillNo: "OutBillNo",
TransferSceneId: "TransferSceneId",
Openid: "Openid",
UserName: "UserName",
TransferAmount: 1,
TransferRemark: "TransferRemark",
NotifyUrl: "NotifyUrl",
UserRecvPerception: "UserRecvPerception",
TransferSceneReportInfos: []request.TransferSceneReportInfo{
{
InfoType: "InfoType",
InfoContent: "InfoContent",
},
},
}
ctx := c.Request.Context()
rs, err := services.PaymentApp.FundApp.TransferBills(ctx, req)
if err != nil {
panic(err)
}
c.JSON(http.StatusOK, rs)
```
---
## 相关文档
- [提现功能完整技术文档](提现功能完整技术文档.md) — 微信支付商家转账到零钱 API 集成
- [分销提现流程图](分销提现流程图.md) — 提现业务流程图