aboutsummaryrefslogtreecommitdiff
path: root/client_options.go
AgeCommit message (Collapse)Author
2025-07-12all: replace module share with pakakeh.goShulhan
The share module has been migrated and renamed to git.sr.ht/~shulhan/pakakeh.go.
2025-07-12all: add option Timeout to ClientShulhan
The Timeout option affect how long the client wait for connect and waiting for response.
2023-02-01all: split the merchant into DefaultMerchant and PaymentMerchantShulhan
The PaymentMerchant will be used if the payment method during inquiry exist as the key in it; otherwise it will use DefaultMerchant
2023-01-31all: add client options to set merchant callback and return URLShulhan
Since the callback and return URL rarely changes, setting this in ClientOptions can simplify creating MerchantInquiry request.
2023-01-31all: add function to load ClientOptions from fileShulhan
The LoadClientOptions load the ClientOptions from configuration file. The file configuration is using INI, for example [duitku] server_url = https://sandbox.duitku.com disburse_user_id = 3551 disburse_email = test@chakratechnology.com disburse_api_key = de5...
2023-01-31all: add prefix Disburse to UserID, Email, and ApiKey in ClientOptionsShulhan
This is to differentiate options between Merchant and Disbursement.
2023-01-31all: add options for merchant code and its API keyShulhan
We add additional merchant code and API key for Indomaret transaction.
2022-11-07all: changes the UserID in ClientOptions from string to int64Shulhan
The type in request is always be an int.
2022-11-07all: implement client API for Clearing InquiryShulhan
The ClearingInquiry method is used to initiate the transfer for Clearing using LLG, RTGS, H2H, or BI-FAST.
2022-11-04all: implement API for online transfer inquiryShulhan
The RtolInquiry method get the information of the name of the account owner of the transfer destination. After getting this information, customers can determine whether the purpose of such a transfer is in accordance with the intended or not. If appropriate, the customer can proceed to the transfer process. Ref: https://docs.duitku.com/disbursement/en/#transfer-online
2022-10-19duitku: library and HTTP client for duitku.comShulhan
Currently, the client provide API for fetching list of banks for disbursement. See https://docs.duitku.com/ for reference.