malipopaycentralapi_CardCompleteResponse
Always HTTP 200. success is true only when data.status is SUCCESSFUL.
successboolean
Example:
truemessagestring
Example:
Payment successfuldata object
referencestring
Example:
MU00312orderIdstring
Example:
MU00312-C1statusstring
The outcome of this attempt.
Possible values: [SUCCESSFUL, DECLINED, PENDING, FAILED]
Example:
SUCCESSFULmessagestring
Safe to show the payer.
Example:
Payment successfulalreadyPaidboolean
Present when this capture had already been credited.
Example:
falsegatewayCodestring
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:
APPROVEDauthenticationStatusstring
Example:
AUTHENTICATION_NOT_SUPPORTEDcapturedAmountnumber
Example:
25000paymentStatusstring
PARTIAL while something is owed, SUCCESSFUL once nothing is.
Example:
SUCCESSFULpaidAmountnumber
Example:
25000outstandingnumber
Example:
0malipopaycentralapi_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
}
}