Package-level declarations
Types
Represents the account balance returned by the MTN MOMO API.
Represents the active/inactive status of an account holder in the MTN MOMO system.
Represents the nested address object returned within UserInfoWithConsent by the MTN MOMO GET /oauth2/{version}/userinfo endpoint.
Wraps the response of the MTN MOMO Collection getApprovedPreApprovals endpoint, which returns a preApprovalDetails array of PreApprovalDetails entries for the queried account holder.
Data class representing basic user information (KYC payload) returned by the MTN MOMO API.
Request parameters for a backchannel (CIBA) authorization call.
Represents the response from an account authorization request.
Represents a Remittance cash transfer request sent to the MTN MOMO Cash Transfer V2 API.
Represents the status of a Remittance cash transfer, returned by getCashTransferStatus (GET /remittance/{apiVersion}/cashtransfer/{referenceId}).
Represents the status of a Disbursements deposit, returned by getDepositStatus (GET /disbursement/{apiVersion}/deposit/{referenceId}).
Represents an error response returned by the MTN MOMO API.
Request body sent when cancelling a Collection invoice.
Represents the status of a Collection invoice, returned by getInvoiceStatus.
Data class representing a Momo notification.
Identifies a party (payer or payee) in a MTN MOMO transaction.
Represents the status of a Collection payment, returned by getPaymentStatus.
Represents a Collection pre-approval request sent to the MTN MOMO Pre-approval API.
Represents a single pre-approval record returned by the MTN MOMO Collection API, e.g. an entry in the list from getApprovedPreApprovals.
Represents the status of a single Collection pre-approval, returned by getPreApprovalStatus.
Represents the callback host for the MTN MOMO API.
Represents the status of a Disbursements refund, returned by getRefundStatus (GET /disbursement/{apiVersion}/refund/{referenceId}).
Represents the status of a Collection request-to-pay, returned by requestToPayTransactionStatus (GET /collection/{apiVersion}/requesttopay/{referenceId}).
Request body for the Collection request-to-withdraw operation, prompting the payer to approve a withdrawal.
Represents the status of a Collection request-to-withdraw, returned by requestToWithdrawTransactionStatus (GET /collection/{apiVersion}/requesttowithdraw/{referenceId}).
Represents the status of a transfer, returned by getTransferStatus (GET /{productType}/{apiVersion}/transfer/{referenceId}).
Represents extended user information returned by the MTN MOMO GET /oauth2/{version}/userinfo endpoint after the user grants consent.