Get a product
curl --request GET \
--url https://api.fyatu.com/api/v3.20/products/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3.20/products/{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/products/{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/products/{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/products/{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/products/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3.20/products/{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": "Product retrieved",
"data": {
"productId": "prd_01HXYZ1111ABCDEF0001",
"programId": "prg_01HXYZ9876ABCDEF0000",
"name": "Standard VISA Consumer",
"scheme": "VISA",
"cardType": "CONSUMER",
"features": {
"has3DS": true,
"hasApplePay": true,
"hasGooglePay": true,
"hasJIT": false,
"hasSpendControl": false,
"hasMccControl": false
},
"status": "ACTIVE",
"createdAt": "2026-01-10T09:00:00Z"
},
"meta": {
"requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-25T10:00:00Z"
}
}Products
Get Product
Retrieve full details of a card product by ID. GET /products/. Requires accounts:read scope.
GET
/
products
/
{id}
Get a product
curl --request GET \
--url https://api.fyatu.com/api/v3.20/products/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3.20/products/{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/products/{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/products/{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/products/{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/products/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3.20/products/{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": "Product retrieved",
"data": {
"productId": "prd_01HXYZ1111ABCDEF0001",
"programId": "prg_01HXYZ9876ABCDEF0000",
"name": "Standard VISA Consumer",
"scheme": "VISA",
"cardType": "CONSUMER",
"features": {
"has3DS": true,
"hasApplePay": true,
"hasGooglePay": true,
"hasJIT": false,
"hasSpendControl": false,
"hasMccControl": false
},
"status": "ACTIVE",
"createdAt": "2026-01-10T09:00:00Z"
},
"meta": {
"requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-25T10:00:00Z"
}
}Overview
Returns the full details of a single card product — scheme, card type, feature flags, and card lifecycle controls. Products are shared resources — always read from the LIVE database regardless of whether your API key is LIVE or SANDBOX.Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The product ID (prefix prd_) |
Example
curl https://api.fyatu.com/api/v3.20/products/prd_01HXYZ1111ABCDEF0001 \
-H "Authorization: Bearer $FYATU_API_KEY"
const resp = await fetch(
'https://api.fyatu.com/api/v3.20/products/prd_01HXYZ1111ABCDEF0001',
{ headers: { 'Authorization': `Bearer ${process.env.FYATU_API_KEY}` } }
);
const { data: product } = await resp.json();
console.log(product.name, product.scheme, product.controls.isReloadable);
import os, requests
resp = requests.get(
'https://api.fyatu.com/api/v3.20/products/prd_01HXYZ1111ABCDEF0001',
headers={'Authorization': f'Bearer {os.environ["FYATU_API_KEY"]}'}
)
product = resp.json()['data']
print(product['name'], product['controls']['isReloadable'])
Success Response (200)
{
"success": true,
"status": 200,
"message": "Product retrieved",
"data": {
"productId": "prd_01HXYZ1111ABCDEF0001",
"programId": "prg_01HXYZ9876ABCDEF0000",
"name": "Premium VISA Consumer 36m",
"scheme": "VISA",
"cardType": "CONSUMER",
"features": {
"has3DS": true,
"hasApplePay": true,
"hasGooglePay": true,
"hasJIT": false,
"hasSpendControl": true,
"hasMccControl": false
},
"controls": {
"isReloadable": true,
"isOneTimeUse": false,
"cardTTLMonths": 36,
"maxCardsPerCardholder": 5,
"spendingLimit": 1000,
"spendingPeriod": "TRANSAMOUNT"
},
"status": "ACTIVE",
"createdAt": "2026-01-10T09:00:00Z"
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-25T10:00:00Z"
}
}
Field Reference
Core Fields
| Field | Description |
|---|---|
productId | Unique product identifier (prefix prd_) |
programId | The program this product belongs to |
name | Human-readable product name |
scheme | Card network — VISA or MASTERCARD |
cardType | CONSUMER or CORPORATE |
status | ACTIVE or ARCHIVED |
createdAt | ISO 8601 creation timestamp |
features Object
| Field | Type | Description |
|---|---|---|
has3DS | boolean | 3D Secure authentication enabled |
hasApplePay | boolean | Apple Pay tokenisation enabled |
hasGooglePay | boolean | Google Pay tokenisation enabled |
hasJIT | boolean | Just-In-Time funding — your system authorises each spend in real time |
hasSpendControl | boolean | Per-card spend limits are configured |
hasMccControl | boolean | MCC (merchant category) allow/block rules are configured |
controls Object
| Field | Type | Description |
|---|---|---|
isReloadable | boolean | When false, POST /cards/{id}/fund is rejected for all cards under this product |
isOneTimeUse | boolean | When true, a card is automatically terminated after its first settled transaction |
cardTTLMonths | integer | null | Maximum card validity in months from issuance |
maxCardsPerCardholder | integer | null | Maximum number of simultaneously active (non-TERMINATED) cards a cardholder may hold under this product |
spendingLimit | number | Maximum spend per spendingPeriod in the program currency (USD) |
spendingPeriod | string | Period window for the spending limit — TRANSAMOUNT, DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY, or LIFETIME |
Error Codes
| Code | HTTP | Cause |
|---|---|---|
PRODUCT_NOT_FOUND | 404 | Product does not exist or belongs to another business |
INSUFFICIENT_SCOPE | 403 | Key lacks accounts:read scope |
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.
Path Parameters
Product ID (prefix prd_)
⌘I

