Query card detailSignature required
Call this API to query the WorldCard details.
Structure
A message consists of a header and body. For details, see the following sections.
Request header
Request parameters
assetId String REQUIRED
The unique identifier of a card.
Response parameters
result Result REQUIRED
The result of the API call.
assetId String REQUIRED
The unique identifier of a card.
This field is returned only when the value of result.resultStatus is S
.
cardHolderFirstName String REQUIRED
The first name of the card holder.
This field is returned only when the value of result.resultStatus is S
.
cardHolderLastName String REQUIRED
The last name of the card holder.
This field is returned only when the value of result.resultStatus is S
.
cardNickName String
The card nickname.
This field is returned only when the value of result.resultStatus is S
.
maskedCardNo String REQUIRED
The masked card number.
This field is returned only when the value of result.resultStatus is S
.
cardStatus String REQUIRED
The card status. Valid values are:
ACTIVE
FROZEN
CALCEL
This field is returned only when the value of result.resultStatus is S
.
cardBrand String REQUIRED
The card brand.
Valid value is: MASTERCARD
This field is returned only when the value of result.resultStatus is S
.
cardLimitDetail CardLimitDetail REQUIRED
The detailed information of the card transaction limit.
This field is returned only when the value of result.resultStatus is S
.
billAddress BillAddress
The billing address.
This field is returned only when the value of result.resultStatus is S
.
Request
Response
Result processing logic
After calling the API, a response is returned. Possible values for result.resultStatus are:
result.resultCode
Code | Value | Message | Further action |
---|---|---|---|
SUCCESS | S | Success | |
SYSTEM_ERROR | F | System error. | Do not retry, and contact our Technical Support Team for more details. |
PARAM_ILLEGAL | F | Illegal parameters exist. For example, a non-numeric input, or an invalid date. | Check and verify whether the request fields, including the header fields and body fields, are correct and valid. For details on the fields of each API, see the specific API Structure section. |
UNKNOWN_EXCEPTION | U | API failed due to unknown reason. | The service might be down, retry later. If the issue persists, contact our Technical Support Team. |
CONTRACT_NOT_EXIST | F | The contract check has failed. | Ensure the Partner has already signed a contract and the input is correct. |
USER_NOT_EXIST | F | The user does not exist. | Retry with the correct user information. |
ASSET_NOT_EXIT | F | Asset not exit | Verify that the asset ID is correct and retry. |
ASSET_STATUS_ERROR | F | Asset status error | Verify the asset is in good standing and retry. |
ACCESS_TOKEN_EXPIRED | F | The access token expired. | Refresh token to get a new access token or contact our Technical Support Team to address it. |
AUTHORIZATION_NOT_EXIST | F | The authorization does not exist. | Make sure that the input is correct. If the issue persists, contact our Technical Support Team to verify the authorization status. |