Check payment eligibility
curl --request POST \
--url https://api.fintoc.com/v2/payment_intents/check_eligibility \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 100000,
"currency": "CLP",
"sender_account": {
"institution_id": "cl_banco_de_chile",
"holder_id": "111111111"
}
}
'import requests
url = "https://api.fintoc.com/v2/payment_intents/check_eligibility"
payload = {
"amount": 100000,
"currency": "CLP",
"sender_account": {
"institution_id": "cl_banco_de_chile",
"holder_id": "111111111"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 100000,
currency: 'CLP',
sender_account: {institution_id: 'cl_banco_de_chile', holder_id: '111111111'}
})
};
fetch('https://api.fintoc.com/v2/payment_intents/check_eligibility', 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/payment_intents/check_eligibility",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount' => 100000,
'currency' => 'CLP',
'sender_account' => [
'institution_id' => 'cl_banco_de_chile',
'holder_id' => '111111111'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fintoc.com/v2/payment_intents/check_eligibility"
payload := strings.NewReader("{\n \"amount\": 100000,\n \"currency\": \"CLP\",\n \"sender_account\": {\n \"institution_id\": \"cl_banco_de_chile\",\n \"holder_id\": \"111111111\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fintoc.com/v2/payment_intents/check_eligibility")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": 100000,\n \"currency\": \"CLP\",\n \"sender_account\": {\n \"institution_id\": \"cl_banco_de_chile\",\n \"holder_id\": \"111111111\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v2/payment_intents/check_eligibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": 100000,\n \"currency\": \"CLP\",\n \"sender_account\": {\n \"institution_id\": \"cl_banco_de_chile\",\n \"holder_id\": \"111111111\"\n }\n}"
response = http.request(request)
puts response.read_body{
"eligible_payment": true,
"error": null
}Payment intents
Check payment eligibility
Checks whether a payment for the given amount and sender account passes the transfer limits that banks and Fintoc enforce, without creating a payment intent. Only available for CLP payments. Available for organizations on API version 2026-02-01 or later.
POST
/
v2
/
payment_intents
/
check_eligibility
Check payment eligibility
curl --request POST \
--url https://api.fintoc.com/v2/payment_intents/check_eligibility \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 100000,
"currency": "CLP",
"sender_account": {
"institution_id": "cl_banco_de_chile",
"holder_id": "111111111"
}
}
'import requests
url = "https://api.fintoc.com/v2/payment_intents/check_eligibility"
payload = {
"amount": 100000,
"currency": "CLP",
"sender_account": {
"institution_id": "cl_banco_de_chile",
"holder_id": "111111111"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 100000,
currency: 'CLP',
sender_account: {institution_id: 'cl_banco_de_chile', holder_id: '111111111'}
})
};
fetch('https://api.fintoc.com/v2/payment_intents/check_eligibility', 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/payment_intents/check_eligibility",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount' => 100000,
'currency' => 'CLP',
'sender_account' => [
'institution_id' => 'cl_banco_de_chile',
'holder_id' => '111111111'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fintoc.com/v2/payment_intents/check_eligibility"
payload := strings.NewReader("{\n \"amount\": 100000,\n \"currency\": \"CLP\",\n \"sender_account\": {\n \"institution_id\": \"cl_banco_de_chile\",\n \"holder_id\": \"111111111\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fintoc.com/v2/payment_intents/check_eligibility")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": 100000,\n \"currency\": \"CLP\",\n \"sender_account\": {\n \"institution_id\": \"cl_banco_de_chile\",\n \"holder_id\": \"111111111\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v2/payment_intents/check_eligibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": 100000,\n \"currency\": \"CLP\",\n \"sender_account\": {\n \"institution_id\": \"cl_banco_de_chile\",\n \"holder_id\": \"111111111\"\n }\n}"
response = http.request(request)
puts response.read_body{
"eligible_payment": true,
"error": null
}Body
application/json
Response
Result of the eligibility check. When the payment is not eligible, error describes the limit that the payment would exceed.
Was this page helpful?