> For the complete index of this site, see [llms.txt](https://alexdewison.com/llms.txt).

# Routing card checkouts to pay by bank, with card fallback

The shopper types a card as usual. The first digits of the card (the BIN) identify the issuing bank. If that bank supports pay by bank and the payment fits the merchant's rules, the shopper is asked to approve in their banking app first. The card is only charged if that does not complete.

Illustration only: mock banks, mock BINs and your own cost assumptions, not any provider's actual product.

This is the text version of an interactive demo. The interactive version runs in your browser on mock data: [https://alexdewison.com/labs/bin-to-bank-routing/](https://alexdewison.com/labs/bin-to-bank-routing/)

## 1. Checkout

- Test card typed by the shopper
- Basket amount (EUR)

## 2. Merchant rules

- Offer pay by bank to eligible cards
- Only for baskets of at least (EUR)
- Assumed card cost (%)
- Assumed bank cost (EUR flat)
- Pay
- Reset

## 3. What happens

- Pick a card and press Pay.
- Waiting for a payment (the verdict shown before the first payment)
- Shopper approves in bank app
- Shopper cancels
- No response

## 4. Running tally

- Paid by bank, paid by card and fell back to card: counts that start at 0
- Assumed cost, as routed**EUR 0.00**
- Assumed cost, all card**EUR 0.00**
- Difference**EUR 0.00**
- The table lists each payment with these columns:
- Bank (mock)
- Amount
- Paid by
- Why

How it works in practice varies by provider: which banks are reachable, how the shopper is sent to their bank, and what counts as eligible. This page only shows the decision flow. Costs use the two assumptions you enter above, not real pricing. Nothing here contacts a bank or a network.

---

Part of the [interactive payments demos](https://alexdewison.com/insights/demos/) by Alex Dewison. Mock data only.
