malipopaycentralapi_PaymentIntentPayload
Create a payment intent (generic). Used to programmatically initiate a collection, payout, or refund via a specific payment method (MNO push, card, lipa number, etc.).
modestringrequired
Direction/type of the payment.
Possible values: [PAYOUT, CHARGE, REFUND]
Example:
CHARGEamountnumberrequired
Amount in the smallest currency unit (e.g. TZS).
Example:
1000referencestringnullable
Optional merchant reference. Left empty for server-generated.
Example:
ORDER-2026-0091currencystringnullable
Three-letter currency code. Defaults to TZS.
Possible values: [TZS, USD, NGN]
Example:
TZSpaymentMethodDetails objectrequired
customer object
malipopaycentralapi_PaymentIntentPayload
{
"mode": "CHARGE",
"amount": 1000,
"reference": "ORDER-2026-0091",
"currency": "TZS",
"paymentMethodDetails": {
"type": "MPESA_TZ_PUSH",
"phoneNumber": "255742200105",
"cardNumber": 0,
"expiryMonth": 0,
"expiryYear": 0,
"holderName": "string",
"brand": "string",
"cvc": 0
},
"customer": {
"email": "jane@example.com",
"phoneNumber": "255742200105",
"firstname": "JANE",
"lastname": "DOE",
"billingAddress": {
"address": "Mikocheni, Plot 14",
"alternativeAddress": "",
"city": "Dar es Salaam",
"region": "Dar es Salaam",
"postcode": "14112",
"country": "TZ"
}
}
}