Bank Account Lists
GET https://developers.vomsis.com/api/v2/banks/{id}/accounts
Bu servis, {id} ile belirtilen belirli bir bankaya ait tüm hesapları listelemek için kullanılır.
Headers
| Field | Type | Description |
|---|---|---|
Authorization | String | Zorunlu. Bearer {access_token} formatında gönderilmelidir. |
Path Parameters
| Field | Type | Description |
|---|---|---|
{id} | Integer | Zorunlu. Hesapları listelenecek olan bankanın benzersiz ID'si. |
Response Parameters
Dönen cevap, belirtilen bankaya ait hesap nesnelerini içeren bir dizi barındırır.
| Field | Type | Description |
|---|---|---|
id | Integer | Hesabın sistemdeki benzersiz ID değeri. |
branch_name | String | Hesabın bağlı olduğu şubenin adı. |
fec_name | String | Hesabın para birimi (Örn: TL). |
account_number | String | Hesap numarası. |
balance | String/Float | Hesabın güncel bakiyesi. |
branch_id | Integer | Hesabın bağlı olduğu şubenin ID'si. |
add_to_balance | Integer | Toplam bakiye hesaplamasına dahil edilip edilmeyeceğini belirtir (1: Dahil Et, 0: Dahil Etme). |
custom_iban | String | Müşteri tarafından tanımlanmış özel IBAN adresi. |
iban | String | Hesabın tam IBAN adresi. |
status | Integer | Hesabın aktif (1) veya pasif (0) durumunu belirtir. |
b_order | Integer | Hesapların listelenme sırasını belirten değer. |
product_code | String | Hesabın bankadaki ürün kodu veya türü. |
created_at | Datetime | Hesabın Vomsis sistemine eklendiği tarih ve saat. |
Response Example
{
"status": "success",
"accounts": [
{
"id": 24,
"branch_name": "",
"fec_name": "TL",
"account_number": "1800225",
"balance": "98481.00",
"branch_id": "828",
"add_to_balance": 1,
"custom_iban": null,
"iban": "TR775749619066252661823960",
"status": 1,
"b_order": 2,
"product_code": null,
"created_at": "2019-06-13 14:36:03",
}
]
}