Skip to main content

malipopaycentralapi_CardCompleteResponse

Always HTTP 200. success is true only when data.status is SUCCESSFUL.

successboolean
Example: true
messagestring
Example: Payment successful
data object
referencestring
Example: MU00312
orderIdstring
Example: MU00312-C1
statusstring

The outcome of this attempt.

Possible values: [SUCCESSFUL, DECLINED, PENDING, FAILED]

Example: SUCCESSFUL
messagestring

Safe to show the payer.

Example: Payment successful
alreadyPaidboolean

Present when this capture had already been credited.

Example: false
gatewayCodestring

The gateway result, or one of Malipopay's own: UNCONFIRMED (the capture got no answer; status PENDING; poll verify, never re-charge), NOT_SENT (the gateway never received it; not charged), PAYMENT_CANCELLED (the request was cancelled; not charged), AMOUNT_EXCEEDS_OUTSTANDING, ERROR (the gateway refused the request; the payer gets a plain sentence, never the raw text).

Example: APPROVED
authenticationStatusstring
Example: AUTHENTICATION_NOT_SUPPORTED
capturedAmountnumber
Example: 25000
paymentStatusstring

PARTIAL while something is owed, SUCCESSFUL once nothing is.

Example: SUCCESSFUL
paidAmountnumber
Example: 25000
outstandingnumber
Example: 0
malipopaycentralapi_CardCompleteResponse
{
"success": true,
"message": "Payment successful",
"data": {
"reference": "MU00312",
"orderId": "MU00312-C1",
"status": "SUCCESSFUL",
"message": "Payment successful",
"alreadyPaid": false,
"gatewayCode": "APPROVED",
"authenticationStatus": "AUTHENTICATION_NOT_SUPPORTED",
"capturedAmount": 25000,
"paymentStatus": "SUCCESSFUL",
"paidAmount": 25000,
"outstanding": 0
}
}