Skip to main content
Logo
API Documentation Status page Submit a request
Sign in
  1. Bank Account Data
  2. Bank Account Data API
  3. Accessing Account Data

Retrieving account information

After successfully linking an account, you can retrieve its information using the following endpoints:

  1. Get account details: GET /api/v2/accounts/{id}/

  2. Get account balances: GET /api/v2/accounts/{id}/balances/

  3. Get account details: GET /api/v2/accounts/{id}/details/

  4. Get account transactions: GET /api/v2/accounts/{id}/transactions/

However, to ensure a smooth process and avoid any potential issues or errors, it is advisable to perform additional checks before retrieving the account's information. These checks should be performed either before the initial request for account information after the user has linked their account or after the user has been redirected back to your service following the authentication flow.

Here is a recommended checklist that you can implement into your application:

  1. Make a request to the requisition endpoint:
curl -X GET "https://bankaccountdata.gocardless.com/api/v2/requisitions/REQUISITION_ID/" \
-H "accept: application/json" \
-H "Authorization: Bearer ACCESS_TOKEN"
  1. Inspect the response and ensure that:

    • The requisition's status is "LN"
    • The response contains one or multiple account IDs in the "accounts" array
  2. Make a request to the account's endpoint:

curl -X GET "https://bankaccountdata.gocardless.com/api/v2/accounts/ACCOUNT_ID/" \
-H "accept: application/json" \
-H "Authorization: Bearer ACCESS_TOKEN"
  1. Verify the response and ensure that the account's status is "READY".

If the requisition's status is "LN" and the account's status is "READY", you can confidently proceed to request the account's details, balances, and transactions.

Implementing these checks will help prevent any potential issues and ensure a successful retrieval of the account's information.

Was this article helpful?
  • Promoted articles

    • Bank Account Data API Usage - how is your usage number calculated
    • EEA 180-day access
    • Bank Account Data API Rate Limits
    • How to recognise and handle end user authentication errors
    • Account Endpoint Errors and Suspended Accounts
  • Recently Added Articles

  • Top Articles

Bank Account Data Quickstart Guide

Simple and streamlined guide to start using our Bank Accoun Data API

Quickstart Guide

Demo page of our Bank Account Data API

See the product in action with few easy clicks

Bank Account Data Demo

Need Support?

Contact us

We're available Monday to Friday, 9am-5pm GMT

Quick links

Knowledge base
Gocardless Bank Account Data

About GoCardless

Legal
Privacy
Security
Blog

Support

Contact support
Complaints
Contact sales

API Documentation

Developer documents

GoCardless Ltd, Sutton Yard, 65 Goswell Road, London, EC1V 7EN, United Kingdom


GoCardless Ltd (company registration number 07495895) is authorised by the Financial Conduct Authority under the Payment Services Regulations 2017, registration number 597190, for the provision of payment services.





https://docs.google.com/spreadsheets/d/1EZ5n7QDGaRIot5M86dwqd5UFSGEDTeTRzEq3D9uEDkM/edit?gid=976380583#gid=976380583
/hc/theming_assets/01JVYEMDH4NW2KMNM8HG9Y2GXA
Detailed bank coverage
A detailed list of the available institutions and specifications.
custom
https://gocardless.com/stories/bondora/
/hc/theming_assets/01JKWXK6T8QZWQQSYYJAD0X703
Our latest customer story
Learn about how companies are using our technology.
custom
https://developer.gocardless.com/bank-account-data/overview
/hc/theming_assets/01JVYEMQ0208DBSNG2GPZRZ36T
Developer Docs
All the documentation you need to integrate with our API.
Rate Limits, Access expired, Requisition