CollectionService
Retrofit service interface for the MTN MOMO Collection product API.
Extends CommonService with collection-specific operations: request-to-pay and request-to-withdraw.
Functions
Cancels a pending invoice before it is paid or expires.
Cancels an active pre-approval, immediately revoking the merchant's ability to debit the payer's wallet without per-transaction consent.
Creates a Collection invoice, prompting the Invoice.intendedPayer to pay via their wallet.
Creates a pre-approval, allowing the merchant to charge the PreApproval.payer's wallet without per-transaction prompts until the pre-approval expires.
Makes a request to get the Account Balance. This only works with the ProductType.COLLECTION. It seems to break with the other API product type.
Makes a request to get the Account Balance in a specific currency. This only works with the ProductType.COLLECTION. It seems to break with the other API product type. User EUR as the currency on sandbox
Makes a request to get the Basic ApiUser Info.
Retrieves the current status of a previously created invoice.
Retrieves the current status of a previously created pre-approval.
Makes a request to get the transfer status.
Makes a request to get the ApiUser Info with Consent.
Initiates a request-to-pay, prompting the specified payer to approve a payment.
Makes a request to send a delivery notification.
Retrieves the status of a previously initiated request-to-pay transaction.
Initiates a request-to-withdraw, prompting the specified payer to approve a withdrawal.
Sends a delivery notification for a request-to-withdraw transaction.
Retrieves the status of a previously initiated request-to-withdraw transaction.
Makes a request to transfer funds.
Makes a request to check the account holder status.