diff options
| -rw-r--r-- | client.go | 2 | ||||
| -rw-r--r-- | rtol_inquiry.go | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -299,8 +299,6 @@ func (cl *Client) RtolTransfer(inquiryReq RtolInquiry, inquiryRes RtolInquiryRes return nil, fmt.Errorf(`%s: %s`, logp, resHttp.Status) } - fmt.Printf(`%s: %s`, logp, resBody) - err = json.Unmarshal(resBody, &res) if err != nil { return nil, fmt.Errorf(`%s: %w`, logp, err) diff --git a/rtol_inquiry.go b/rtol_inquiry.go index 8b6fc4e..d4855ed 100644 --- a/rtol_inquiry.go +++ b/rtol_inquiry.go @@ -10,8 +10,10 @@ import ( // RtolInquiry contains request to initiate transfer from merchant to // customer's bank account using [Online Transfer]. // -// The signature formula is SHA256(email + timestamp + bankCode + -// bankAccount + amountTransfer + purpose + apiKey). +// The signature formula is: +// +// SHA256(email + timestamp + bankCode + bankAccount + amountTransfer + +// purpose + apiKey) // // [Online Transfer]: https://docs.duitku.com/disbursement/en/#online-transfer-inquiry-request type RtolInquiry struct { |
