Get a movement
curl --request GET \
--url https://api.fintoc.com/v2/accounts/{account_id}/movements/{id} \
--header 'Authorization: <api-key>'import requests
url = "https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "mov_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"object": "movement",
"account_id": "acc_2rN1bQ8xHvK3mWpYzLd7TfGcRsE",
"amount": 50000,
"balance": 1050000,
"currency": "MXN",
"direction": "inbound",
"mode": "test",
"resource_id": "tr_2sP9cR4yJwM6nXqZaNe8UgHdSt0",
"return_pair_id": null,
"transaction_date": "2026-03-01T12:00:00.000Z",
"type": "transfer"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "Invalid API Key: invalid-*oken"
}
}{
"error": {
"code": "missing_resource",
"message": "Movement not found: mov_2daFu0zqqDtZGJaSi2TGI2Mm1nN"
}
}Movimientos
Get a movement
Retrieves the details of a movement that belongs to one of your accounts, by its ID.
GET
/
v2
/
accounts
/
{account_id}
/
movements
/
{id}
Get a movement
curl --request GET \
--url https://api.fintoc.com/v2/accounts/{account_id}/movements/{id} \
--header 'Authorization: <api-key>'import requests
url = "https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v2/accounts/{account_id}/movements/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "mov_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"object": "movement",
"account_id": "acc_2rN1bQ8xHvK3mWpYzLd7TfGcRsE",
"amount": 50000,
"balance": 1050000,
"currency": "MXN",
"direction": "inbound",
"mode": "test",
"resource_id": "tr_2sP9cR4yJwM6nXqZaNe8UgHdSt0",
"return_pair_id": null,
"transaction_date": "2026-03-01T12:00:00.000Z",
"type": "transfer"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "Invalid API Key: invalid-*oken"
}
}{
"error": {
"code": "missing_resource",
"message": "Movement not found: mov_2daFu0zqqDtZGJaSi2TGI2Mm1nN"
}
}Parámetros de ruta
Respuesta
The requested movement.
A movement is a single change to the balance of one of your accounts. Fintoc records a movement whenever money enters or leaves the account, for example a transfer, a return, or a fee. Use the direction field to tell whether money entered or left the account, and balance for the resulting balance.
¿Esta página le ayudó?