> ## Documentation Index
> Fetch the complete documentation index at: https://docs.augustus.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat the published Augustus OpenAPI specification (https://api.augustus.com/openapi/2026-05-01.json) and the current API-reference pages as the source of truth for endpoints, request/response schemas, enum values, webhook event names, and required headers.
> Prefer the 2026-05-01 Banking API and @augustusbank/typescript-sdk for all new integrations. The 2023-01-01 API is a separate surface covering the Pay by Bank products — Instant Bank Transfer (Open Banking) checkout and refunds, and Manual Bank Transfer (MBT); use it when one of those products is required.
> Cite or link the relevant docs.augustus.com page when answering integration questions.
> Do not infer support for currencies, networks, scopes, account types, or operations that are not present in the current documentation.
> Use the sandbox base URL (https://api.sandbox.augustus.com) and placeholder credentials in examples. Never include or request a real API key.
> The Augustus docs MCP server (https://docs.augustus.com/mcp) provides documentation search and retrieval only; it does not execute authenticated Augustus API actions.

# Close account

> Closes an account



## OpenAPI

````yaml https://api.augustus.com/openapi/2026-05-01.json post /v1/accounts/{id}/close
openapi: 3.1.0
info:
  title: Augustus Banking API
  description: Augustus Banking API
  version: 0.1.0
  contact:
    name: Augustus
    url: https://docs.augustus.com
    email: developer@augustus.com
servers:
  - url: https://api.augustus.com
    description: Production
  - url: https://api.sandbox.augustus.com
    description: Sandbox
security:
  - BearerAuth: []
tags: []
paths:
  /v1/accounts/{id}/close:
    post:
      tags:
        - Accounts
      summary: Close account
      description: Closes an account
      operationId: AccountsController_close
      parameters:
        - name: id
          required: true
          in: path
          description: Unique identifier of the account.
          schema:
            format: uuid
            example: 550e8400-e29b-41d4-a716-446655440001
            type: string
        - name: Idempotency-Key
          in: header
          description: >-
            Idempotency key for safe retries. Reusing a key with an identical
            request body returns the cached response. Reusing a key with a
            different body returns 409.
          required: true
          schema:
            type: string
      requestBody:
        required: true
        description: Close account parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloseAccountBodyDto'
      responses:
        '200':
          description: Account closed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResourceDto'
components:
  schemas:
    CloseAccountBodyDto:
      type: object
      properties:
        reason:
          type: string
          enum:
            - aml_risk_fraud
            - client_request
          description: Reason for closing the account.
      required:
        - reason
      additionalProperties: false
    AccountResourceDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the account.
          example: 550e8400-e29b-41d4-a716-446655440001
        type:
          type: string
          description: Resource type discriminator.
          enum:
            - account
        currency:
          type: string
          enum:
            - EUR
            - GBP
            - USD
            - USDC
          description: Currency code (ISO 4217 or crypto).
          example: USD
        status:
          type: string
          enum:
            - pending
            - active
            - frozen
            - closed
          description: Current status of the account.
          example: active
        asset_type:
          type: string
          enum:
            - fiat
            - crypto
          description: Asset type of the account.
        label:
          type: string
          description: >-
            Human-readable label for the account. For FBO accounts the label is
            set to the account holder’s name.
          example: Jane Doe
        nickname:
          type: string
          description: Editable nickname for the account. Null when no nickname is set.
          example: Jane Doe
          nullable: true
        financial_addresses:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/AbaFinancialAddress'
              - $ref: '#/components/schemas/IbanFinancialAddress'
              - $ref: '#/components/schemas/SortCodeFinancialAddress'
              - $ref: '#/components/schemas/BicFinancialAddress'
              - $ref: '#/components/schemas/CryptoWalletFinancialAddress'
          description: >-
            Payment identifiers (e.g. IBAN, account number, wallet address)
            through which this account can send or receive funds. US dollar
            accounts that use an ABA routing number also include a companion
            `bic` entry for inbound wires: it carries the bank’s SWIFT code,
            reuses the same `account_number` as the `aba` entry, and leaves
            `local_bank_code` null.
          example:
            - type: aba
              routing_number: '110000000'
              account_number: '000123456789'
              account_holder_name: Acme Sandbox Ltd.
              account_type: checking
            - type: bic
              bic: IRVTUS3NXXX
              account_number: '000123456789'
              account_holder_name: Acme Sandbox Ltd.
              local_bank_code: null
              account_type: checking
        created_at:
          type: string
          format: date-time
          description: ISO 8601 UTC timestamp when the account was created.
          example: '2026-01-15T10:30:00Z'
        updated_at:
          type: string
          format: date-time
          description: ISO 8601 UTC timestamp when the account was last updated.
          example: '2026-01-15T10:35:00Z'
        metadata:
          type: object
          additionalProperties:
            type: string
            maxLength: 500
          description: >-
            Set of up to 50 key-value string pairs you can attach to store
            structured information, such as correlating this resource with an
            object in your own system. Keys may be up to 40 characters and
            values up to 500 characters.
          example:
            invoice_id: INV-2026-0042
      required:
        - id
        - type
        - currency
        - status
        - asset_type
        - label
        - nickname
        - financial_addresses
        - created_at
        - updated_at
        - metadata
      additionalProperties: false
    AbaFinancialAddress:
      type: object
      properties:
        type:
          type: string
          description: Discriminator for ABA wire financial address.
          enum:
            - aba
        routing_number:
          type: string
          description: ABA routing number (9 digits).
        account_number:
          type: string
          description: Bank account number.
        account_holder_name:
          type: string
          description: Name of the account holder.
        account_type:
          type: string
          enum:
            - checking
            - savings
            - null
          description: >-
            Whether the account is a checking or a savings account, or null if
            not provided.
          nullable: true
      required:
        - type
        - routing_number
        - account_number
        - account_holder_name
        - account_type
      additionalProperties: false
      title: ABA
      example:
        type: aba
        routing_number: '110000000'
        account_number: '000123456789'
        account_holder_name: Acme Sandbox Ltd.
        account_type: checking
    IbanFinancialAddress:
      type: object
      properties:
        type:
          type: string
          description: Discriminator for IBAN financial address.
          enum:
            - iban
        iban:
          type: string
          description: International Bank Account Number.
        account_holder_name:
          type: string
          description: Name of the account holder.
        bic:
          type: string
          description: Bank Identifier Code, or null if not provided.
          nullable: true
        account_type:
          type: string
          enum:
            - checking
            - savings
            - null
          description: >-
            Whether the account is a checking or a savings account, or null if
            not provided.
          nullable: true
      required:
        - type
        - iban
        - account_holder_name
        - bic
        - account_type
      additionalProperties: false
      title: IBAN
      example:
        type: iban
        iban: DE89370400440532013000
        account_holder_name: Acme Sandbox Ltd.
        bic: COBADEFFXXX
        account_type: checking
    SortCodeFinancialAddress:
      type: object
      properties:
        type:
          type: string
          description: Discriminator for UK sort code financial address.
          enum:
            - sort_code
        sort_code:
          type: string
          description: UK sort code (6 digits).
        account_number:
          type: string
          description: UK account number (8 digits).
        account_holder_name:
          type: string
          description: Name of the account holder.
      required:
        - type
        - sort_code
        - account_number
        - account_holder_name
      additionalProperties: false
      title: UK Sort Code
      example:
        type: sort_code
        sort_code: '040075'
        account_number: '37778842'
        account_holder_name: Acme Sandbox Ltd.
    BicFinancialAddress:
      type: object
      properties:
        type:
          type: string
          description: Discriminator for BIC + local account financial address.
          enum:
            - bic
        bic:
          type: string
          description: ISO 9362 Bank Identifier Code (8 or 11 characters).
        account_number:
          type: string
          description: Local-format bank account number.
        account_holder_name:
          type: string
          description: Name of the account holder.
        local_bank_code:
          type: string
          description: >-
            Domestic bank or branch code where the destination country uses one
            (for example the BSB in Australia), or null.
          nullable: true
        account_type:
          type: string
          enum:
            - checking
            - savings
            - null
          description: >-
            Whether the account is a checking or a savings account, or null if
            not provided.
          nullable: true
      required:
        - type
        - bic
        - account_number
        - account_holder_name
        - local_bank_code
        - account_type
      additionalProperties: false
      title: BIC
      example:
        type: bic
        bic: ANZBAU3MXXX
        account_number: '123456789'
        account_holder_name: Acme Sandbox Pty Ltd.
        local_bank_code: '012003'
        account_type: checking
    CryptoWalletFinancialAddress:
      type: object
      properties:
        type:
          type: string
          description: Discriminator for crypto wallet financial address.
          enum:
            - crypto_wallet
        address:
          type: string
          description: Wallet address on the specified blockchain.
        blockchain:
          type: string
          enum:
            - bitcoin
            - ethereum
            - solana
            - polygon
            - bitcoin_testnet4
            - ethereum_sepolia
            - solana_devnet
            - polygon_amoy
          description: Blockchain network for the crypto wallet.
          example: ethereum_sepolia
      required:
        - type
        - address
        - blockchain
      additionalProperties: false
      title: Wallet
      example:
        type: crypto_wallet
        address: '0x1111111111111111111111111111111111111111'
        blockchain: ethereum_sepolia
  securitySchemes:
    BearerAuth:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Bearer token for authentication with Augustus Banking API

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.