List BINs
curl --request GET \
--url https://sandbox-api.fyatu.com/api/v3.20/bins \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.fyatu.com/api/v3.20/bins"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.fyatu.com/api/v3.20/bins', 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://sandbox-api.fyatu.com/api/v3.20/bins",
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: Bearer <token>"
],
]);
$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://sandbox-api.fyatu.com/api/v3.20/bins"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox-api.fyatu.com/api/v3.20/bins")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.fyatu.com/api/v3.20/bins")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"status": 200,
"message": "BINs retrieved",
"data": [
{
"binId": "TESTVISAV",
"bin": "44444440",
"name": "Test Visa Virtual",
"scheme": "VISA",
"issuingCountry": "US",
"currency": "USD",
"formFactor": "VIRTUAL",
"category": "PREPAID",
"issuable": true,
"capabilities": {
"applePay": false,
"googlePay": false,
"threeDS": true
},
"settings": {
"reloadable": true,
"maxCardsPerCardholder": 5,
"cardValidityMonths": 36
}
},
{
"binId": "TESTMCV",
"bin": "55555550",
"name": "Test Mastercard Virtual",
"scheme": "MASTERCARD",
"issuingCountry": "US",
"currency": "USD",
"formFactor": "VIRTUAL",
"category": "PREPAID",
"issuable": true,
"capabilities": {
"applePay": false,
"googlePay": false,
"threeDS": true
},
"settings": {
"reloadable": true,
"maxCardsPerCardholder": 5,
"cardValidityMonths": 36
}
}
],
"pagination": {
"total": 2,
"limit": 2,
"offset": 0,
"hasMore": false
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-11-15T10:00:00Z"
}
}Cards
List BINs
The BINs your business can issue cards on, each with the binId that POST /cards takes. GET /bins. Requires cards:read scope.
GET
/
bins
List BINs
curl --request GET \
--url https://sandbox-api.fyatu.com/api/v3.20/bins \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.fyatu.com/api/v3.20/bins"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.fyatu.com/api/v3.20/bins', 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://sandbox-api.fyatu.com/api/v3.20/bins",
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: Bearer <token>"
],
]);
$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://sandbox-api.fyatu.com/api/v3.20/bins"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox-api.fyatu.com/api/v3.20/bins")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.fyatu.com/api/v3.20/bins")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"status": 200,
"message": "BINs retrieved",
"data": [
{
"binId": "TESTVISAV",
"bin": "44444440",
"name": "Test Visa Virtual",
"scheme": "VISA",
"issuingCountry": "US",
"currency": "USD",
"formFactor": "VIRTUAL",
"category": "PREPAID",
"issuable": true,
"capabilities": {
"applePay": false,
"googlePay": false,
"threeDS": true
},
"settings": {
"reloadable": true,
"maxCardsPerCardholder": 5,
"cardValidityMonths": 36
}
},
{
"binId": "TESTMCV",
"bin": "55555550",
"name": "Test Mastercard Virtual",
"scheme": "MASTERCARD",
"issuingCountry": "US",
"currency": "USD",
"formFactor": "VIRTUAL",
"category": "PREPAID",
"issuable": true,
"capabilities": {
"applePay": false,
"googlePay": false,
"threeDS": true
},
"settings": {
"reloadable": true,
"maxCardsPerCardholder": 5,
"cardValidityMonths": 36
}
}
],
"pagination": {
"total": 2,
"limit": 2,
"offset": 0,
"hasMore": false
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-11-15T10:00:00Z"
}
}Overview
Returns every BIN on your account. Send a BIN’sbinId to POST /cards
to issue a card on it. Only BINs with issuable: true can be issued on right now.
Example
curl https://api.fyatu.com/api/v3.20/bins \
-H "Authorization: Bearer $FYATU_API_KEY"
const resp = await fetch('https://api.fyatu.com/api/v3.20/bins', {
headers: { Authorization: `Bearer ${process.env.FYATU_API_KEY}` },
});
const { data: bins } = await resp.json();
const binId = bins.find((b) => b.issuable && b.scheme === 'VISA')?.binId;
import os, requests
resp = requests.get(
'https://api.fyatu.com/api/v3.20/bins',
headers={'Authorization': f'Bearer {os.environ["FYATU_API_KEY"]}'},
)
bins = resp.json()['data']
bin_id = next(b['binId'] for b in bins if b['issuable'])
Success Response (200)
{
"success": true,
"status": 200,
"message": "BINs retrieved",
"data": [
{
"binId": "TESTVISAV",
"bin": "44444440",
"name": "Test Visa Virtual",
"scheme": "VISA",
"issuingCountry": "US",
"currency": "USD",
"formFactor": "VIRTUAL",
"category": "PREPAID",
"issuable": true,
"capabilities": {
"applePay": false,
"googlePay": false,
"threeDS": true
},
"settings": {
"reloadable": true,
"maxCardsPerCardholder": 5,
"cardValidityMonths": 36
}
}
],
"pagination": {
"total": 1,
"limit": 1,
"offset": 0,
"hasMore": false
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-11-15T10:00:00Z"
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
binId | string | The BIN ID to send as binId to POST /cards |
bin | string | null | The first digits every card on this BIN starts with |
name | string | The BIN’s name |
scheme | string | VISA or MASTERCARD |
issuingCountry | string | null | Two-letter country the cards are issued in |
currency | string | Card currency (USD) |
formFactor | string | VIRTUAL |
category | string | Card category, such as PREPAID |
issuable | boolean | true when cards can be issued on this BIN right now |
capabilities.applePay | boolean | Cards can be added to Apple Pay |
capabilities.googlePay | boolean | Cards can be added to Google Pay |
capabilities.threeDS | boolean | Cards support 3D Secure |
settings.reloadable | boolean | Cards can be funded again after issuance |
settings.maxCardsPerCardholder | integer | null | Active cards one cardholder may hold on this BIN; null means no limit |
settings.cardValidityMonths | integer | null | How long its cards stay valid, in months |
Error Codes
| Code | HTTP | Cause |
|---|---|---|
INSUFFICIENT_SCOPE | 403 | Key lacks cards:read scope |
INTERNAL_ERROR | 500 | Server error |

