aboutsummaryrefslogtreecommitdiff
path: root/response.go
AgeCommit message (Collapse)Author
2023-08-15all: add list of known error codesShulhan
The list is taken from https://docs.duitku.com/disbursement/id/?json#error-code
2023-08-15all: export all of status codesShulhan
While at it, change the code prefix from ResCodeXXX to StatusCodeXXX so we can add another error codes later.
2022-11-30all: do not check for response Code on transferShulhan
As long as the response body is valid, return it to caller and let them check the response code manually. This is to allow user to log the request and full response.
2022-11-04all: export the request and response typesShulhan
This is to make documentation for the type that embed those types more clear.
2022-10-31all: realign all structShulhan
This is to minimize the memory usage. In the response struct we remove unused Data field.
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.