Skip to main content

malipopaycentralapi_PaymentResponse

customer objectrequired
_idstring

Unique identifier for the customer.

Example: 6281559426fa29659c5ac38a
phoneNumberstring

Phone number of the customer.

Example: 255684118011
firstnamestring

First name of the customer.

Example: FRANCIS
lastnamestring

Last name of the customer.

Example: MWAKATUMBULA
mnostring

Mobile Network Operator name.

Example: Airtel
merchantAccountIdstringrequired

Name of the merchant account.

Example: Lockwood Technology
modestringrequired

Mode of payment processing.

Example: CHARGE
referencestringrequired

Reference number for the payment.

Example: ML21030
amountintegerrequired

Amount being charged.

Example: 1000
currencystringrequired

Currency code for the transaction.

Example: TZS
linkstring

Link to the payment gateway or receipt.

statusstringrequired

Current status of the payment.

Example: PROCESSING
method object

How the payment was paid. card: scheme (MASTERCARD, VISA, AMEX) and last4, null for a card capture recorded before this field existed. mobile: network. mixed: part card, part mobile money. Never more of the card than the last four digits.

typestringrequired

Possible values: [card, mobile, mixed]

Example: card
schemestringnullable
Example: MASTERCARD
last4stringnullable
Example: 0018
networkstringnullable
Example: null
paidAmountnumber

What has been paid so far. Equals amount once paid in full.

Example: 1000
malipopaycentralapi_PaymentResponse
{
"customer": {
"_id": "6281559426fa29659c5ac38a",
"phoneNumber": "255684118011",
"firstname": "FRANCIS",
"lastname": "MWAKATUMBULA",
"mno": "Airtel"
},
"merchantAccountId": "Lockwood Technology",
"mode": "CHARGE",
"reference": "ML21030",
"amount": 1000,
"currency": "TZS",
"link": "string",
"status": "PROCESSING",
"method": {
"type": "card",
"scheme": "MASTERCARD",
"last4": "0018",
"network": null
},
"paidAmount": 1000
}