curl --request GET \
--url https://api.fintoc.com/v1/payouts/{id}/resources \
--header 'Authorization: <api-key>'import requests
url = "https://api.fintoc.com/v1/payouts/{id}/resources"
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/v1/payouts/{id}/resources', 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/payouts/{id}/resources",
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/v1/payouts/{id}/resources"
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/v1/payouts/{id}/resources")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v1/payouts/{id}/resources")
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": "pi_BO381oEATXonG6bj",
"object": "payment_intent",
"amount": 550000,
"created_at": "2026-03-04T11:32:45.466Z",
"currency": "CLP",
"mode": "live",
"recipient_account": {
"holder_id": "111111111",
"institution_id": "cl_banco_estado",
"number": "987654321",
"type": "checking_account"
},
"reference_id": null,
"sender_account": {
"holder_id": "111111111",
"institution_id": "cl_banco_de_chile",
"number": "123456789",
"type": "checking_account"
},
"status": "succeeded",
"transaction_date": "2026-03-04T11:33:15.474Z",
"widget_token": null
}
]List payout resources
Lists the resources that a payout disburses or discounts: payment intents, charges, or refunds. The response item schema depends on resource_type: payment_intent returns payment intents, charge returns charges, and refund and refund_adjustment return refunds.
curl --request GET \
--url https://api.fintoc.com/v1/payouts/{id}/resources \
--header 'Authorization: <api-key>'import requests
url = "https://api.fintoc.com/v1/payouts/{id}/resources"
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/v1/payouts/{id}/resources', 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/payouts/{id}/resources",
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/v1/payouts/{id}/resources"
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/v1/payouts/{id}/resources")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v1/payouts/{id}/resources")
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": "pi_BO381oEATXonG6bj",
"object": "payment_intent",
"amount": 550000,
"created_at": "2026-03-04T11:32:45.466Z",
"currency": "CLP",
"mode": "live",
"recipient_account": {
"holder_id": "111111111",
"institution_id": "cl_banco_estado",
"number": "987654321",
"type": "checking_account"
},
"reference_id": null,
"sender_account": {
"holder_id": "111111111",
"institution_id": "cl_banco_de_chile",
"number": "123456789",
"type": "checking_account"
},
"status": "succeeded",
"transaction_date": "2026-03-04T11:33:15.474Z",
"widget_token": null
}
]Parámetros de consulta
Type of resources to list. One of payment_intent (payment intents the payout disburses), charge (charges the payout disburses), refund (refunds discounted from the payout amount), or refund_adjustment (refund amounts the payout credits back after a failed refund).
charge, payment_intent, refund, refund_adjustment Respuesta
Paginated list of the payout's resources, with the item schema matching resource_type. The Link and X-Total-Count headers carry the pagination information.
- Option 1
- Option 2
- Option 3
Options specific to the payment type. For card payments, the object contains a card object. For cash payments, the object contains a cash object with the reference_number, barcode_url, voucher_url, and notification_preferences of the payment. For bank transfers, the object is empty.
Show child attributes
Show child attributes
{}
Status of the payment intent. One of created (the customer has not started the payment), in_progress (the customer is paying), succeeded (the money reached the recipient account), rejected (the institution rejected the transfer), failed (the payment could not be completed), expired (the payment intent expired before being paid), or pending (the final status is not yet known; only used if your organization has the pending status enabled).
created, failed, succeeded, rejected, in_progress, pending, expired "succeeded"
¿Esta página le ayudó?