Fetching account transactions

List all of the transactions for an account linked to Banked

📘

Please speak to your Account Manager if you would like to use this functionality

This functionality is rate limited.

The banked API provides an endpoint to pull a list of transactions from your linked bank account. You first need to authorise your bank account through the Banked console and replace YOUR_ACCOUNT_ID with the id representing your account in the console. See Linking accounts.

curl --location "https://api.banked.com/v2/bank_accounts/YOUR_ACCOUNT_ID/transactions?from_date=2019-03-01&to_date=2019-03-31" \
  --header "Content-Type: application/json" \
  --user "YOUR_API_KEY:YOUR_API_SECRET"

After running this in your terminal, you'll see the list of transaction for that account.

[
    {
        "amount": {
            "amount": 1500,
            "currency": "GBP"
        },
        "credit_debit": "Debit",
        "description": "7hfSQM Batch Test",
        "id": "5406f7d6-06a7-46fe-a7aa-6f37fd69cd3d",
        "status": "Booked",
        "time": "2019-03-18T12:51:38.339Z"
    },
    {
        "amount": {
            "amount": 200,
            "currency": "GBP"
        },
        "credit_debit": "Debit",
        "description": "C4IhdO Batch Test",
        "id": "fd75e996-e3a7-4292-9562-fd4ebf2d680c",
        "status": "Booked",
        "time": "2019-03-18T12:51:38.364Z"
    },
    {
        "amount": {
            "amount": 4600,
            "currency": "GBP"
        },
        "credit_debit": "Debit",
        "description": "Pm3QsF Batch Test",
        "id": "ed42811f-d8f0-4db9-b69b-d624dd17e5a6",
        "status": "Booked",
        "time": "2019-03-18T12:51:38.384Z"
    }
]

Did this page help you?