Retrieve Account
curl --request GET \
--url https://api.fintoc.com/v1/accounts/{id}import requests
url = "https://api.fintoc.com/v1/accounts/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fintoc.com/v1/accounts/{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/v1/accounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/v1/accounts/{id}"
req, _ := http.NewRequest("GET", url, nil)
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/v1/accounts/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v1/accounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"{\n \"id\": \"acc_nMNejK7BT8oGbvO4\",\n \"object\": \"account\",\n \"name\": \"Cuenta Corriente\",\n \"official_name\": \"Cuenta Corriente Moneda Local\",\n \"number\": \"9530516286\",\n \"holder_id\": \"134910798\",\n \"holder_name\": \"Jon Snow\",\n \"type\": \"checking_account\",\n \"currency\": \"CLP\",\n \"balance\": {\n \"available\": 500000,\n \"current\": 500000,\n \"limit\": 500000\n },\n \"refreshed_at\": \"2020-11-18T18:43:54.591Z\"\n}""{}"Cuentas
Retrieve Account
GET
/
accounts
/
{id}
Retrieve Account
curl --request GET \
--url https://api.fintoc.com/v1/accounts/{id}import requests
url = "https://api.fintoc.com/v1/accounts/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fintoc.com/v1/accounts/{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/v1/accounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/v1/accounts/{id}"
req, _ := http.NewRequest("GET", url, nil)
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/v1/accounts/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v1/accounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"{\n \"id\": \"acc_nMNejK7BT8oGbvO4\",\n \"object\": \"account\",\n \"name\": \"Cuenta Corriente\",\n \"official_name\": \"Cuenta Corriente Moneda Local\",\n \"number\": \"9530516286\",\n \"holder_id\": \"134910798\",\n \"holder_name\": \"Jon Snow\",\n \"type\": \"checking_account\",\n \"currency\": \"CLP\",\n \"balance\": {\n \"available\": 500000,\n \"current\": 500000,\n \"limit\": 500000\n },\n \"refreshed_at\": \"2020-11-18T18:43:54.591Z\"\n}""{}"v1 · Base URL https://api.fintoc.com/v1Encabezados
Fintoc Secret Key
Parámetros de ruta
The id of the Account to get.
Parámetros de consulta
The access token of the Link associated to account to retrieve, returned when creating said Link.
Respuesta
200
Ejemplo:
"acc_nMNejK7BT8oGbvO4"
Ejemplo:
"account"
Ejemplo:
"Cuenta Corriente"
Ejemplo:
"Cuenta Corriente Moneda Local"
Ejemplo:
"9530516286"
Ejemplo:
"134910798"
Ejemplo:
"Jon Snow"
Ejemplo:
"checking_account"
Ejemplo:
"CLP"
Show child attributes
Show child attributes
Ejemplo:
"2020-11-18T18:43:54.591Z"
¿Esta página le ayudó?