Change default financial account for A2A transfers

Change Default Financial Account for A2A Transfers

This endpoint updates the default financial account used for Account-to-Account (A2A) transfers. It allows the authenticated user to designate a specific financial account as the default source or destination when initiating A2A transfers between internal accounts or to external accounts.

Endpoint

POST /settings/changeDefaultTransfersFinAccount

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when a customer wants to change which financial account is used by default when initiating A2A transfers. This is useful after opening a new account, after closing an existing account, or when a customer simply prefers a different account as their primary transfer account. The setting persists until explicitly changed again.

Request Body

FieldTypeRequiredDescription
finAccountIdstringYesThe unique identifier of the financial account to set as the new default for A2A transfers.
{
  "finAccountId": "fa_9b3c7e2d1a4f8056"
}

Response

200 OK

FieldTypeDescription
isChangedbooleanIndicates whether the default financial account was successfully updated (true) or not (false).
{
  "isChanged": true
}

Error Codes

CodeWhen it happens
400Missing required fields or validation error
401Token missing, expired, or invalid
403Insufficient permissions
404The specified financial account could not be found or does not belong to the authenticated user
500Internal server error

Common Mistakes

  • Providing a finAccountId that belongs to a different customer — the account must be owned by the authenticated user.
  • Omitting finAccountId or passing a null value; the field is required for the update to take effect.
  • Using a closed or inactive financial account as the new default, which will result in a 404 or 400 error.

Related Endpoints

  • GET /settings — Retrieve current account settings, including the active default financial account for transfers.
  • POST /transfers/a2a — Initiate an Account-to-Account transfer using the configured default financial account.
  • GET /financialAccounts — List all financial accounts available for the authenticated customer.

Example

curl -X POST https://api.banking.netevia.dev/settings/changeDefaultTransfersFinAccount \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "finAccountId": "fa_9b3c7e2d1a4f8056"
  }'
Body Params
string | null
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

404

Not Found

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json