Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The response that will be gotten depends on the kind of card used for the transaction. There are cards charged with the use of an OTP and those charged without an OTP. See sample response for both scenarios.

Sample Response (For 3DS Secure Authentication)

Code Block
languagejson
{
    "requestSuccessful": true,
    "responseMessage": "success",
    "responseCode": "0",
    "responseBody": {
        "status": "BANK_AUTHORIZATION_REQUIRED",
        "secure3dData": {
            "id": "769104908",
            "redirectUrl": "https://0eaf.cardinalcommerce.com/EAFService/jsp/v1/redirect",
            "callBackUrl": "https://webpay.interswitchng.com/collections/api/v1/pay/cardinalCallBack",
            "eciFlag": "07",
            "termUrl": "https://webpay.interswitchng.com/collections/api/v1/pay/cardinalCallBack",
            "acsUrl": "https://0eaf.cardinalcommerce.com/EAFService/jsp/v1/redirect",
            "paReq": "P.29bc9e4fb9c3cdd35c3cd6abf323a7544ed8da1a7b609462f2979c2c8cdf561736fbed57ed447ef69484556311fc0b08399a9b3a8f3ae94900d9e5cb443a1bf257541e1b931b67dfcb4c27ba64d06b53",
            "transactionId": "gJKEbN5MmwlkjcKwYAD0",
            "paymentId": "769104908",
            "method": "POST",
            "md": "769104908"
        },
        "transactionReference": "MNFY|79|20220328040030|001015",
        "paymentReference": "u0v3ysqjp809883",
        "authorizedAmount": 20.0
    }
 }

Sample Response (with no OTP)

Code Block
languagejson
{
    "requestSuccessful": true,
    "responseMessage": "success",
    "responseCode": "0",
    "responseBody": {
        "status": "SUCCESS",
        "message": "Transaction Successful",
        "transactionReference": "MNFY|54|20210429142557|000206",
        "paymentReference": "1619702756719",
        "authorizedAmount": 2000.00
    }
}

...