Skip to main content
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

ParameterTypeDescription
idstringThe 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

FieldDescription
productIdUnique product identifier (prefix prd_)
programIdThe program this product belongs to
nameHuman-readable product name
schemeCard network — VISA or MASTERCARD
cardTypeCONSUMER or CORPORATE
statusACTIVE or ARCHIVED
createdAtISO 8601 creation timestamp

features Object

FieldTypeDescription
has3DSboolean3D Secure authentication enabled
hasApplePaybooleanApple Pay tokenisation enabled
hasGooglePaybooleanGoogle Pay tokenisation enabled
hasJITbooleanJust-In-Time funding — your system authorises each spend in real time
hasSpendControlbooleanPer-card spend limits are configured
hasMccControlbooleanMCC (merchant category) allow/block rules are configured

controls Object

FieldTypeDescription
isReloadablebooleanWhen false, POST /cards/{id}/fund is rejected for all cards under this product
isOneTimeUsebooleanWhen true, a card is automatically terminated after its first settled transaction
cardTTLMonthsinteger | nullMaximum card validity in months from issuance
maxCardsPerCardholderinteger | nullMaximum number of simultaneously active (non-TERMINATED) cards a cardholder may hold under this product
spendingLimitnumberMaximum spend per spendingPeriod in the program currency (USD)
spendingPeriodstringPeriod window for the spending limit — TRANSAMOUNT, DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY, or LIFETIME

Error Codes

CodeHTTPCause
PRODUCT_NOT_FOUND404Product does not exist or belongs to another business
INSUFFICIENT_SCOPE403Key lacks accounts:read scope

Authorizations

Authorization
string
header
required

API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

Path Parameters

id
string
required

Product ID (prefix prd_)

Response

Product retrieved

success
boolean
Example:

true

status
integer
Example:

200

message
string
Example:

"Product retrieved"

data
object
meta
object