---
agentTools:
  projectIndex: https://usegraph.readme.io/llms.txt
---

# Close Card

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Core API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.useoval.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/card/{card_id}": {
      "delete": {
        "summary": "Close Card",
        "description": "",
        "operationId": "close-card",
        "parameters": [
          {
            "name": "card_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"id\": \"27f7daeeb05911ed9e800242ac110002\",\n        \"holder_id\": \"c74b2fb8a59911eda9df0242ac110002\",\n        \"holder_type\": \"person\",\n        \"balance\": 0,\n        \"currency\": \"USD\",\n        \"brand\": \"visa\",\n        \"label\": \"Sandbox\",\n        \"cardholder_name\": \"JOHN DERRICK\",\n        \"number_masked\": \"4291**********55\",\n        \"number\": \"f3e922abf2703e2769e2479abf7852b8\",\n        \"exp_month\": \"02\",\n        \"exp_year\": \"2026\",\n        \"cvv\": \"133aec11d919bdf3841520d27774745a\",\n        \"pin\": null,\n        \"billing_address\": {\n            \"address_type\": \"mailing\",\n            \"city\": \"Missouri\",\n            \"country\": \"US\",\n            \"line1\": \"2632 Bouillon Way\",\n            \"line2\": \"\",\n            \"postal_code\": \"012916\",\n            \"state\": \"BA\"\n        },\n        \"is_deleted\": false,\n        \"status\": \"closed\",\n        \"created_at\": \"2023-02-19T13:27:28Z\",\n        \"updated_at\": \"2023-02-19T15:47:18Z\"\n    },\n    \"message\": \"Card closed successfully\",\n    \"meta\": null,\n    \"status\": \"success\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "27f7daeeb05911ed9e800242ac110002"
                        },
                        "holder_id": {
                          "type": "string",
                          "example": "c74b2fb8a59911eda9df0242ac110002"
                        },
                        "holder_type": {
                          "type": "string",
                          "example": "person"
                        },
                        "balance": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "currency": {
                          "type": "string",
                          "example": "USD"
                        },
                        "brand": {
                          "type": "string",
                          "example": "visa"
                        },
                        "label": {
                          "type": "string",
                          "example": "Sandbox"
                        },
                        "cardholder_name": {
                          "type": "string",
                          "example": "JOHN DERRICK"
                        },
                        "number_masked": {
                          "type": "string",
                          "example": "4291**********55"
                        },
                        "number": {
                          "type": "string",
                          "example": "f3e922abf2703e2769e2479abf7852b8"
                        },
                        "exp_month": {
                          "type": "string",
                          "example": "02"
                        },
                        "exp_year": {
                          "type": "string",
                          "example": "2026"
                        },
                        "cvv": {
                          "type": "string",
                          "example": "133aec11d919bdf3841520d27774745a"
                        },
                        "pin": {},
                        "billing_address": {
                          "type": "object",
                          "properties": {
                            "address_type": {
                              "type": "string",
                              "example": "mailing"
                            },
                            "city": {
                              "type": "string",
                              "example": "Missouri"
                            },
                            "country": {
                              "type": "string",
                              "example": "US"
                            },
                            "line1": {
                              "type": "string",
                              "example": "2632 Bouillon Way"
                            },
                            "line2": {
                              "type": "string",
                              "example": ""
                            },
                            "postal_code": {
                              "type": "string",
                              "example": "012916"
                            },
                            "state": {
                              "type": "string",
                              "example": "BA"
                            }
                          }
                        },
                        "is_deleted": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "status": {
                          "type": "string",
                          "example": "closed"
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2023-02-19T13:27:28Z"
                        },
                        "updated_at": {
                          "type": "string",
                          "example": "2023-02-19T15:47:18Z"
                        }
                      }
                    },
                    "message": {
                      "type": "string",
                      "example": "Card closed successfully"
                    },
                    "meta": {},
                    "status": {
                      "type": "string",
                      "example": "success"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 99,
      "1": 125,
      "2": 158,
      "3": 10,
      "4": 235,
      "5": 136,
      "6": 115,
      "7": 0,
      "8": 58,
      "9": 214,
      "10": 46,
      "11": 172
    }
  }
}
```