Reach new audiences and convert more users by easily and safely connecting to their financial data, understanding their behavior and enabling instant payments with open finance. Through our API, you can access:
Belvo is an open banking API for Latin America that allows companies to access banking and fiscal information in a secure as well as agile way.
Through our API, you can access:
You can also use our API to make payments in:
If you woud like the response documentation in Excel or CSV form, please download them from our public GitHub Reposiitory: Belvo Open Finance Data Dictionaries.
Our EXCEL and CSV files are additionally localized into Spanish and Portuguese (Brazil).
Available for:
Use our Sandbox environment to build your integration. We offer dummy data that mimics that of real-world use cases, which means you can test out all the endpoints, use the widget, and implement webhooks - just as you would with real-world data!
All you need to get started with the Sandbox environment is to get your API keys. We really recommend that you start creating your integration in this environment.
Available for:
After you have tested your integration in the Sandbox environment and are ready to go live, you'll need to request access to our Production environment. After you request access, our Sales Team will get in contact with you to schedule a meeting just to ensure your needs are met, and then you'll just need to go through a certification process with one of our engineers to make sure that your integration is running optimally. To prepare for the certification meeting, just follow our Integration checklist.
Once your integration is certified, all you'll need to do is:
sandbox.belvo.com
to api.belvo.com
.We use the following HTTP status code in the response depending on the success or failure:
Status Code | Description |
---|---|
200 | ✅ Success - The content is available in the response body. |
201 | ✅ Success - The content was created successfully on Belvo. |
204 | ✅ Success - No content to return. |
400 | ❌ Bad Request Error - Request returned an error, detail in the content. |
401 | ❌ Unauthorized - The Belvo credentials provided are not valid. |
404 | ❌ Not Found - The resource you try to access cannot be found. |
405 | ❌ Method Not Allowed - The HTTP method you are using is not accepted for this resource. |
408 | ❌ Request Timeout - The request timed out and was terminated by the server. |
428 | ❌ MFA Token Required - MFA token was required by the institution to connect. |
500 | ❌ Internal Server Error - The detail of the error is available in the response body. |
Belvo API errors are returned in JSON format. For example, an error might look like this:
[
{
"request_id": "a6e1c493d7a29d91aed4338e6fcf077d",
"message": "This field is required.",
"code": "required",
"field": "link"
}
]
Typically, an error response will have the following parameters:
request_id
: a unique ID for the request, you should share it with the Belvo support team for investigations.message
: human-readable description of the error.code
: a unique code for the error. Check the table below to see how to handle each error code.field
(optional): The specific field in the request body that has an issue.When you need help with a specific error, include the request identifier (request_id
) in your message to the Belvo support team. This will speed up investigations and get you back up and running in no time at all.
For a full list of errors and how to troubleshoot them, please see our dedicated Error Handling article.
Implement an automated exponential backoff of up to five retries. We recommend using a base interval of three seconds with a factor of two. For example, the first retry should be after three seconds, the second retry after six seconds (2 * 3), the third retry after 12 seconds (2 * 6), the fourth retry after 24 seconds (2 * 12), and the fifth retry after 48 seconds (2 * 24).
You should not retry making requests if you receive a 40x response, as this is a client error.
The only exception is the “Too Many Sessions” error, as it means that your end-user is accessing the account from another browser at the same time. In this case, please implement the same retry policy as with 50x errors.
In our schema, you may see that a field has been marked as deprecated
. This means that this field is no longer maintained by the Belvo team. You may still receive data for this field depending on the institution, however, you should not rely on this field.
In our API specification, you'll see that some response parameters will have a required annotation. According to the OpenAPI specification, when a response parameter is marked as required, this means that the response key must be returned. However, the value of that response parameter can be null
.
📘 Info
In short, any response parameter marked as required will be returned by our API, but the value can be set to null.
https://developers.belvo.com/_mock/apis/belvoopenapispec/
https://sandbox.belvo.com/
An institution is an entity that Belvo can access information from. It can be a:
An owner represents the person who has access to a Link and is the owner of all the accounts inside the Link.
You can use this endpoint in order to get useful information about your client, such as:
An account is the representation of a bank account inside a financial institution. A user can have one or more accounts in an institution.
For example, one user (or link) can have a checking account, several credit cards, and a loan account.
Querying for a user's account information is useful as you can get information regarding:
With the List Investments method, you can:
link.id
(using the link
query parameter).investment.id
(using the id
query parameter).This method returns a paginated response (default: 100 items per page). You can use the page_size
query parameter to increase the number of items returned to a maximum of 1000 items. You can use the page
query parameter to navigate through the results. For more details on how to navigate Belvo's paginated responses, see our Pagination Tips article.
Please see the query list below for a list of fields that you can filter your responses by. For more information on how to use filters, see our Filtering responses article.
The link.id
you want to filter by.
Indicates how many results to return per page. By default we return 100 results per page.
ℹ️ The minimum number of results returned per page is 1 and the maximum is 1000. If you enter a value greater than 1000, our API will default to the maximum value (1000).
Return information only for this resource id
.
Return information for these resource id
s.
Return results only for these link.id
s.
Omit certain fields from being returned in the response. For more information, see our Filtering responses DevPortal article.
Return only the specified fields in the response. For more information, see our Filtering responses DevPortal article.
Return investments with this type. Can be either BANCARIA
, CREDITO
, VARIABLE
, FUND
, or BOND
.
Return investments of this type. Can be either BANCARIA
, CREDITO
, VARIABLE
, FUND
, or BOND
.
Return items that were last updated in Belvo's database on this date (in YYYY-MM-DD
format).
Return items that were last updated in Belvo's database after this date (in YYYY-MM-DD
format).
Return items that were last updated in Belvo's database after or on this date (in YYYY-MM-DD
format).
Return items that were last updated in Belvo's database before this date (in YYYY-MM-DD
format).
Return items that were last updated in Belvo's database before or on this date (in YYYY-MM-DD
format).
https://developers.belvo.com/_mock/apis/belvoopenapispec/api/br/investments/
https://sandbox.belvo.com/api/br/investments/
curl -i -X GET \
-u <username>:<password> \
'https://developers.belvo.com/_mock/apis/belvoopenapispec/api/br/investments/?created_at=2022-05-05&created_at__gt=2022-05-05&created_at__gte=2022-05-04&created_at__lt=2022-04-01&created_at__lte=2022-03-30&created_at__range=2022-03-03&fields=string&id=24ccab1d-3a86-4136-a6eb-e04bf52b356f&id__in=6b3dea0f-be29-49d1-aabe-1a6d588642e6&link=8848bd0c-9c7e-4f53-a732-ec896b11d4c4&link__in=5722d0ba-69d7-42dc-8ff5-33767b83c5d6&omit=string&page=1&page_size=100&type=VARIABLE&type__in=VARIABLE'
Ok
The URL to next page of results. Each page consists of up to 100 items. If there are not enough results for an additional page, the value is null
.
In our documentation example, we use {endpoint}
as a placeholder value. In production, this value will be replaced by the actual endpoint you are currently using (for example, accounts
or owners
).
The URL to the previous page of results. If there is no previous page, the value is null
.
{ "count": 130, "next": "https://sandbox.belvo.com/api/{endpoint}/?link=1bd948f7-245d-4313-b604-34d1044cb908page=2", "previous": null, "results": [ { … } ] }
Omit certain fields from being returned in the response. For more information, see our Filtering responses DevPortal article.
Return only the specified fields in the response. For more information, see our Filtering responses DevPortal article.
The link.id
you want to retrieve information for.
https://developers.belvo.com/_mock/apis/belvoopenapispec/api/br/investments/
https://sandbox.belvo.com/api/br/investments/
curl -i -X POST \
-u <username>:<password> \
'https://developers.belvo.com/_mock/apis/belvoopenapispec/api/br/investments/?fields=string&omit=string' \
-H 'Content-Type: application/json' \
-d '{
"link": "c81a1dea-6dd6-4999-8b9f-541ee8197058",
"save_data": true
}'
Ok (when save_data=false
)
The unique identifier created by Belvo used to reference the current investment.
The type of investment: Can be either
FIXED_INCOME_BANKING
(Renda Fixa Bancária)FIXED_INCOME_CREDIT
(Renda Fixa Crédito)VARIABLE_INCOME
(Renda Variável)TREASURY_BOND
(Tesouro Direto)INVESTMENT_FUND
(Fundos de Investimento)The CNPJ number of the issuing institution. For Investment Funds, this is the CNPJ of the fund.
🚧 Not applicable for
TREASURY_BOND
investments.
The ISO-6166 International Securities Identification Number (ISIN) for the financial instrument.
The three-letter currency code (ISO-4217) of the investment. For example, BRL
for Brazilian Real.
The name of the investment product.
FIXED_INCOME_BANKING
, this can be: CDB, RDB, LCI, or LCA.FIXED_INCOME_CREDIT
, this can be: DEBENTURES, CRI, or CRA.INVESTMENT_FUND
, this will be the name of the fund. For example: CONSTELLATION MASTER FIATREASURY_BOND
, this will be the name of the bond. For example: Tesouro Selic 2025.VARIABLE_INCOME_INCOME
, this will be the name of the stock. For example AAPL.Indicates if the investment is exempt from taxes.
🚧 Only applicable for
FIXED_INCOME_CREDIT
investments.
The clearing code of the investment.
🚧 Only applicable for
FIXED_INCOME_BANKING
andFIXED_INCOME_CREDIT
.
The maturity date of the financial instrument.
🚧 Only applicable for
FIXED_INCOME_BANKING
,FIXED_INCOME_CREDIT
, andTREASURY_BOND
investments.
The date the financial instrument was issued.
🚧 Only applicable for
FIXED_INCOME_BANKING
andFIXED_INCOME_CREDIT
.
The date the financial instrument was purchased.
🚧 Only applicable for
FIXED_INCOME_BANKING
,FIXED_INCOME_CREDIT
, andTREASURY_BOND
investments.
The grace period date of the financial instrument.
🚧 Only applicable for
FIXED_INCOME_BANKING
andFIXED_INCOME_CREDIT
.
The unit price of the financial instrument at the time of issuance.
🚧 Only applicable for
FIXED_INCOME_BANKING
andFIXED_INCOME_CREDIT
.
The classification details of the investment instrument.
🚧 Only applicable for
INVESTMENT_FUND
investments.This object is only applicable for
INVESTMENT_FUND
investments. For all other investment types, this object will benull
.
The voucher payment (also known as coupon payments) details of the investment instrument.
🚧 Only applicable for
FIXED_INCOME_CREDIT
andTREASURY_BOND
investments.This object is only applicable for
FIXED_INCOME_CREDIT
andTREASURY_BOND
investments. For all other investment types, this object will benull
.
The debtor details of the investment instrument.
🚧 Only applicable for
FIXED_INCOME_CREDIT
investments.This object is only applicable for
FIXED_INCOME_CREDIT
investments. For all other investment types, this object will benull
.
[ { "id": "5359ddc5-31fc-4346-934b-cc24630a8d06", "type": "FIXED_INCOME_BANKING", "issuer_id_number": "10187609364567", "isin_number": "BRCST4CTF001", "currency": "BRL", "product_name": "CONSTELLATION MASTER FIA", "is_tax_exempt": false, "clearing_code": "CDB421GPXXX", "due_date": "2022-01-01", "issue_date": "2021-01-01", "purchase_date": "2021-01-01", "grace_period_date": "2021-01-01", "issue_unit_price": 1000, "balance": { … }, "remuneration": { … }, "classification_details": { … }, "voucher_payment_details": { … }, "debtor_details": { … } } ]
Omit certain fields from being returned in the response. For more information, see our Filtering responses DevPortal article.
Return only the specified fields in the response. For more information, see our Filtering responses DevPortal article.
https://developers.belvo.com/_mock/apis/belvoopenapispec/api/br/investments/{id}/
https://sandbox.belvo.com/api/br/investments/{id}/
curl -i -X GET \
-u <username>:<password> \
'https://developers.belvo.com/_mock/apis/belvoopenapispec/api/br/investments/{id}/?fields=string&omit=string'
Ok
The unique identifier created by Belvo used to reference the current investment.
The type of investment: Can be either
FIXED_INCOME_BANKING
(Renda Fixa Bancária)FIXED_INCOME_CREDIT
(Renda Fixa Crédito)VARIABLE_INCOME
(Renda Variável)TREASURY_BOND
(Tesouro Direto)INVESTMENT_FUND
(Fundos de Investimento)The CNPJ number of the issuing institution. For Investment Funds, this is the CNPJ of the fund.
🚧 Not applicable for
TREASURY_BOND
investments.
The ISO-6166 International Securities Identification Number (ISIN) for the financial instrument.
The three-letter currency code (ISO-4217) of the investment. For example, BRL
for Brazilian Real.
The name of the investment product.
FIXED_INCOME_BANKING
, this can be: CDB, RDB, LCI, or LCA.FIXED_INCOME_CREDIT
, this can be: DEBENTURES, CRI, or CRA.INVESTMENT_FUND
, this will be the name of the fund. For example: CONSTELLATION MASTER FIATREASURY_BOND
, this will be the name of the bond. For example: Tesouro Selic 2025.VARIABLE_INCOME_INCOME
, this will be the name of the stock. For example AAPL.Indicates if the investment is exempt from taxes.
🚧 Only applicable for
FIXED_INCOME_CREDIT
investments.
The clearing code of the investment.
🚧 Only applicable for
FIXED_INCOME_BANKING
andFIXED_INCOME_CREDIT
.
The maturity date of the financial instrument.
🚧 Only applicable for
FIXED_INCOME_BANKING
,FIXED_INCOME_CREDIT
, andTREASURY_BOND
investments.
The date the financial instrument was issued.
🚧 Only applicable for
FIXED_INCOME_BANKING
andFIXED_INCOME_CREDIT
.
The date the financial instrument was purchased.
🚧 Only applicable for
FIXED_INCOME_BANKING
,FIXED_INCOME_CREDIT
, andTREASURY_BOND
investments.
The grace period date of the financial instrument.
🚧 Only applicable for
FIXED_INCOME_BANKING
andFIXED_INCOME_CREDIT
.
The unit price of the financial instrument at the time of issuance.
🚧 Only applicable for
FIXED_INCOME_BANKING
andFIXED_INCOME_CREDIT
.
The classification details of the investment instrument.
🚧 Only applicable for
INVESTMENT_FUND
investments.This object is only applicable for
INVESTMENT_FUND
investments. For all other investment types, this object will benull
.
The voucher payment (also known as coupon payments) details of the investment instrument.
🚧 Only applicable for
FIXED_INCOME_CREDIT
andTREASURY_BOND
investments.This object is only applicable for
FIXED_INCOME_CREDIT
andTREASURY_BOND
investments. For all other investment types, this object will benull
.
{ "id": "5359ddc5-31fc-4346-934b-cc24630a8d06", "type": "FIXED_INCOME_BANKING", "issuer_id_number": "10187609364567", "isin_number": "BRCST4CTF001", "currency": "BRL", "product_name": "CONSTELLATION MASTER FIA", "is_tax_exempt": false, "clearing_code": "CDB421GPXXX", "due_date": "2022-01-01", "issue_date": "2021-01-01", "purchase_date": "2021-01-01", "grace_period_date": "2021-01-01", "issue_unit_price": 1000, "balance": { "reference_date": "2022-07-21T17:32:00Z", "gross_value": 1000, "blocked_amount": 100, "quantity": 100, "gross_unit_price": 10, "net_value": 900, "withheld_amount": 10, "transaction_fee": 5, "purchase_unit_price": 10, "pre_fixed_rate": 0.05, "post_fixed_rate": 0.05, "penalty_fee": 10, "late_payment_fee": 10, "closing_price": 10, "unit_price_factor": 1 }, "remuneration": { "pre_fixed_rate": 0.05, "post_fixed_rate": 0.05, "rate_type": "LINEAR", "rate_periodicity": "MENSAL", "calculation_base": "DIAS_CORRIDOS", "indexer": "CDI", "indexer_additional_info": "IPCA + 5%" }, "classification_details": { "category": "ACOES", "class": "Ações Livre", "subclass": "Ações Livre" }, "voucher_payment_details": { "is_voucher_payment": true, "periodicity": "MENSAL", "periodicity_additional_info": "30/360" }, "debtor_details": { "name": "Roberto Marino", "id_document_number": 12345678901 } }
Our employments resource for Brazil lets you get a comprehensive view of your user's current employment history and salary information.
For each user, we return the:
At the moment, the employments resource is available for:
Our employment records resource for Mexico lets you get a comprehensive view of your user’s current social security contributions and employment history.
With Belvo's employment records resource for Mexico, you can access information about your user's current social security contributions and employment history. For the each user, we return the:
At the moment, the employment records resource is available for:
Belvo's Recurring Expenses API allows you to identify a user's regular payments for subscription services, such as Netflix or gym memberships, as well as utility payments, such as electricity or phone bills. We return information for up to 365 days.
📘 Info
The recurring expenses resource is only available for Checking, Savings and Credit Card accounts associated with banking links.
To receive inflow payments to your organization's bank account, you must register the bank accounts (individual and business) using Belvo's Payments API.
A payment intent is a single point of access to create payments using any payment method offered by Belvo.
A payment intent captures all payment information (such as the amount to be charged, the description of the payment, the provider, and so on) and guides your customers through the payment flow.
Note: For institutions that require the
username_type
in theform_fields
array, you must send through this value in your PATCH request.