Get default financial account for A2A transfers

Get Default Financial Account for A2A Transfers

This endpoint retrieves the default financial account used for Account-to-Account (A2A) transfers. It returns the identifier of the financial account currently designated as the default source or destination for A2A transfer operations. If no default has been set, a 404 response is returned.

Endpoint

GET /settings/defaultTransfersFinAccount

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 you need to determine which financial account is currently set as the default for A2A transfers before initiating a transfer. This is useful for pre-populating transfer forms, validating user preferences, or confirming the active default before allowing the user to proceed with an account-to-account transfer. Both personal and business customers can use this endpoint to inspect their current transfer default setting.

Response

200 OK

FieldTypeDescription
finAccountIdstring (nullable)The unique identifier of the financial account set as the default for A2A transfers. Returns null if a default account exists in the system but has no ID assigned.
{
  "finAccountId": "facc_3f7a2b1c9d4e6f08"
}

404 Not Found

Returned when no default financial account has been configured for A2A transfers for the authenticated user.

{}

Error Codes

CodeWhen it happens
401Token missing, expired, or invalid
403Insufficient permissions to access this setting
404No default financial account has been set for A2A transfers
500Internal server error

Common Mistakes

  • Calling this endpoint without a valid Bearer token results in a 401 error; ensure the token is obtained and refreshed before making the request.
  • Assuming a 404 means the account is missing — it specifically means no default transfer account has been configured yet; prompt the user to set one via the corresponding PUT/POST settings endpoint.
  • Not handling a null value for finAccountId in the 200 response; the field is nullable and must be checked before use.

Related Endpoints

  • PUT /settings/defaultTransfersFinAccount — Set or update the default financial account for A2A transfers
  • GET /finAccounts — List all financial accounts available to the authenticated user
  • POST /transfers — Initiate an Account-to-Account transfer

Example

curl -X GET https://api.banking.netevia.dev/settings/defaultTransfersFinAccount \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Headers
string
enum
Defaults to application/json

Generated from available response 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