Invoice
data class Invoice(val externalId: String, val amount: String, val currency: String, val validityDuration: String? = null, val intendedPayer: Party? = null, val payee: Party? = null, val description: String? = null)
Represents a Collection invoice request sent to the MTN MOMO Invoice API.
An invoice is a payment request linked to a specific intended payer that expires after validityDuration seconds. The payer is prompted to approve the invoice from their mobile wallet.
Constructors
Properties
Link copied to clipboard
Message written to the payer's transaction history describing the invoice.
Link copied to clipboard
Merchant-assigned reference used to correlate the invoice on the integrator side.
Link copied to clipboard
The Party that is expected to pay the invoice; optional.
Link copied to clipboard
Seconds until the invoice expires; defaults to the product's configured TTL when null.