Cardholder Query

POST Cardholder Query

POST /api/mastercard/holderQuery.html

Cardholder query: Audit status - 0 Pending review, 1 Under review, 2 Approved, 3 Rejected, 4 Data to be completed

Request Body

{
  "holderId": "100960",
  "idno": "ABC123456",
  "idnoType": 1,
  "randomStr": "abcdef1234567890"
}

Request Parameters

NameTypeRequiredBase64 EncodingField NameDescription
holderIdstringfalsenoneCardholder IDCardholder ID (Choose either holderId or idnoType+idno)
idnoTypeintegerfalsenoneID TypeID type: 1 - European ID card (only for users with European nationality), 2 - Passport
idnostringfalsenoneID NumberID number
randomStrstringtruenoneRandomstrA random string of 32 characters

Example Response

200 Response

{
    "auditStatus": 1,
    "errMsg": "Approved",
    "firstName": "John",
    "holderId": "1234567890",
    "idno": "ABC123456",
    "idnoType": 2,
    "lastName": "Doe",
    "mobile": "+8618666666666"
}

Response Fields

NameTypeRequiredConstraintsDescription
holderIdstringtruenoneCardholder ID
auditStatusintegertruenoneAudit status: 0 - Pending review, 1 - Under review, 2 - Approved, 3 - Rejected, 4 - Data to be completed
errMsgstringtruenoneDescription
mobilestringtruenoneMobile phone number
lastNamestringtruenoneLast name
firstNamestringtruenoneFirst name
idnoTypeintegertruenoneID type
idnostringtruenoneID number