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

# Set Default Account

> This API sets the default bank account for a specific user. The default account is used in transactions when no account is specified.

[Suggest Edits](/edit/set-default-account)

### Endpoint

PUT   **/3p/api/v1/bank-account/switch/default/\{user\_uuid}**

### Request Payload

<CodeGroup>
  ```json json theme={"system"}
  {
  	"account_uuid": "9abaa7dc-b31d-4fdf-b8a5-e62c8a582c9b",
    "aggregator_type": "yodlee|manual|plaid"
  }
  ```
</CodeGroup>

| Fields               | Type   | Is Required | Description                                                             |
| -------------------- | ------ | ----------- | ----------------------------------------------------------------------- |
| **account\_uuid**    | string | Yes         | Bank account uuid                                                       |
| **aggregator\_type** | string | Yes         | Bank account provider *Possible values: bank\_link yodlee manual plaid* |

### Response Object

<CodeGroup>
  ```json JSON (200) theme={"system"}
  {
      "status": true,
      "message": "Default account is updated!",
      "data": [],
      "errors": []
  }
  ```
</CodeGroup>

### Errors & Warnings

| Code | Message |
| ---- | ------- |
| 401  |         |
| 403  |         |
| 422  |         |
