curl --request GET \
--url https://api.fintoc.com/v2/transfer_batches \
--header 'Authorization: <api-key>'import requests
url = "https://api.fintoc.com/v2/transfer_batches"
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/transfer_batches', 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/transfer_batches",
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/transfer_batches"
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/transfer_batches")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v2/transfer_batches")
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": "trbatch_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"object": "transfer_batch",
"amount": 150000,
"authorized_at": "2026-03-01T12:05:00Z",
"created_at": "2026-03-01T12:00:00Z",
"currency": "MXN",
"description": "Supplier payouts March",
"expired_at": null,
"mode": "test",
"partially_succeeded_at": null,
"rejected_at": null,
"settled_amount": 0,
"status": "in_progress",
"succeeded_at": null,
"succeeded_count": 0,
"transfer_count": 3
}
]List transfer batches
Lists the transfer batches of your organization in the live or test mode of the API key used, including the batches created from the Dashboard. Filter by status, or by creation date range with since and until. The list is paginated. Use the starting_after, ending_before, and limit query parameters to page through it. The Link response header carries the URLs to navigate the pages. To read the transfers of a batch, call GET /v2/transfers with the transfer_batch_id query parameter.
curl --request GET \
--url https://api.fintoc.com/v2/transfer_batches \
--header 'Authorization: <api-key>'import requests
url = "https://api.fintoc.com/v2/transfer_batches"
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/transfer_batches', 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/transfer_batches",
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/transfer_batches"
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/transfer_batches")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v2/transfer_batches")
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": "trbatch_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"object": "transfer_batch",
"amount": 150000,
"authorized_at": "2026-03-01T12:05:00Z",
"created_at": "2026-03-01T12:00:00Z",
"currency": "MXN",
"description": "Supplier payouts March",
"expired_at": null,
"mode": "test",
"partially_succeeded_at": null,
"rejected_at": null,
"settled_amount": 0,
"status": "in_progress",
"succeeded_at": null,
"succeeded_count": 0,
"transfer_count": 3
}
]Autorizaciones
Parámetros de consulta
Statuses to filter by. One or more of pending_authorization, rejected, expired, in_progress, succeeded, partially_succeeded, and failed. Returns the batches whose status matches any of the values you provide.
pending_authorization, rejected, expired, in_progress, succeeded, partially_succeeded, failed Lower bound for the creation date. Returns batches created on or after this ISO 8601 datetime in UTC.
"2026-01-01T00:00:00Z"
Upper bound for the creation date. Returns batches created on or before this ISO 8601 datetime in UTC.
"2026-03-31T23:59:59Z"
Cursor that fetches the next page of batches. Use the ID of the last batch from the current page.
"trbatch_2rNxBkOrlHoOYsZTyQYhA0o8Ek0"
Cursor that fetches the previous page of batches. Use the ID of the first batch from the current page.
"trbatch_2rNxBkOrlHoOYsZTyQYhA0o8Ek0"
Maximum number of batches to return per page. Ranges from 1 to 300. Defaults to 30.
50
Respuesta
List of transfer batches for the current mode.
Unique identifier of the transfer batch.
"trbatch_2daFu0zqqDtZGJaSi2TGI2Mm1nN"
Type of the object. Always transfer_batch.
Sum of the amounts of the transfers in the batch, in the smallest currency unit. For MXN this is centavos; CLP has no minor unit.
150000
Time the batch was approved from the Dashboard, as an ISO 8601 datetime in UTC, or null.
"2026-03-01T12:05:00Z"
Time the batch was created, as an ISO 8601 datetime in UTC.
"2026-03-01T12:00:00Z"
Currency of the transfers in the batch. One of CLP, MXN.
CLP, MXN "MXN"
Human-readable label for the batch. Up to 40 characters.
"Supplier payouts March"
Time the batch expired without approval, as an ISO 8601 datetime in UTC, or null.
null
Whether the batch is live or test data.
live, test "test"
Time the batch finished after only some transfers succeeded, as an ISO 8601 datetime in UTC, or null.
null
Time the batch was rejected from the Dashboard, as an ISO 8601 datetime in UTC, or null.
null
Sum of the settled_amount of the transfers in the batch, in the smallest currency unit. For MXN this is centavos; CLP has no minor unit.
0
Lifecycle status of the batch. One of pending_authorization (waiting for approval in the Dashboard), rejected (rejected in the Dashboard), expired (not approved in time), in_progress (approved, with transfers being sent), succeeded (every transfer succeeded), partially_succeeded (some transfers succeeded), or failed (no transfer succeeded).
pending_authorization, rejected, expired, in_progress, succeeded, partially_succeeded, failed "in_progress"
Time every transfer of the batch succeeded, as an ISO 8601 datetime in UTC, or null.
null
Number of transfers in the batch that succeeded.
0
Number of transfers in the batch.
3
¿Esta página le ayudó?