The relevant endpoint and http method information is given below to list the banks that our corp. customers have registered with.
| HTTP Method | URL |
|---|---|
| POST | /v1/Account/GetBusinessBankAccountListByFilter |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| account_number | string | Yes | Account Number |
| order_column | string | Yes | Order Column |
| order_by | string | No | Order By |
| page_size | int | No | Page Size |
| page_index | int | No | Page Index |
| Params | Type |
|---|---|
| status | int |
| code | string |
| message | string |
| payload | object |
| results | object |
| id | string |
| tenant_id | string |
| bank_id | string |
| currency_code | string |
| name | string |
| account_holder_name | string |
| iban | string |
| account_no | string |
| swift_code | string |
| branch_code | string |
| is_active | boolean |
| created_date_ut | datetime |
| updated_date_utc | datetime |
| is_deleted | boolean |
| business_account_id | string |
| bank_name | string |
| page_index | int |
| last_row_index | int |
| page_count | int |
| page_size | int |
| row_count | int |
| order_column | string |
| order_by | string |
REQUEST (POST) :
{
"account_number": "2819777777",
"page_size": 1,
"page_index": 1,
"order_column": "Id",
"order_by": "asc"
}
RESPONSE:
{
"status": 0,
"code": null,
"message": null,
"payload": {
"results": [
{
"id": "7123429128028425222",
"tenant_id": "5",
"bank_id": "1",
"currency_code": "TRY",
"name": "TSTNAME",
"account_holder_name": "TESTNAMESURNAME",
"iban": "TR000000200112200001111111",
"account_no": "TESTNUMBER",
"swift_code": "12344",
"branch_code": "1234",
"is_active": false,
"created_date_utc": "2021-12-14T09:15:08.035Z",
"updated_date_utc": "2021-12-14T09:15:31.6718607Z",
"is_deleted": false,
"business_account_id": "3510121015111841197",
"bank_name": "AKBANK"
}
],
"page_index": 1,
"last_row_index": 0,
"page_count": 1,
"page_size": 1,
"row_count": 1,
"order_column": "Id",
"order_by": "asc"
}
}