List exchanges
{% admonition type="warning" name="Coming Soon" %} This endpoint is currently undergoing development. As such, minor changes or bugs may occur. If you encounter any issues, please contact your Belvo representative. {% /admonition %}
▶️ Usage
With the List Exchanges method, you can:
- [Required] List exchanges related to a specific link.id (using the link query parameter).
- Get the details of a specific exchange.id (using the id query parameter).
🔦 Filtering Responses
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 <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> article.
📖 Pagination
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 <a href="https://developers.belvo.com/docs/belvo-pagination-tips" target="_blank">Pagination Tips</a> article.
Request
- Base URLhttps://sandbox.belvo.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The link.id you want to filter by.
Return information only for this resource id.
Return results only for these link.ids.
[ "5722d0ba-69d7-42dc-8ff5-33767b83c5d6" ]
Return information for these resource ids.
[ "6b3dea0f-be29-49d1-aabe-1a6d588642e6" ]
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).
A page number within the paginated result set.
Omit certain fields from being returned in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.
Return only the specified fields in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.
Return items that were retrieved from the institution on this date (YYYY-MM-DD or full ISO-8601 timestamp).
Return items that were retrieved from the institution after this date (YYYY-MM-DD or full ISO-8601 timestamp).
Return items that were retrieved from the institution after or on this date (YYYY-MM-DD or full ISO-8601 timestamp).
Return items that were retrieved from the institution before this date (YYYY-MM-DD or full ISO-8601 timestamp).
Return items that were retrieved from the institution before or on this date (YYYY-MM-DD or full ISO-8601 timestamp).
Return items that were retrieved from the institution between two dates (YYYY-MM-DD or full ISO-8601 timestamp). The first value indicates the start of the range and the second value indicates the end of the range.
[ "2022-01-01", "2022-12-31" ]
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).
Return accounts that were last updated in Belvo's database between two dates (in YYYY-MM-DD format). The first value indicates the start of the range and the second value indicates the end of the range.
[ "2022-01-01", "2022-12-31" ]
Response
OK - Exchanges Retrieved
Example response
{
"count": 130,
"next": "https://sandbox.belvo.com/api/{endpoint}/?link=1bd948f7-245d-4313-b604-34d1044cb908&page=2",
"results": [
{
"id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d",
"link": "30cb4806-6e00-48a4-91c9-ca55968576c8",
"created_at": "2022-02-09T08:45:50.406032Z",
"collected_at": "2022-02-09T08:45:50.406032Z",
"operation_identifier": "92792126019929240",
"operation_number": "393874649456",
"operation_type": "COMPRA",
"operation_requested_at": "2023-03-07T08:30:00Z",
"authorized_institution_identifier": 11225860000140,
"authorized_institution_name": "AGENCIA CORRETORA",
"intermediary_institution_identifier": 11225860000140,
"intermediary_institution_name": "AGENCIA CORRETORA",
"operation_due_date": "2018-02-15",
"local_operation_tax_amount": 1.3,
"local_operation_tax_currency": "BRL",
"local_operation_value_amount": 1000.04,
"local_operation_value_currency": "BRL",
"foreign_operation_value_amount": 1000.04,
"foreign_operation_value_currency": "USD",
"operation_outstanding_balance_amount": 1000.04,
"operation_outstanding_balance_currency": "USD",
"tev_amount_amount": 1000.000004,
"tev_amount_currency": "BRL",
"local_currency_advance_percentage": 0.12,
"settlement_method": "CARTA_CREDITO_A_PRAZO",
"operation_category_code": "90302"
}
]
}Changes
No recorded changes to this operation across all 5 revisions of this API.