Merchant Bank Accounts

Deactivate a specific bank account

Changed on

Deactivate a specific bank account

put/api/v1/bank-accounts/{bankAccountId}/deactivate

Request

Path parameters

bankAccountIdstring uuid required

The unique identifier of the bank account to deactivate

Example:ef84a547-8956-460e-a4a3-9d313da5efca

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174001",
    "account_number": "11223344",
    "currency": "GBP",
    "country": "GB",
    "created_at": "2024-03-19T12:00:00Z",
    "updated_at": "2024-03-19T12:00:00Z",
    "iban": "DE89370400440532013000",
    "bic": "MARKDEF1100",
    "sort_code": "123456",
    "routing_number": "123456789",
    "bban": "86011117947",
    "plusgiro_number": "41054685",
    "bsb": "062-000",
    "account_holder_name": "John Smith",
    "supported_payment_schemes": [
      {
        "name": "SEPA Credit Transfer"
      }
    ],
    "roles": [
      "receiving",
      "settlement"
    ],
    "balance": "1234.56"
  }
}

Changes

    • breaking

      the / response's property type changed from string to no type for status

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added subschema #1 subschema #2 to the / response property allOf list for the response status

    • info

      added subschema #6 subschema #7 to the /// response property anyOf list for the response status

    • info

      the / response's property pattern ^[A-Za-z]{2}$ was added for the status

    • info

      the / response's property pattern ^[A-Za-z]{3}$ was added for the status

    • info

      endpoint added