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

Cancel a card

POST
/card/close
Cancel an existing card

Request

Body Params application/json

Example
{
    "request_id": "",
    "company_id": "4101",
    "card_id": "100029701",
    "sign": "050871BB71A16BFBF9FB7CCB36B7783A11E5A8BB570414A30223BBEB36A3ECB3"
}

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/close' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_id": "",
    "company_id": "4101",
    "card_id": "100029701",
    "sign": "050871BB71A16BFBF9FB7CCB36B7783A11E5A8BB570414A30223BBEB36A3ECB3"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "code": 0,
    "msg": {
        "zh-CN": "成功",
        "en-US": "Success"
    },
    "data": {
        "status": "1",
        "reqNo": 116001,
        "errorMsg": null,
        "groupId": null
    }
}
Modified at 2024-11-15 07:35:50
Previous
Withdraw from a card
Next
Update card status