---
updatedAt: 2025-02-13T22:01:24.000Z
agentTools:
  projectIndex: https://docs.delorean-ai.com/llms.txt
---

# Update Bank Account Status

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Delorean API",
    "version": "1.1.0"
  },
  "servers": [
    {
      "url": "https://inference.api-stg.delorean-ai.com"
    }
  ],
  "paths": {
    "/api/v1/fraud/fraud_bank_account/": {
      "patch": {
        "tags": [
          "Fraud Prevention"
        ],
        "summary": "Update Bank Account Status",
        "operationId": "update_bank_account_status_api_v1_fraud_fraud_bank_account__patch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BankAccountUpdateStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BankAccountUpdateStatusRequest": {
        "properties": {
          "bank_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bank Code"
          },
          "branch_code": {
            "type": "string",
            "title": "Branch Code"
          },
          "account_id": {
            "type": "string",
            "title": "Account Id"
          },
          "status": {
            "type": "string",
            "enum": [
              "CONFIRMED",
              "LEGITIMATE",
              "SUSPECTED"
            ],
            "title": "Status"
          }
        },
        "type": "object",
        "required": [
          "bank_code",
          "branch_code",
          "account_id",
          "status"
        ],
        "title": "BankAccountUpdateStatusRequest"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```