Query Card

Info

This endpoint retrieves the card information of the card tokenized by the add card endpoints (direct, redirect).

Endpoint

https://ccapi.iotpaycloud.com/v3/cc_querycard

Method

POST

Content-Type: application/json;charset=UTF-8

Request
NameRequiredTypeSampleDescription
mchIdyString(30)0000701assigned by IOTPay
cardIdyString(30)604567999assigned by merchant, must be unique
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm
Response
namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyStringcardId is not bindingif failed, message will contain the reason
retDatayJSONif retCode=SUCCESS, card info returned
retData contains card information:
namerequiredtypesampledescription
cardIdyString604567999Id that has been queried
cardNumyString432567******2266Actual credit card number associated with the cardId
expiryDateyString1123expiryDate of the queried card
holderyStringtestholder of the queried card
cvvyString123cvv of the queried card
Last Updated: