Retrieve exchanges for a link
{% 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 %}
Retrieve exchange operations for an existing link. By default, we retrieve exchange data for the last 365 days.
Note: When you retrieve exchanges, we automatically retrieve the exchange history for each exchange operation found.
Request
- Base URLhttps://sandbox.belvo.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
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.
Request body
Example request
{
"link": "c81a1dea-6dd6-4999-8b9f-541ee8197058",
"date_from": "2022-01-01",
"date_to": "2022-12-31",
"save_data": true
}Response
OK - Exchanges Retrieved (when save_data=false)
Example response
[
{
"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.