aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client.go')
-rw-r--r--client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.go b/client.go
index 35947ff..e91890b 100644
--- a/client.go
+++ b/client.go
@@ -69,7 +69,7 @@ func NewClient(opts ClientOptions) (cl *Client, err error) {
func (cl *Client) CheckBalance() (bal *Balance, err error) {
var (
logp = `CheckBalance`
- req = CreateRequest(cl.opts)
+ req = CreateDisburseRequest(cl.opts)
httpRes *http.Response
resBody []byte
@@ -211,7 +211,7 @@ func (cl *Client) InquiryStatus(disburseID int64) (res *InquiryStatusResponse, e
func (cl *Client) ListBank() (banks []Bank, err error) {
var (
logp = `ListBank`
- req = CreateRequest(cl.opts)
+ req = CreateDisburseRequest(cl.opts)
res = struct {
Data interface{} `json:"Banks"`
Code string `json:"responseCode"`