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

# Withdraw Funds

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "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/withdraw": {
      "post": {
        "summary": "Withdraw Funds",
        "description": "",
        "operationId": "withdraw-funds",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "card_id",
                  "amount"
                ],
                "properties": {
                  "card_id": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "integer",
                    "description": "Amount should be in subunits, e.g., $5 should be sent as 500.",
                    "default": 500,
                    "format": "int32"
                  },
                  "custom_reference": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"id\": \"40b8e539d28e11ed8e450242ac110002\",\n        \"object_type\": \"card\",\n        \"card_id\": \"1b7458b1d28d11ed8e450242ac110002\",\n        \"account_id\": \"c74ff868a59911eda9df0242ac110002\",\n        \"account_type\": \"wallet_account\",\n        \"kind\": \"charge\",\n        \"deposit_id\": null,\n        \"payout_id\": null,\n        \"charge_id\": \"40b720d3d28e11ed8e450242ac110002\",\n        \"type\": \"debit\",\n        \"description\": \"Card Withdrawal Charge\",\n        \"linked_transaction_id\": null,\n        \"currency\": \"USD\",\n        \"amount\": 4400,\n        \"balance_before\": 5500,\n        \"balance_after\": 1100,\n        \"status\": \"successful\",\n        \"created_at\": \"2023-04-04T02:13:13Z\",\n        \"updated_at\": \"2023-04-04T02:13:13Z\"\n    },\n    \"message\": \"Card withdrawal requested successfully\",\n    \"meta\": null,\n    \"status\": \"success\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "40b8e539d28e11ed8e450242ac110002"
                        },
                        "object_type": {
                          "type": "string",
                          "example": "card"
                        },
                        "card_id": {
                          "type": "string",
                          "example": "1b7458b1d28d11ed8e450242ac110002"
                        },
                        "account_id": {
                          "type": "string",
                          "example": "c74ff868a59911eda9df0242ac110002"
                        },
                        "account_type": {
                          "type": "string",
                          "example": "wallet_account"
                        },
                        "kind": {
                          "type": "string",
                          "example": "charge"
                        },
                        "deposit_id": {},
                        "payout_id": {},
                        "charge_id": {
                          "type": "string",
                          "example": "40b720d3d28e11ed8e450242ac110002"
                        },
                        "type": {
                          "type": "string",
                          "example": "debit"
                        },
                        "description": {
                          "type": "string",
                          "example": "Card Withdrawal Charge"
                        },
                        "linked_transaction_id": {},
                        "currency": {
                          "type": "string",
                          "example": "USD"
                        },
                        "amount": {
                          "type": "integer",
                          "example": 4400,
                          "default": 0
                        },
                        "balance_before": {
                          "type": "integer",
                          "example": 5500,
                          "default": 0
                        },
                        "balance_after": {
                          "type": "integer",
                          "example": 1100,
                          "default": 0
                        },
                        "status": {
                          "type": "string",
                          "example": "successful"
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2023-04-04T02:13:13Z"
                        },
                        "updated_at": {
                          "type": "string",
                          "example": "2023-04-04T02:13:13Z"
                        }
                      }
                    },
                    "message": {
                      "type": "string",
                      "example": "Card withdrawal requested successfully"
                    },
                    "meta": {},
                    "status": {
                      "type": "string",
                      "example": "success"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "637d9e0aeb8873003ad62eac:642b921672c7f600434055f9"
}
```