Validate Last 4 Digit

Validate Last4 Digit Request service uses POST method to check if the last 4 digit of a card is valid for a phone number.

Endpoint

/MFSAfricaCard/v1/validateLast4DigitRequest

Request

{
  "last4Digits": "1233",
  "mobilePhoneNumber": "232323322"
}
Field (* required field)TypeDescription
last4Digits*stringLast 4 Digits of card associated with phone number
mobilePhoneNumber*stringMobile Number associated with card

Response

{
    "errorCode": "0000",
    "errorMessage": "SUCCESS",
    "valid": "true"
}
FieldTypeDescription
errorCodestringError Code
errorMessagestringError Message
validstringThis field contains the “true” if the information matches an existing customer. “false” otherwise.