Bank Accounts: List

Request

GET https://api.gyro-n.money/bank_accounts

Parameters:

Parameters
primaryboolean
Filter for only the primary bank account

Headers:

Authorization: Bearer {secret}.{jwt}

Body:

curl --request GET \
--url 'https://api.gyro-n.money/bank_accounts' \
--header 'Authorization: Bearer {secret}.{jwt}'

Response

Code: 

200

Headers:

Content-Type: application/json

Body:

{
  "items": [
    {
      "id": "034d2b96-18c9-11e7-a307-cf150b1a7c8f",
      "holder_name": "Karin Freitag",
      "bank_name": "Loewe Bank",
      "branch_name": "Düsseldorf Branch",
      "country": "DE",
      "bank_address": "Friedrichstrasse 50, 40470 Düsseldorf Düsseltal",
      "currency": "EUR",
      "account_number": "XXXXXXXXXXXXXXXXXXX931",
      "swift_code": "TRSYDEFF",
      "last_four": "4931",
      "status": "new",
      "created_on": 1491263728096,
      "primary": false
    },
    {
      "id": "37e74cea-18c6-11e7-b12b-27088a67d53f",
      "holder_name": "Margaret Taylor",
      "bank_name": "Feedmix Bank",
      "branch_name": null,
      "country": "BI",
      "bank_address": null,
      "currency": "USD",
      "account_number": "XXXXXXXXXXXXXXXXXXXXXXXXXX206",
      "swift_code": "BWLZUSKC",
      "last_four": "2206",
      "status": "errored",
      "created_on": 1491262527857,
      "primary": true
    },
    {
      "id": "3b14acd0-18c8-11e7-8221-af2dfcba9a06",
      "holder_name": "Mary J. Morris",
      "bank_name": "Eisner Bank",
      "branch_name": "Montreal Branch",
      "country": "CA",
      "bank_address": "4875 Duke Street, Montreal, QC H3C 5K4",
      "currency": "CAD",
      "account_number": "XXXXX967",
      "swift_code": "ACMTCAMM",
      "last_four": "1967",
      "status": "new",
      "created_on": 1491263392182,
      "primary": false
    },
    {
      "id": "59f638fc-18c9-11e7-95e1-538612c533ee",
      "holder_name": "Xiu Juan Kang",
      "bank_name": "Chia Bank",
      "branch_name": "Changping Branch",
      "country": "TW",
      "bank_address": "No. 2389, 1244, Chang Ping Zhen Lu Ke San Tiao, Changping District, Taiwan",
      "currency": "TWD",
      "account_number": "XXXXX014",
      "swift_code": "AGBTTWTP",
      "last_four": "5014",
      "status": "new",
      "created_on": 1491263873488,
      "primary": false
    },
    {
      "id": "9fe681ba-18c8-11e7-b0e2-ab76cfb33e2f",
      "holder_name": "Lin Fu",
      "bank_name": "Yu Bank",
      "branch_name": "Cheng Branch",
      "country": "CN",
      "bank_address": "No. 1545, 1148, Long Tan Dong Lu, Cheng District, Yangquan City, Shanxi Province",
      "currency": "CNY",
      "account_number": "XXXXX702",
      "swift_code": "ABOCCNBJ010",
      "last_four": "9702",
      "status": "new",
      "created_on": 1491263561329,
      "primary": false
    },
    {
      "id": "ed9ab184-18c7-11e7-b7e6-abe9cb904eba",
      "holder_name": "Rosa D. Cohen",
      "bank_name": "Lucht Bank",
      "branch_name": "Sardis Branch",
      "country": "US",
      "bank_address": "2562 Lords Way, Sardis, TN 38371",
      "currency": "USD",
      "account_number": "XXXXX902",
      "routing_number": "064003768",
      "last_four": "1902",
      "status": "new",
      "created_on": 1491263262198,
      "primary": false
    },
    {
      "id": "f2a1bffc-18c6-11e7-9a49-2f81a741bd37",
      "holder_name": "Nanto Setsuko",
      "bank_name": "Shikikawa Bank",
      "branch_name": "Okayama Branch",
      "country": "JP",
      "bank_address": "165-1269, Kashinishi, Maniwa-shi, Okayama",
      "currency": "JPY",
      "account_number": "XXXXXXXXXX406",
      "swift_code": "BOJPJPJT",
      "last_four": "5406",
      "status": "new",
      "created_on": 1491262841136,
      "primary": false
    }
  ],
  "has_more": false
}