API
  1. Card
API
  • Guides
    • Welcome
    • Interface
  • API Reference
    • Introduction
    • Endpoints
    • Data Types
    • Signing
    • 3-D Secure Verification
    • Subscription
    • Errors
    • Webhooks
    • Items Information
    • Changelog
    • Acquiring
      • Create a direct payment
        POST
      • Create a APM payment
        POST
      • Create a redirect (iFrame) payment
        POST
      • Query a transaction
        POST
      • Refund a transaction
        POST
      • Search a refund transaction
        POST
      • Review a transaction
        POST
      • Cancel a transaction
        POST
      • Cancel a subscription
        POST
      • Capture a transaction
        POST
      • Create a payout
        POST
      • Optimise payment methods
        POST
    • Issuing
      • Cardholder
        • Create cardholder
          POST
        • Delete cardholder
          POST
        • Query cardholder
          POST
      • Group
        • Create group
        • Query group details
        • Cancel group
        • Refund group
        • Update group status
        • Recharge group
      • Card
        • Create a card
          POST
        • Query card BIN
          POST
        • Recharge card
          POST
        • Withdraw from a card
          POST
        • Cancel a card
          POST
        • Update card status
          POST
        • Update card limit
          POST
        • Query card details
          POST
  • Appendix
    • Test Cards
    • Bank Code
    • Country Code
    • Currency Code
    • Payment Methods
  1. Card

Query card details

POST
/card/query
Retrieve details of a card

Request

Body Params application/json

Example
{
    "cardId": "100029801",
    "companyId": "4101",
    "sign": "F733140F74DCFFB6C0D491F33C6061E40A822554606CA488882C19D4FBE9763C"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox.vcc.top/api/card/query' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cardId": "100029801",
    "companyId": "4101",
    "sign": "F733140F74DCFFB6C0D491F33C6061E40A822554606CA488882C19D4FBE9763C"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "code": 0,
    "msg": {
        "zh-CN": "成功",
        "en-US": "Success"
    },
    "data": {
        "cardId": 100029701,
        "cardAlias": "cxyqbitcard",
        "cardNumber": "4040386490382956",
        "cvv": "106",
        "expireYear": "2025",
        "expireMonth": "12",
        "balance": 0,
        "cardholderId": 8401,
        "status": "2",
        "groupName": null,
        "cardType": "1",
        "isOneTime": "1",
        "amountLimit": null,
        "applicationDate": "2024-11-15 11:36:32",
        "validStarDate": "2024-11-15 00:00:00",
        "validEndDate": "2025-12-30 00:00:00",
        "merchants": null,
        "merchantsRestriction": null,
        "merchantCategories": null,
        "merchantCategoriesRestriction": null,
        "spendingTransactionLimit": null
    }
}
Modified at 2024-11-15 07:35:50
Previous
Update card limit
Next
Test Cards