Browse Documentation
GET Get financial account

List All Financial Accounts

Get a list of all financial accounts. A financial account is a cash related account. Most of the times this is a bank account but it can also be a credit card, PayPal, petty cash or other types of cash accounts.

GET /financial_accounts

      
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/financial_accounts/
     

Response

[{
    "id": "017ce50880d3b234b7352b00f70336d2ec2d15fa",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "title": "KBC",
    "account_number": "BE00 1111 2222 3333 4444",
    "account": {
        "id": "74bcc5d193cb22a79a295dfb0dade273d50ea80e",
        "code": "BE00 1111 2222 3333 4444",
        "title": "KBC (KBC)",
        "description": null
    },
    "bank": {
        "name": "KBC",
        "bic": "KREDBEBB",
        "supported": true,
        "bank_feed_available": false,
        "logo_url": "https://f.accounteer.com/bank_kbc.png"
    }
}, {
    "id": "d743c0522b871c777a0e54178a019e9d084fc6d5",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "title": "Belfius",
    "account_number": "BE00 1111 2222 3333",
    "account": {
        "id": "4c14a858db884a92a2a1795e34563859fd0f2cff",
        "code": "BE00 1111 2222 3333",
        "title": "Belfius (Belfius)",
        "description": null
    },
    "bank": {
        "name": "Belfius",
        "bic": "GKCCBEBB",
        "supported": true,
        "bank_feed_available": true,
        "logo_url": "https://f.accounteer.com/bank_belfius.png"
    }
}]


Get Financial Account

GET /financial_accounts/:id

     
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/financial_accounts/017ce50880d3b234b7352b00f70336d2ec2d15fa
     

Response

{
    "id": "017ce50880d3b234b7352b00f70336d2ec2d15fa",
    "organization_id": "daa71f0644647c0d82dd2d03d0b29779644b1a48",
    "title": "KBC",
    "account_number": "BE00 1111 2222 3333 4444",
    "account": {
        "id": "74bcc5d193cb22a79a295dfb0dade273d50ea80e",
        "code": "BE00 1111 2222 3333 4444",
        "title": "KBC (KBC)",
        "description": null
    },
    "bank": {
        "name": "KBC",
        "bic": "KREDBEBB",
        "supported": true,
        "bank_feed_available": false,
        "logo_url": "https://f.accounteer.com/bank_kbc.png"
    }
}

If the financial account id passed as a parameter is invalid the user get the below response

Response

{  
   "status":404,
   "error":"Financial Account not found"
}