diff --git a/README.md b/README.md index 239f753..a8a6680 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,8 @@ You may want to override those `onSuccess`, `onPending` and `onError` functions to reflect the behaviour that you wished when the charging result in their respective state. +### Iris Gateway + ## License See [LICENSE](LICENSE). diff --git a/iris.go b/iris.go index 66a370c..c2415f1 100644 --- a/iris.go +++ b/iris.go @@ -55,7 +55,7 @@ func (gateway *IrisGateway) ValidateBankAccount(bankName string, account string) } // CreatePayouts : Create Payout with single or multiple payouts -func (gateway *IrisGateway) CreatePayouts(req PayoutReq) (Payout, error) { +func (gateway *IrisGateway) CreatePayouts(req *PayoutReq) (Payout, error) { resp := Payout{} jsonReq, _ := json.Marshal(req)