---
updatedAt: 2026-06-16T00:21:08.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further.

# Force close transaction banking account

Initiates an asynchronous force‑closure of a transaction banking account by placing a closure instruction in the processing queue.

All business rules, including balance checks, earmark verification, and status validation, are evaluated during asynchronous execution rather than when the request is submitted.

**NOTE**:
  * This endpoint requires an account token, an access token encoded with an external account ID. Tokens can expire quickly, which can result in a `401 Unauthorized` message.
  * Calling this endpoint generates a [Force account closure succeeded](https://developers.pismo.io/events/docs/corporate-force-account-closure-1) event.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Banking - Transaction banking",
    "version": "0.9.0",
    "description": "Transaction banking API",
    "contact": {
      "name": "API Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io",
      "description": "Sandbox API server for testing"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Accounts",
      "description": "Accounts endpoints"
    }
  ],
  "components": {
    "parameters": {
      "ExternalAccountIdPath": {
        "name": "externalAccountId",
        "in": "path",
        "description": "External account ID",
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 60
        },
        "example": "12345678901",
        "required": true
      }
    },
    "schemas": {
      "ErrorCode": {
        "description": "Error code\n`minLength: 1`\n`maxLength: 12`\n",
        "type": "string",
        "minLength": 1,
        "maxLength": 12,
        "example": "WPMT0017"
      },
      "ErrorMessage": {
        "description": "Error message\n`minLength: 1`\n`maxLength: 1000`\n",
        "type": "string",
        "minLength": 1,
        "maxLength": 1000,
        "example": "Invalid JSON payload received: Error unmarshalling request"
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/ErrorCode"
          },
          "message": {
            "$ref": "#/components/schemas/ErrorMessage"
          }
        }
      }
    },
    "responses": {
      "401Unauthorized": {
        "description": "Access token is missing or invalid"
      },
      "500InternalServer": {
        "description": "Internal Server Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "examples": {
              "Generic internal error": {
                "value": {
                  "code": "ECMN9999",
                  "message": "Internal error"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "paths": {
    "/corporate/v1/corporate-accounts/{externalAccountId}/force-close": {
      "post": {
        "summary": "Force close transaction banking account",
        "operationId": "post-accounts-accountId-force-close",
        "description": "Initiates an asynchronous force‑closure of a transaction banking account by placing a closure instruction in the processing queue.\n\nAll business rules, including balance checks, earmark verification, and status validation, are evaluated during asynchronous execution rather than when the request is submitted.\n\n**NOTE**:\n  * This endpoint requires an account token, an access token encoded with an external account ID. Tokens can expire quickly, which can result in a `401 Unauthorized` message.\n  * Calling this endpoint generates a [Force account closure succeeded](https://developers.pismo.io/events/docs/corporate-force-account-closure-1) event.\n",
        "tags": [
          "Accounts"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalAccountIdPath"
          }
        ],
        "responses": {
          "202": {
            "description": "Force close request accepted and enqueued for processing"
          },
          "400": {
            "description": "Bad Request. The account ID is missing or has an invalid format",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "Invalid account ID": {
                    "value": {
                      "code": "WCAC0002",
                      "message": "Invalid header account"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/responses/401Unauthorized"
                },
                "examples": {
                  "Account not authorized": {
                    "value": {
                      "code": "WCAC0001",
                      "message": "Account not authorized"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/500InternalServer"
          }
        }
      }
    }
  }
}
```