Skip to main content

malipopaycentralapi_CardPrepareResponse

successboolean
Example: true
messagestring
Example: card session prepared
data object
referencestring
Example: MU00312
sessionIdstring
Example: SESSION0002943025168K29748889M7
orderIdstring

This attempt's gateway order, reference-Cn.

Example: MU00312-C1
authTransactionIdstring

Pass to three-ds.js.

Example: MU00312-C1-A
attemptinteger
Example: 1
amountnumber

What this attempt will capture.

Example: 25000
outstandingnumber

What was owed when the attempt opened.

Example: 25000
currencystring
Example: TZS
merchantIdstring
Example: 993455000092
gatewayBasestring
Example: https://test-nmbbank.mtf.gateway.mastercard.com
wsVersioninteger

Configure three-ds.js with this version.

Example: 77
redirectResponseUrlstring
Example: https://core-uat.malipopay.co.tz/api/v1/payment/card/3ds/return/MU00312?order=MU00312-C1
malipopaycentralapi_CardPrepareResponse
{
"success": true,
"message": "card session prepared",
"data": {
"reference": "MU00312",
"sessionId": "SESSION0002943025168K29748889M7",
"orderId": "MU00312-C1",
"authTransactionId": "MU00312-C1-A",
"attempt": 1,
"amount": 25000,
"outstanding": 25000,
"currency": "TZS",
"merchantId": "993455000092",
"gatewayBase": "https://test-nmbbank.mtf.gateway.mastercard.com",
"wsVersion": 77,
"redirectResponseUrl": "https://core-uat.malipopay.co.tz/api/v1/payment/card/3ds/return/MU00312?order=MU00312-C1"
}
}