Skip to content

Releases: NdoleStudio/mtnmomo-go

0.0.7

31 Oct 19:53
a413d73
Compare
Choose a tag to compare
  • Implement the ValidateAccountHolderStatus and GetBasicUserinfo collection endpoints.

v0.0.6

10 Aug 22:17
97f3ea8
Compare
Choose a tag to compare
  • Fix the code to always return *Response even when the http request is not successfull

v0.0.5

11 Sep 10:29
Compare
Choose a tag to compare
  • Separate collection and disbursement http clients.

v0.0.4

11 Sep 09:05
Compare
Choose a tag to compare
  • Added disbursement endpoints
    • POST {baseURL}/disbursement/token/: Create access token
    • POST {baseURL}/disbursement/v1_0/transfer: Transfer money to a customer's account.
    • GET {baseURL}/disbursement/v1_0/transfer/{referenceId}: Get the status of a transfer.
    • GET {baseURL}/disbursement/v1_0/account/balance: Get the balance of the disbursement account

v0.0.3

04 Dec 13:35
Compare
Choose a tag to compare
  • Add helper methods for request to pay status

v0.0.2

04 Dec 07:09
Compare
Choose a tag to compare
  • Fix bug when marshalling collections/requesttopay response with errors.

v0.0.1

28 Nov 19:08
Compare
Choose a tag to compare

Implemented

  • API User
    • POST {baseURL}/apiuser: Create API User
    • POST {baseURL}/apiuser/{APIUser}/apikey: Create API Key
    • GET {baseURL}/apiuser/{APIUser}: Get API user information
  • Collection
    • POST {baseURL}/collection/token/: Create access token
    • POST {baseURL}/collection/v1_0/requesttopay: Request a payment from a consumer
    • GET {baseURL}/collection/v1_0/requesttopay/{referenceId}: Get the status of a request to pay
    • GET {baseURL}/collection/v1_0/account/balance: Get the balance of the account