v1
latestOpenAPI 3.1.02026-07-228956435.8 KBLinks
Update a link
Updates a link using its link_token as identifier. You can update only the active field: Fintoc stops refreshing deactivated links.
patch/links/{id}
Path parameters
idstring required
The link_token of the link to update, returned when the link was exchanged.
Request body
Example request
{
"active": true
}Response
The updated link. accounts and link_token are always null in this response.
Example response
{
"id": "link_nMNejK7BT8oGbvO4",
"accounts": [
{
"id": "acc_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"available_balance": 1050000,
"currency": "MXN",
"description": "Main collection account",
"entity": {
"id": "ent_2eGhTp1rLqWnXkZbYc4JsKmAvD9",
"holder_id": "000000000",
"holder_name": "Test Customer 1",
"is_root": true
},
"is_root": true,
"mode": "test",
"root_account_number": "646180111800000000",
"root_account_number_id": "acno_2fJkRm7tBvQxNzYpLc5WsHaDfT3",
"status": "active"
}
],
"active": true,
"created_at": "2020-04-22T21:10:19.254Z",
"holder_id": "111111111",
"holder_type": "individual",
"institution": {
"id": "cl_banco_de_chile",
"country": "cl",
"name": "Banco de Chile"
},
"last_time_refreshed": "2020-11-18T18:43:54.591Z",
"link_token": "link_nMNejK7BT8oGbvO4_token_sjnNsMyXKJEXAMPLETOKENrnNL1tA8",
"mode": "live",
"refresh_status": "idle",
"status": "active",
"subscription_id": "sub_nMNejK7BT8oGbvO4",
"username": "111111111"
}