โฌ†๏ธUpdate BankAccount Type

A Customers Bank Account Type may be updated if required.

Update BankAccount Type

PATCH {{baseUrl}}/bank-accounts/:bank_account_id

The Bank Account type can be changed/updated whilst maintaining the same bank_account_id. The Bank Account types include online and statement.

Path Parameters

NameTypeDescription

bank_account_id*

String

The UUID for a customers Bank Account that gets generated and returned in the POST Create New Bank Account response.

```postman_json
{
    "data": {
        "id": "{{bankAccountId}}",
        "customer_id": "{{customerId}}",
        "type": "statement",
        "bank": "absa",
        "num_transactions": 0,
        "last_updated": "2023-04-20T13:48:35.000000Z",
        "first_transaction": null,
        "last_transaction": null
    }
}
```

Before: Available Bank Account Record

```json
{
    "data": {
        "id": "{{bankAccountId}}",
        "customer_id": "{{customerId}}",
        "type": "online",
        "bank": "absa",
        "num_transactions": 0,
        "last_updated": "2023-04-20T13:47:35.000000Z",
        "first_transaction": null,
        "last_transaction": null
    }
}
```on

Patch: Updating the bank account type

{
    "bank":"absa",
    "type": "statement"
}

After: Updated Bank Account Type

```json
{
    "data": {
        "id": "{{bankAccountId}}",
        "customer_id": "{{customerId}}",
        "type": "statement",
        "bank": "absa",
        "num_transactions": 0,
        "last_updated": "2023-04-20T13:48:35.000000Z",
        "first_transaction": null,
        "last_transaction": null
    }
}
```

Last updated