The Account Information Service Provider (AISP) — accounts, balances and transactions, released only for an authorised account-access consent.
The Accounts microservice implements the OBIE Account & Transaction API in the AISP role. It exposes accounts, balances and transactions, but only for a consent that the Consent service has authorised and whose permissions cover the request. It also answers an internal funds-confirmation check for the Funds service.
Speaks the OBIE contract on the wire. A selection of the endpoints this service exposes:
| Method | Path | Purpose |
|---|---|---|
| GET | /accounts | List accounts permitted by the consent |
| GET | /accounts/{id}/balances | Read balances (ReadBalances permission) |
| GET | /accounts/{id}/transactions | Read transactions (ReadTransactions permission) |
| POST | /internal/funds-confirmations | Internal balance check for the Funds service |
Clone the repo and start the service with an in-memory store. No database required to try it.
# clone and run (in-memory store, no infra) git clone https://github.com/Sreenivas-Sadhu-Prabhakara/openbank-accounts.git cd openbank-accounts && go run . # it is now serving OBIE on :8082 curl localhost:8082/health
openbank-bian rebuilds UK Open Banking as five consent-first services. Explore the rest: