Accounts
GET https://developers.vomsis.com/api/v2/accounts
Bu servis, sisteme entegre edilmiş olan tüm banka hesaplarını listelemek için kullanılır.
Headers
| Field | Type | Description |
|---|---|---|
Authorization | String | Zorunlu. Bearer {access_token} formatında gönderilmelidir. |
Response Parameters
Dönen cevap, accounts dizisi (array) içinde, her biri bir banka hesabını temsil eden nesneler barındırır.
| Field | Type | Description |
|---|---|---|
id | Integer | Hesabın sistemdeki benzersiz ID değeri. |
bank_id | Integer | Hesabın ait olduğu bankanın 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ü (Örn: CARIHSP). |
created_at | Datetime | Hesabın Vomsis sistemine eklendiği tarih ve saat. |
Response Example
{
"status": "success",
"accounts": [
{
"id": 38,
"bank_id": 19,
"branch_name": null,
"fec_name": "TL",
"account_number": "3123647",
"balance": "8598.70",
"branch_id": "115",
"add_to_balance": 1,
"blocked_balance": null,
"available_balance": null,
"custom_iban": null,
"iban": "TR440020300003643647123401",
"status": 1,
"b_order": 0,
"product_code": "CARIHSP",
"created_at": "2020-09-30 09:03:44",
}
]
}