{% extends "base.html" %} {% block title %}{{ _("Connect a bank") }} · Wealth Dashboard{% endblock %} {% block heading %}{{ _("Connect a bank") }}{% endblock %} {% block lede %}

{{ _f("You will be sent to your bank's own login page. This app never sees your banking password — the bank gives it read-only access to the account you tick, for {days} days at a time, and you can revoke it at your bank.", days=90) }}

{% endblock %} {% block content %} {% if error %}
{{ error }}
{% endif %} {% set by_hand %}{{ _("finish the connection by hand") }}{% endset %}

{{ _f("If your bank leaves you on a page that will not load, that is expected with an https-only redirect URL — {by_hand}.", by_hand=by_hand) | safe }}

{% if banks %}

{{ _n(banks|length, "{n} bank in {country}", "{n} banks in {country}", country=country) }}{% if sandboxes %}, {{ _n(sandboxes, "including {n} sandbox", "including {n} sandboxes") }}{% endif %}.

{% if sandboxes %}
{{ _("Connect a sandbox bank first.") }} {{ _("It walks the identical flow — redirect, consent, session, balances, transactions — with the provider's own test credentials, and creates no consent at a real bank. If your redirect URL is registered wrongly, you find out here instead of by spending an authorisation you rely on.") }}
{% endif %} {% for b in banks %} {% endfor %}
{{ _("Bank") }}{{ _("Type") }}
{{ b.name }} {% if b.sandbox %}{{ _("sandbox") }}{% endif %} {{ (b.psu_types or [])|join(', ') }}
{% elif not error %}

{{ _("No banks matched. Try a shorter search, or check the country code.") }}

{% endif %} {% endblock %}