# Bank Transfer in Europe

## Features

| Support Country/Region  | **United Kingdom** |
| ----------------------- | ------------------ |
| processing currency     | EUR                |
| settlement currency     | EUR                |
| refund                  | ✅                  |
| partial refund          | ✅                  |
| multiple partial refund | ✅                  |
| chargeback              | ❌                  |

# **Integration Method**

**Payment method enumeration values:** `bank_transfer_eu`

**There is one  integration method for bank transfer**

1. Checkout

## **Checkout** 

### Payment flow

1. Customer selects bank transfer from the list of payment methods available and fills in payment information


![847ccc31-4d54-4dfd-b2c9-0cabff101ad0.png](https://api.apifox.com/api/v1/projects/1296482/resources/462731/image-preview)

1. Customers select the country and the bank.


![1280X1280.PNG](https://api.apifox.com/api/v1/projects/1296482/resources/462732/image-preview)

1. Customers scan to pay or continue on desktop to complete the payment.


![7786a4f9-2a49-43b0-8694-0ab7bbe77e01.png](https://api.apifox.com/api/v1/projects/1296482/resources/462733/image-preview)

 

### Create a seesion

***Request*** [Create a Session](api-42654181)

```json
{
    "cancel_url": "www.wooshpay.com",
    "mode": "payment",
    "success_url": "https://wooshpay.com/",
    "payment_method_types": [
        "bank_transfer_eu"
    ],
    "line_items": [
        {
            "price_data": {
                "currency": "EUR",
                "product": null,
                "unit_amount": 100000,
                "active": true,
                "metadata": {
                    "key1": "value1",
                    "key2": "value2"
                },
                "nickname": "apple",
                "product_data": {
                    "id": null,
                    "name": "apple",
                    "active": true,
                    "description": "yummy yummy",
                    "url": "www.wooshpay.com"
                },
                "billing_scheme": "testscheme",
                "lookup_key": "test_lookup_key"
            },
            "quantity": 1
        }
    ]
}
```

***Response***

```JSON
{
    "id": "cs_1661288382405279744",
    "object": "checkout.session",
    "created": 1684916990000,
    "currency": "EUR",
    "customer": "",
    "mode": "payment",
    "livemode": false,
    "status": "open",
    "url": "https://checkouttest.wooshpay.com/pay/cs_test_1661288382405279744?key=pk_test_NTE2NTc5NDIzMjU1MzM0Nzg5MTMxOjMzb1M2aUVkNkNvalZPRE1nTW5ITDhYcDE2ODQxMTkyMjgzMTQ",
    "cancel_url": "www.wooshpay.com",
    "line_items": {
        "object": "list",
        "data": [
            {
                "id": "li_1661288382443028480",
                "object": "item",
                "currency": "EUR",
                "description": "apple",
                "price": {
                    "id": "price_1661288382476582912",
                    "object": "price",
                    "created": 1684916990000,
                    "active": true,
                    "currency": "EUR",
                    "metadata": {
                        "key1": "value1",
                        "key2": "value2"
                    },
                    "nickname": "apple",
                    "product": {
                        "id": "prod_1661288382493360128",
                        "object": "product",
                        "created": 1684916990000,
                        "active": true,
                        "description": "yummy yummy",
                        "name": "apple",
                        "livemode": false,
                        "url": "www.wooshpay.com",
                        "updated": 1684916990000
                    },
                    "type": "one_time",
                    "livemode": false,
                    "unit_amount": 100000,
                    "billing_scheme": "per_unit",
                    "lookup_key": "test_lookup_key"
                },
                "quantity": 1,
                "amount_subtotal": 100000,
                "amount_total": 100000
            }
        ]
    },
    "payment_intent": "pi_1661288382682103808",
    "payment_method_types": [
        "bank_transfer_eu"
    ],
    "payment_status": "unpaid",
    "success_url": "https://wooshpay.com/",
    "amount_subtotal": 100000,
    "amount_total": 100000,
    "billing_address_collection": "auto",
    "expires_at": 1685003390272,
    "payment_link": "",
    "client_secret": "pi_1661288382682103808_secret_VNK78femqxwsDZbKCRRKvQHR"
}
```

# **Next step**

You can add more features to your integration as needed

## Webhook

Listen to events on your WooshPay account so your integration can automatically trigger reactions. Create a webhook that mainly focuses on enabled_events and url.

## Refund

Create a refund to repay funds to your customer. You can also perform partial refunds, but not every payment method supports them. A partial refund is when you refund only part of the original transaction amount.
