# Aiia Data
source: https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/index.md

Mastercard's Aiia Data platform provides access to account, account holder, and transaction details, enabling individuals and businesses to securely access and share financial data across various applications and services.

* Retrieve account information for accounts that you have been given access to. Refer to [Get Account Information](https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/account-information/index.md) to further explore how to access end-user accounts and how to interpret the results.
* Retrieve financial transactions from different accounts within a chosen period of time. Refer to [Get Transactons](https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/transactions/index.md) to further explore how to retrieve transactions and how to interpret the results.

## How it works {#how-it-works}

In summary, the data access process steps are as follows:

1. The PSU uses the TPPs user interface to initiate connecting their accounts with the TPP.
2. The TPP calls the `/v1/oauth/connect` endpoint to initiate the Connect Flow. The request includes the [Scope](https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/connect/scopes/index.md), to indicate if access is one time or ongoing, and a `redirect_uri` to redirect the user after they have finished the login flow.
3. Aiia Data returns a 302 response, required to redirect the user.
4. The PSU completes the [Supervised login flow](https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/connect/supervised/index.md) to sign up with Aiia Data and connect their participating accounts. As part of the login flow, the PSU logs in to their bank, chooses the required account, and provides consent.
5. Once the fow is complete, the PSU is redirected to the `redirect_uri`, together with a code that is used in the following steps to get an access token for the user.
6. The TPP uses the `/v1/oauth/token` endpoint, including the `redirect_uri` and `code`, to get an access token for the users data.
7. The TPP uses the access token with the `/v1/accounts` endpoint to request access to the users account data.
8. Aiia Data retrieves the account details from the ASPSP and returns it to the TPP. The response will include the `id` parameter for each queried account. This can be used subsequently to to get the transactions associated with the account.
9. The TPP uses the `/v1/accounts/{accountId}/transactions` endpoint to request access to transactions on the users account.
10. Aiia Data retrieves the transactions from the ASPSP and returns them to the TPP.

Diagram aiia-data

## See more {#see-more}

### Getting started {#getting-started}

You can get started integrating our data API in a few steps. If you do not have a [Developer Portal](https://devportal.openbanking.mastercard.com/) account yet, refer to the [Quick Start Guide](https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/quickstart/index.md) to begin. The guide details how to integrate with our platform and onboard your customers or yourself.

### API reference information {#api-reference-information}

Refer to [API Reference](https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/api-references/index.md) for information on all endpoints available.

### Additional information {#additional-information}

* Refer to [Data Enrichment](https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/data-enrichment/index.md) to learn how transaction data is processed and enriched by the platform.
* Refer to [Data Synchronization](https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/aiia-data/data-sync/index.md) to learn about keeping user data up to date.

### Getting help {#getting-help}

Complete the [Contact Us](https://openbankingeu.mastercard.com/contact-us) form if you have any questions or require assistance.
