Get a program
curl --request GET \
--url https://api.fyatu.com/api/v3.20/programs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3.20/programs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fyatu.com/api/v3.20/programs/{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.fyatu.com/api/v3.20/programs/{id}",
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://api.fyatu.com/api/v3.20/programs/{id}"
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://api.fyatu.com/api/v3.20/programs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3.20/programs/{id}")
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": "Program retrieved",
"data": {
"programId": "prg_01HXYZ9876ABCDEF0000",
"name": "Fyatu VISA USD",
"description": "Main USD virtual card program",
"cardType": "VIRTUAL",
"cardBrand": "VISA",
"currency": "USD",
"status": "ACTIVE",
"environment": "LIVE",
"limits": {
"spendingLimitPerCard": {
"cents": 500000,
"displayValue": "5000.00"
},
"monthlySpendingLimit": {
"cents": 1000000,
"displayValue": "10000.00"
},
"maxCardLoad": {
"cents": 100000,
"displayValue": "1000.00"
},
"maxCardUnload": {
"cents": 100000,
"displayValue": "1000.00"
}
},
"lowBalanceThreshold": {
"cents": 10000,
"displayValue": "100.00"
},
"stats": {
"totalCards": 142,
"totalCardholders": 38,
"totalTransactions": 1204,
"totalSpend": {
"cents": 842500,
"displayValue": "8425.00"
}
},
"activatedAt": "2026-01-15T10:00:00Z",
"pausedAt": null,
"closedAt": null,
"createdAt": "2026-01-10T09:00:00Z",
"updatedAt": "2026-05-22T14:30:00Z"
},
"meta": {
"requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-22T15:00:00Z"
}
}Get Program
Get full details of a specific card program by ID. GET /programs/. Requires programs:read scope.
GET
/
programs
/
{id}
Get a program
curl --request GET \
--url https://api.fyatu.com/api/v3.20/programs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3.20/programs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fyatu.com/api/v3.20/programs/{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.fyatu.com/api/v3.20/programs/{id}",
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://api.fyatu.com/api/v3.20/programs/{id}"
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://api.fyatu.com/api/v3.20/programs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3.20/programs/{id}")
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": "Program retrieved",
"data": {
"programId": "prg_01HXYZ9876ABCDEF0000",
"name": "Fyatu VISA USD",
"description": "Main USD virtual card program",
"cardType": "VIRTUAL",
"cardBrand": "VISA",
"currency": "USD",
"status": "ACTIVE",
"environment": "LIVE",
"limits": {
"spendingLimitPerCard": {
"cents": 500000,
"displayValue": "5000.00"
},
"monthlySpendingLimit": {
"cents": 1000000,
"displayValue": "10000.00"
},
"maxCardLoad": {
"cents": 100000,
"displayValue": "1000.00"
},
"maxCardUnload": {
"cents": 100000,
"displayValue": "1000.00"
}
},
"lowBalanceThreshold": {
"cents": 10000,
"displayValue": "100.00"
},
"stats": {
"totalCards": 142,
"totalCardholders": 38,
"totalTransactions": 1204,
"totalSpend": {
"cents": 842500,
"displayValue": "8425.00"
}
},
"activatedAt": "2026-01-15T10:00:00Z",
"pausedAt": null,
"closedAt": null,
"createdAt": "2026-01-10T09:00:00Z",
"updatedAt": "2026-05-22T14:30:00Z"
},
"meta": {
"requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-22T15:00:00Z"
}
}Overview
Returns the full details of a single card program, including spending limits, balance thresholds, and live statistics.Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The program ID (prefix prg_) |
Example
curl https://api.fyatu.com/api/v3.20/programs/prg_01HXYZ9876ABCDEF0000 \
-H "Authorization: Bearer $FYATU_API_KEY"
const resp = await fetch(
'https://api.fyatu.com/api/v3.20/programs/prg_01HXYZ9876ABCDEF0000',
{ headers: { 'Authorization': `Bearer ${process.env.FYATU_API_KEY}` } }
);
const { data: prog } = await resp.json();
console.log(prog.name, prog.status);
console.log('Spend limit per card:', prog.limits.spendingLimitPerCard.displayValue);
console.log('Total spend:', prog.stats.totalSpend.displayValue);
import os, requests
resp = requests.get(
'https://api.fyatu.com/api/v3.20/programs/prg_01HXYZ9876ABCDEF0000',
headers={'Authorization': f'Bearer {os.environ["FYATU_API_KEY"]}'}
)
prog = resp.json()['data']
print(prog['name'], prog['status'])
print('Spend limit per card:', prog['limits']['spendingLimitPerCard']['displayValue'])
print('Total spend:', prog['stats']['totalSpend']['displayValue'])
Success Response (200)
{
"success": true,
"status": 200,
"message": "Program retrieved",
"data": {
"programId": "prg_01HXYZ9876ABCDEF0000",
"name": "Fyatu VISA USD",
"description": "Main USD virtual card program",
"cardType": "VIRTUAL",
"cardBrand": "VISA",
"currency": "USD",
"status": "ACTIVE",
"environment": "LIVE",
"limits": {
"spendingLimitPerCard": {
"cents": 500000,
"displayValue": "5000.00"
},
"monthlySpendingLimit": {
"cents": 1000000,
"displayValue": "10000.00"
},
"maxCardLoad": {
"cents": 100000,
"displayValue": "1000.00"
},
"maxCardUnload": {
"cents": 100000,
"displayValue": "1000.00"
}
},
"lowBalanceThreshold": {
"cents": 10000,
"displayValue": "100.00"
},
"stats": {
"totalCards": 142,
"totalCardholders": 38,
"totalTransactions": 1204,
"totalSpend": {
"cents": 842500,
"displayValue": "8425.00"
}
},
"kycMode": "MANAGED",
"activatedAt": "2026-01-15T10:00:00Z",
"pausedAt": null,
"closedAt": null,
"createdAt": "2026-01-10T09:00:00Z",
"updatedAt": "2026-05-22T14:30:00Z"
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-22T15:00:00Z"
}
}
Field Reference
| Field | Description |
|---|---|
programId | Unique program identifier (prefix prg_) |
cardType | Always VIRTUAL |
cardBrand | VISA or MASTERCARD |
currency | ISO 4217 currency code for cards issued under this program |
status | ACTIVE, PAUSED, or CLOSED |
limits.spendingLimitPerCard | Maximum lifetime spend allowed per card |
limits.monthlySpendingLimit | Maximum spend across all cards in a calendar month |
limits.maxCardLoad | Maximum single load amount per card (null = unlimited) |
limits.maxCardUnload | Maximum single unload amount per card (null = unlimited) |
lowBalanceThreshold | Program ledger balance that triggers a PROGRAM_BALANCE_LOW webhook event |
stats.totalCards | Total number of cards ever issued under this program |
stats.totalCardholders | Total number of unique cardholders |
stats.totalTransactions | Total number of transactions processed |
stats.totalSpend | Cumulative spend across all cards |
kycMode | KYC verification mode for cardholders: MANAGED (Fyatu-managed async KYC), SHARED (your pre-verified docs, instant APPROVED), or MINIMAL (no KYC, instant WAIVED) |
activatedAt | When the program was activated; null if not yet active |
pausedAt | When the program was last paused; null if never paused |
closedAt | When the program was closed; null if not closed |
Error Codes
| Code | HTTP | Cause |
|---|---|---|
PROGRAM_NOT_FOUND | 404 | Program does not exist or belongs to another business/environment |
INSUFFICIENT_SCOPE | 403 | Key lacks programs:read scope |
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.
Path Parameters
Program ID (prefix prg_)
⌘I

