Retrieve Refresh Intent
curl --request GET \
--url https://api.fintoc.com/v1/refresh_intents/{id}import requests
url = "https://api.fintoc.com/v1/refresh_intents/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fintoc.com/v1/refresh_intents/{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/refresh_intents/{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/refresh_intents/{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/refresh_intents/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v1/refresh_intents/{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\": \"ri_2dXqkOKkS9mOvnaW\",\n \"object\": \"refresh_intent\",\n \"refreshed_object\": \"link\",\n \"refreshed_object_id\": \"link_nzwA3XWYiZkg4ojK\",\n \"status\": \"succeeded\",\n \"created_at\": \"2021-08-23T18:22:46.792Z\",\n \"type\": \"only_last\"\n}""{\n \"error\": {\n \"type\": \"invalid_request_error\",\n \"message\": \"Invalid access token for link: link_nzwA3XWYiZkg4ojK_token_*********************kP68\",\n \"code\": \"invalid_link_token\",\n \"param\": \"link_token\",\n \"doc_url\": \"https://docs.fintoc.com/reference#errores\"\n }\n}"Refresh intents
Retrieve Refresh Intent
GET
/
refresh_intents
/
{id}
Retrieve Refresh Intent
curl --request GET \
--url https://api.fintoc.com/v1/refresh_intents/{id}import requests
url = "https://api.fintoc.com/v1/refresh_intents/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fintoc.com/v1/refresh_intents/{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/refresh_intents/{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/refresh_intents/{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/refresh_intents/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v1/refresh_intents/{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\": \"ri_2dXqkOKkS9mOvnaW\",\n \"object\": \"refresh_intent\",\n \"refreshed_object\": \"link\",\n \"refreshed_object_id\": \"link_nzwA3XWYiZkg4ojK\",\n \"status\": \"succeeded\",\n \"created_at\": \"2021-08-23T18:22:46.792Z\",\n \"type\": \"only_last\"\n}""{\n \"error\": {\n \"type\": \"invalid_request_error\",\n \"message\": \"Invalid access token for link: link_nzwA3XWYiZkg4ojK_token_*********************kP68\",\n \"code\": \"invalid_link_token\",\n \"param\": \"link_token\",\n \"doc_url\": \"https://docs.fintoc.com/reference#errores\"\n }\n}"v1 · Base URL https://api.fintoc.com/v1Encabezados
Fintoc Secret Key
Parámetros de ruta
The id of the Refresh Intent to get.
Parámetros de consulta
The access token of the Link that holds the refresh intent to retrieve, returned when creating said Link.
¿Esta página le ayudó?