Query card details
Interface address: /api/v1/card/detail
Note: Query card details.
| Parameter | Type | Mandatory | Description |
|---|
| userId | String | Y | User's unique tag |
| merchantUserId | String | Y | The merchant side user ID, if transmitted, will be bound to the OSL Pay user. |
| ip | String | N | IP address |
| cardId | String | Y | Card ID |
Output parameters
| Parameter | Type | Mandatory | Description |
|---|
| currentCardNum | Integer | Y | Current number of bound cards |
| historyCardNum | Integer | Y | Number of historically bound cards |
| cardDetailInfoVO | Object | Y | Card details |
Card details
| Parameter | Type | Mandatory | Description |
|---|
| userId | String | Y | User's unique tag |
| type | String | Y | bank_account card |
| cardId | String | Y | Card Id |
| fingerPrint | String | Y | Client token |
| scheme | String | Y | Card issuer |
| cardLast | String | Y | Last four digits of card number |
| bin | String | Y | Bank identification code |
| cardType | String | Y | Card type |
| cardCategory | String | Y | Card category |
| issuer | String | Y | Card issuer |
| issuerCountry | String | Y | Card issuing nationality |
| productId | String | Y | Card identifier |
| productType | String | Y | Product type |
| state | String | Y | State |
| businessCode | String | Y | Business type |
| remark | String | Y | Remark |
| tradeTime | String | Y | Trading time |
| createTime | String | Y | Creation time |
| updateTime | String | Y | Update time |
| country | String | Y | Card country |
| countryCode | String | Y | Card country code |
| merchantCode | String | Y | Merchant code |
| firstCardTradeFlag | String | Y | Is this the first time to bind the card? |
| billAddress | String | Y | billing address |
| billPostCode | String | Y | Billing zip code |
| expiryMonth | String | Y | Expiration month |
| expiryYear | String | Y | Expiration year |
| fullName | String | Y | Cardholder Name |
| city | String | Y | City |
| billState | String | Y | State |
| businessType | String | Y | SELL/BUY |
| available | String | Y | Is it available? true: Available false: Unavailable |