Bank Card Top-up Order Query

POST Bank Card Top-up Order Query

POST /api/mastercard/topupOrderQuery.html

Bank card top-up order query

Request Body

{
  "orderNo": "12345678901",
  "randomStr": "abcdef12345saas67890"
}

Request Parameters

NameTypeRequiredBase64 EncodingField NameDescription
orderNostringtruenoneOrder numberTop-up order number
randomStrstringtruenoneRandomstrA random string of 32 characters

Example Response

200 Response

{
    "topupStatus": 0,
    "errMsg": "string",
    "payAccountNum": "string",
    "cardNo": "string",
    "cardId": "string",
    "orderNo": "string",
    "tradeId": "string",
    "relatedId": "string",
    "currency": "string",
    "amount": 0,
    "fee": 0
}

Response Fields

NameTypeRequiredConstraintsDescription
topupStatusintegertruenoneTop-up status: 1 - Success, 2 - Failure, 3 - Processing
errMsgstringtruenoneStatus description
payAccountNumstringtruenonePayment account number
cardNostringtruenoneCard number
cardIdstringtruenoneCard token
orderNostringTrueNoneOrder number
tradeIdstringTrueNoneTransaction ID
relatedIdstringTrueNoneRelated transaction ID
currencystringTrueNoneTop-up currency
amountintegerTrueNoneTop-up amount
feeintegerTrueNoneFee