Bank selection on your site

The hosted checkout lets the customer search and pick a bank. If you prefer to keep that step in your own interface — for example, to show the customer's usual bank first — build the picker yourself and start the payment at the chosen bank.

How it fits together

text
your server ── GET bank list ──▶ API
your page   ── shows the banks, the customer clicks one
your server ── POST payment with institution_id ──▶ API ──▶ payment_link
customer    ── payment_link ──▶ checkout (or straight to the bank) ──▶ banking app

Request the bank list

GET https://api.finorapayment.com/v1/banks

curl "https://api.finorapayment.com/v1/banks" \
  -H "x-api-key: YOUR_API_KEY"

Response:

json
[
  {
    "institution_id": "f6c448b7-…",
    "institution_name": "Example Bank",
    "country_code": "DE",
    "logo_link": "https://…/logo.png",
    "is_for_test": false
  }
]
FieldUse it for
institution_idThe value you send back when you create the payment.
institution_name, logo_linkThe label and the logo of the button.
country_codeGrouping or filtering by country; you send it back with the payment.
is_for_testtrue for test banks. In test mode the list contains only them.

The list changes rarely: request it on your server and keep it for up to an hour instead of calling the API on every page view.

Start the payment at the chosen bank

Add two fields to the usual create payment request:

json
{
  "merchant_order_id": "order-2207",
  "payment_amount": 120,
  "payment_currency": "EUR",
  "return_url": "https://example.com/payment/result",
  "institution_id": "f6c448b7-…",
  "institution_country_code": "DE"
}

The customer opens payment_link as usual; the bank is already selected.

Go straight to the bank

To skip our page completely, turn on Integration → Checkout appearance → Skip the checkout page. A payment created with institution_id then opens the bank directly. Payments without institution_id still show the bank list on the checkout, so you can roll the picker out gradually.

Banks that ask for more data

A few banks need details about the payer before they accept a transfer — typically the account holder name and IBAN. On the checkout we ask the customer for them. When you skip the checkout, collect them yourself and send them in payer:

json
"payer": { "name": "Lena Hoffmann", "iban": "DE89370400440532013000" }

Use Test Bank — Extra fields (all) to see every field a bank may request.