-
Notifications
You must be signed in to change notification settings - Fork 427
/
bill.go
21 lines (17 loc) · 1.03 KB
/
bill.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package alipay
import "context"
// BillDownloadURLQuery 查询对账单下载地址接口 https://docs.open.alipay.com/api_15/alipay.data.dataservice.bill.downloadurl.query
func (c *Client) BillDownloadURLQuery(ctx context.Context, param BillDownloadURLQuery) (result *BillDownloadURLQueryRsp, err error) {
err = c.doRequest(ctx, "POST", param, &result)
return result, err
}
// BillBalanceQuery 支付宝商家账户当前余额查询接口 https://opendocs.alipay.com/apis/api_15/alipay.data.bill.balance.query
func (c *Client) BillBalanceQuery(ctx context.Context, param BillBalanceQuery) (result *BillBalanceQueryRsp, err error) {
err = c.doRequest(ctx, "POST", param, &result)
return result, err
}
// BillAccountLogQuery 查询账户账务明细接口请求参数 https://opendocs.alipay.com/apis/api_15/alipay.data.bill.accountlog.query
func (c *Client) BillAccountLogQuery(ctx context.Context, param BillAccountLogQuery) (result *BillAccountLogQueryRsp, err error) {
err = c.doRequest(ctx, "POST", param, &result)
return result, err
}