---
title: "Krijo llogari bankare"
operation_id: "api.v1.on-boarding.bank-account"
method: POST
path: "/api/v1/on-boarding/bank-account"
group: "Regjistrimi"
api_version: "v1"
authenticated: true
canonical: "https://fature.al/api-reference/endpoints/api-v1-on-boarding-bank-account.html"
---

# Krijo llogari bankare

Part of the [fature.al API](/api-reference/index.html) documentation.

## POST /api/v1/on-boarding/bank-account

Krijoni nje llogari bankare per kompanine. Llogaria bankare shfaqet ne faturat elektronike dhe jo-cash si informacion pagese per klientin.

Full URL: `https://fature.al/api/v1/on-boarding/bank-account`

API version: `v1`.

Authentication: required (bearer token).

### Body parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string, nullable | no | Emri i bankes, ai qe shfaqet ne fature krahas IBAN-it. |
| `holder` | string, nullable | no | Mbajtesi i llogarise, zakonisht emri i kompanise. |
| `iban` | string, nullable | no | IBAN-i i llogarise, ai qe shfaqet ne fature qe klienti te paguaje. |
| `swift` | string, nullable | no | Kodi SWIFT/BIC i bankes, i nevojshem per pagesa nga jashte. |
| `currency` | string, nullable | no | Monedha e llogarise. Nje llogari mban nje monedhe te vetme. |
| `notes` | string, nullable | no | Shenime qe shoqerojne llogarine ne fature. |

### Example request

```bash
curl -X POST 'https://fature.al/api/v1/on-boarding/bank-account' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'X-Client-Id: YOUR_CLIENT_ID' \
  -H 'X-Client-Secret: YOUR_CLIENT_SECRET' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "BKT",
    "holder": "Ei3 Software Solution shpk",
    "iban": "AL35202111090000000001234567",
    "swift": "NCBAALTX",
    "currency": "ALL",
    "notes": "notes"
}'
```

### Responses

**200** — Kur ruajtja e llogarise deshton, pergjigja kthehet me HTTP 200 dhe `status: false`.

**201** — Created

| Field | Type | Description |
| --- | --- | --- |
| `status` | boolean |  |
| `data` | object |  |
| `data.bankAccount` | object |  |
| `data.bankAccount.id` | integer |  |
| `data.bankAccount.iban` | string |  |

```json
{
    "status": true,
    "data": {
        "bankAccount": {
            "id": 1,
            "iban": "iban"
        }
    }
}
```

**422** — Te dhenat nuk kaluan validimin. Kjo pergjigje perdor fushen `success`, jo `status`.

| Field | Type | Description |
| --- | --- | --- |
| `success` | boolean | Always false |
| `message` | string | A single summary line, the same for every validation failure |
| `errors` | object | The failing fields, each with the messages for it. Dotted keys point into nested objects and array items, e.g. `lines.0.quantity` |

```json
{
    "success": true,
    "message": "Hello there",
    "errors": []
}
```
