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)

Type

Description

last4Digits*

string

Last 4 Digits of card associated with phone number

mobilePhoneNumber*

string

Mobile Number associated with card

Response

{
    "errorCode": "0000",
    "errorMessage": "SUCCESS",
    "valid": "true"
}

Field

Type

Description

errorCode

string

Error Code

errorMessage

string

Error Message

valid

string

This field contains the “true” if the information matches an existing customer. “false” otherwise.