Bank Card Query

POST Bank Card Query

POST /api/mastercard/masterCardQuery.html

Bank card query

Request Body

{
  "cardId": "card123456",
  "cardNo": "1234567890",
  "randomStr": "abcdef1234567890"
}

Request Parameters

NameTypeRequiredBase64 EncodedDescription
cardIdstringfalsenonecardId or cardNo must be filled in at least
cardNostringfalsenonecardId or cardNo must be filled in at least
randomStrstringtruenone32-character random string

Example Response

200 Response

{
    "cardNo": "string",
    "cardType": 0,
    "cardChannel": 0,
    "cardStatus": 0,
    "balance": 0,
    "accountlist": [
      {
        "currency": "string",
        "balance": 0,
        "digital": 0
      }
    ]
}

Response Fields

NameTypeRequiredConstraintDescription
cardNostringtruenonecard number
cardTypeintegertruenonecard type
cardChannelintegertruenonecard category
cardStatusintegertruenonecard status
balanceintegertruenonebalance
accountListarraytruenoneaccount list

The parameters contained in the accountlist are as follows:

NameTypeRequiredConstraintDescription
currencystringtruenoneCurrency
balanceintegertruenoneBalance
digitalanytruenoneDigital