| Age | Commit message (Collapse) | Author |
|
The share module has been migrated and renamed to
git.sr.ht/~shulhan/pakakeh.go.
|
|
Some API now return "SUCCESS" instead of "Success", which is inconsistent
with the rest.
|
|
The idea is to allow the caller to know the Signature of request after
call to MerchantTxStatus and possibly log the whole request.
While at it, we change the method name to MerchantPaymentStatus and
the type from transactionStatus to PaymentStatus, and from
TxStatusResponse to PaymentStatusResponse.
|
|
This is to allow the MerchantInquiry API to be more customize able
instead of fixed, using specific merchant configuration.
While at it change the MerchantInquiry method parameter to pointer,
because to allow the caller receive filled Signature for audit.
|
|
The MerchantTxStatus method check the payment status by its orderID and
payment method.
Reference: https://docs.duitku.com/api/en/#check-transaction
|
|
The MerchantInquiry API request payment to the Duitku system (via virtual
account numbers, QRIS, e-wallet, and so on).
Ref: https://docs.duitku.com/api/en/#request-transaction
|
|
The MerchantPaymentMethod method return list of payment methods enabled
by merchant (your project).
|
|
|
|
While at it, compare the test response directly by overwriting
CustRefNumber and DisburseID.
|
|
The InquiryStatus get the status of previous Transfer.
Ref: https://docs.duitku.com/disbursement/en/#inquiry-status
|
|
Instead of using request and response from inquiry, pass the actual
Transfer type.
This is to minimize confusion and to allow the caller to log the request
on their side.
|
|
Since the call to inquiry/transfer modify the parameter fields, we
need to pass it as pointer so the caller can inspect or log the request
values.
|
|
The ClearingTransfer method do the clearing transfer using request and
response from Clearing Inquiry.
|
|
The ClearingInquiry method is used to initiate the transfer for Clearing
using LLG, RTGS, H2H, or BI-FAST.
|
|
Since most methods are call to disbursement methods, adding Disbursement
in the method names not only make it longer but sligtly redundant.
|
|
The RtolTransfer do the actual transfer to customer's bank account using
the request and response from RtolInquiry.
|
|
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
|
|
The DisbursementCheckBalance return the current and effective user's
balance.
|
|
Currently, the client provide API for fetching list of banks for
disbursement.
See https://docs.duitku.com/ for reference.
|