Files
soul-yongping/开发文档/8、部署/商家转账.md
2026-03-07 22:58:43 +08:00

41 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 商家转账 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) — 提现业务流程图