Tenanta tanımlanmış banka hesaplarının listelendiği ilgili endpoint ve http metod bilgisi aşağıda verilmiştir.
| HTTP Method | URL |
|---|---|
| POST | /v1/Account/TenantBankListByFilter |
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| tenant_id | int | Hayır | Tenant ID |
| page_size | int | Hayır | Sayfa Boyutu |
| page_index | int | Hayır | Sayfa Dizini |
| order_column | string | Evet | Sıralama Yapılacak Kolon |
| order_by | string | Hayır | Sıralama |
| is_active | bool | Hayır | Aktif mi? |
| Parametre | Tip | Açıklama |
|---|---|---|
| status | int | Statü |
| code | string | Kod |
| message | string | Yanıt Mesajı |
| payload | obje | Veri |
| results | obje | Sonuç |
| id | string | ID |
| bank_name | string | Banka Adı |
| bank_code | string | Banka Kodu |
| tenant_id | string | Tenant ID'si |
| bank_id | string | Banka ID'si |
| currency_code | string | Para Birimi |
| name | string | Adı |
| account_holder_name | string | Hesap Sahibinin Adı |
| iban | string | İban Numarası |
| logo_url | string | Banka Logosu URl |
| account_no | string | Hesap Numarası |
| swift_code | string | Swift Kodu |
| branch_code | string | Şube Kodu |
| is_active | bool | Hesap Aktif mi? |
| created_date_utc | string | Oluşturulma Tarihi |
| updated_date_utc | string | Güncellenme Tarihi |
| is_deleted | bool | Hesap Silindi mi? |
| is_available_for_topup | bool | Topup için Uygun mu? |
| is_available_for_withdraw | bool | Withdraw için Uygun mu? |
| ext_api_bank_code | string | Banka Kodu API |
| tenant_bank_code | string | Tenant Banka Kodu |
| page_index | int | Sayfa Dizini |
| last_row_index | int | Son Satır Dizini |
| page_count | int | Sayfa Sayısı |
| page_size | int | Sayfa Boyutu |
| row_count | int | Satır Sayısı |
| order_column | string | Sıralama Yapılacak Kolon |
| order_by | string | Sıralama |
İSTEK (POST) :
{
"page_size": 10,
"page_index": 1,
"order_column": "Id",
"order_by": "asc",
"is_active": true
}
YANIT
{
"status": 0,
"code": null,
"message": null,
"payload": {
"results": [
{
"id": "1",
"bank_name": "DENİZBANK",
"bank_code": "103",
"tenant_id": "5",
"bank_id": "11",
"currency_code": "TRY",
"name": "DENİZBANK",
"account_holder_name": "Tenant",
"iban": "TR320002100519286257241322",
"logo_url": "https://mobileapi-test.walletgate.io/content/bank/103.svg",
"account_no": "123456",
"swift_code": " ",
"branch_code": " ",
"is_active": true,
"created_date_utc": "2021-06-22T00:00:00Z",
"updated_date_utc": "2021-06-22T00:00:00Z",
"is_deleted": false,
"is_available_for_topup": true,
"is_available_for_withdraw": true,
"ext_api_bank_code": " ",
"tenant_bank_code": null
},{…}
],
"page_index": 1,
"last_row_index": 0,
"page_count": 2,
"page_size": 10,
"row_count": 14,
"order_column": "Id",
"order_by": "asc"
}
}