> For the complete documentation index, see [llms.txt](https://docs.bizon.one/08.01/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bizon.one/08.01/api-payment-gateway/open-banking.md).

# Open Banking

To make payments through open banking, the [**Create**](/08.01/api-payment-gateway/actions.md#order-creation-post-orders-create) request is used. The response to the request contains data necessary for making the payment.

**Example of response data**:

```json
{
    "orders": [
        {
            "id": "93792353819537534",
            ...
            "alternative_payments": [
                {
                    "image": "<https://checkout.example/img/button_image.svg>",
                    "provider": "OpenBanking",
                    "url": "<https://checkout.example/v2/api/open_banking/start_session/95094499276523504>"
                }
            ]
            ...
        }
    ]
}
```

{% hint style="info" %}
<https://checkout.example/v2/api/open\\_banking/start\\_session/95094499276523504> - **user redirect link.**
{% endhint %}

Next, Merchant should display the button to the customer, which will spawn a POST request to the URL provided.&#x20;

**Example HTML code for displaying the button**:

```
<form action="<https://checkout.example/v2/api/open_banking/start_session/95094499276523504>" method="POST">
    <div class="box-button-wrapper"><button type="submit" class="box-button box-open-banking-btn"><img
                src="<https://checkout.example/img/button_image.svg>" alt=""></button></div>
</form>
```

After clicking the button, the user is redirected to the bank's page in order to proceed the payment.

If the order is still in processing after the user is redirected back to the application, it will be completed once a webhook from the provider is received.

{% hint style="warning" %}
**Notes**&#x20;

Enabling the ability to make payments via Open Banking is done by customization in the project, and is subject to Bizon Team approval.
{% endhint %}

{% hint style="success" %}
**Necessary Settings**\
\
To apply the customer's country for the bank's domain selected on the Open Banking page, you need to pass the customer's country in the API to the[ /orders/create](https://docs.bizon.one/08.01/api-payment-gateway/actions#order-creation-post-orders-create) endpoint in the client.country field:\
`string`   `uppercase country code in ISO 3166-1 alpha-2 or in alpha-3 format`\
\
For open banking method the following ***countries*** and ***local currencies*** are acceptable:

* Aland Islands (AX) — EUR
* Austria (AT) — EUR
* Belgium (BE) — EUR
* Croatia (HR) — EUR
* Cyprus (CY) — EUR
* Estonia (EE) — EUR
* Finland (FI) — EUR
* France (FR) — EUR
* Germany (DE) — EUR
* Greece (GR) — EUR
* Ireland (IE) — EUR
* Italy (IT) — EUR
* Latvia (LV) — EUR
* Lithuania (LT) — EUR
* Luxembourg (LU) — EUR
* Malta (MT) — EUR
* Netherlands (NL) — EUR
* Portugal (PT) — EUR
* Slovakia (SK) — EUR
* Slovenia (SI) — EUR
* Spain (ES) — EUR
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bizon.one/08.01/api-payment-gateway/open-banking.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
