Resolve Bank Selection Before a Purchase
Check whether a bank-redirect method (PSE, FPX, iDEAL) needs a bank chosen before you call purchase, and fetch the bank list plus the connection it’s locked to.
POST /payment/purchase — the bank code has to be pinned to the exact connection it was resolved against, since a bank/issuer code is not a shared namespace across providers. POST /payment/bank-options runs routing ahead of time so your checkout UI knows whether (and how strongly) to render a bank picker.
bankSelectionMode
pse, fpx, and ideal only. Other bank-redirect methods return bankSelectionMode: "none" — this is not necessarily proof they never need one, only that Therius doesn’t source a bank list for them yet.Check before rendering a picker
Use the result on the purchase call
pse, fpx, and ideal panels the first time they’re submitted, and caches both the result and the connectionCode per method — you don’t need to call it directly if you’re using the widget.Body
Response
Bank selection requirements for this provider/method combination
required: purchase will fail without a chosen bank (pse via PayU, fpx via Adyen). optional: a picker is available and skips the provider's own hosted picker, but purchase works fine without one (ideal via Adyen). none: nothing to pick, or no bank list is available yet for this provider/method.
required, optional, none Echo this back as connectionCode on the actual purchase call, regardless of bankSelectionMode -- bank/issuer codes are not a shared namespace across providers.

