Get a card
curl --request GET \
--url https://api.fyatu.com/api/v3.20/cards/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3.20/cards/{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/cards/{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/cards/{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/cards/{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/cards/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3.20/cards/{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": "Card retrieved",
"data": {
"id": "crd_01HXYZ5555ABCDEF1111",
"cardholderId": "chl_01HXYZ1234ABCDEF5678",
"productId": "prd_01HXYZ1111ABCDEF0001",
"status": "ACTIVE",
"cardType": "VIRTUAL",
"cardBrand": "VISA",
"maskedPan": "445123******4123",
"last4": "4123",
"expirationDate": "06/2030",
"balance": 100,
"heldAmount": 53.88,
"pendingAuthorizations": [
{
"merchantName": "LOTUS'S 5121 CHALONG",
"mcc": "5411",
"amount": 43.3,
"currency": "USD",
"authorizedAt": "2026-07-08 14:32:10"
},
{
"merchantName": "NIRANAPA BOUTIQUE RESO",
"mcc": "7011",
"amount": 9.52,
"currency": "USD",
"authorizedAt": "2026-07-08 09:15:44"
}
],
"needsReissue": false,
"currency": "USD",
"cvv": "123",
"features": {
"has3DS": true,
"hasApplePay": false,
"hasGooglePay": false,
"hasJIT": false,
"hasSpendControl": true,
"hasMccControl": false,
"isReloadable": true,
"isOneTimeUse": false
},
"spendingLimit": 1000,
"spendingPeriod": "DAILY",
"billingAddress": {
"address": "1234 Main St",
"city": "New York",
"state": "NY",
"zipCode": "10001",
"country": "US"
},
"createdAt": "2026-05-26T10:00:00Z",
"updatedAt": "2026-05-26T10:00:00Z"
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-26T10:00:00Z"
}
}Cards
Get Card
Retrieve full details for a single card by ID. GET /cards/. Requires cards:read scope.
GET
/
cards
/
{id}
Get a card
curl --request GET \
--url https://api.fyatu.com/api/v3.20/cards/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3.20/cards/{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/cards/{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/cards/{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/cards/{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/cards/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3.20/cards/{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": "Card retrieved",
"data": {
"id": "crd_01HXYZ5555ABCDEF1111",
"cardholderId": "chl_01HXYZ1234ABCDEF5678",
"productId": "prd_01HXYZ1111ABCDEF0001",
"status": "ACTIVE",
"cardType": "VIRTUAL",
"cardBrand": "VISA",
"maskedPan": "445123******4123",
"last4": "4123",
"expirationDate": "06/2030",
"balance": 100,
"heldAmount": 53.88,
"pendingAuthorizations": [
{
"merchantName": "LOTUS'S 5121 CHALONG",
"mcc": "5411",
"amount": 43.3,
"currency": "USD",
"authorizedAt": "2026-07-08 14:32:10"
},
{
"merchantName": "NIRANAPA BOUTIQUE RESO",
"mcc": "7011",
"amount": 9.52,
"currency": "USD",
"authorizedAt": "2026-07-08 09:15:44"
}
],
"needsReissue": false,
"currency": "USD",
"cvv": "123",
"features": {
"has3DS": true,
"hasApplePay": false,
"hasGooglePay": false,
"hasJIT": false,
"hasSpendControl": true,
"hasMccControl": false,
"isReloadable": true,
"isOneTimeUse": false
},
"spendingLimit": 1000,
"spendingPeriod": "DAILY",
"billingAddress": {
"address": "1234 Main St",
"city": "New York",
"state": "NY",
"zipCode": "10001",
"country": "US"
},
"createdAt": "2026-05-26T10:00:00Z",
"updatedAt": "2026-05-26T10:00:00Z"
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-26T10:00:00Z"
}
}Overview
Returns the full details of a single card including live balance, full PAN, CVV, masked card number, expiry, and capability flags. Provider-internal fields are never returned.Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The card ID (prefix crd_) |
Example
curl https://api.fyatu.com/api/v3.20/cards/crd_01HXYZ5555ABCDEF1111 \
-H "Authorization: Bearer $FYATU_API_KEY"
const resp = await fetch(
'https://api.fyatu.com/api/v3.20/cards/crd_01HXYZ5555ABCDEF1111',
{ headers: { 'Authorization': `Bearer ${process.env.FYATU_API_KEY}` } }
);
const body = await resp.json();
const card = body.data;
console.log('Status:', card.status);
console.log('Balance:', card.balance, card.currency);
console.log('CVV:', card.cvv);
console.log('Expiry:', card.expirationDate);
import os, requests
resp = requests.get(
'https://api.fyatu.com/api/v3.20/cards/crd_01HXYZ5555ABCDEF1111',
headers={'Authorization': f'Bearer {os.environ["FYATU_API_KEY"]}'}
)
card = resp.json()['data']
print(card['status'], card['balance'], card['cvv'])
Success Response (200)
{
"success": true,
"status": 200,
"message": "Card retrieved",
"data": {
"id": "crd_01HXYZ5555ABCDEF1111",
"cardholderId": "chl_01HXYZ1234ABCDEF5678",
"productId": "prd_01HXYZ1111ABCDEF0001",
"status": "ACTIVE",
"cardType": "VIRTUAL",
"cardBrand": "VISA",
"maskedPan": "445123******4123",
"last4": "4123",
"pan": "4451230000004123",
"expirationDate": "06/2030",
"balance": 100.00,
"heldAmount": 53.88,
"pendingAuthorizations": [
{
"merchantName": "LOTUS'S 5121 CHALONG",
"mcc": "5411",
"amount": 43.30,
"currency": "USD",
"authorizedAt": "2026-07-08 14:32:10"
},
{
"merchantName": "NIRANAPA BOUTIQUE RESO",
"mcc": "7011",
"amount": 9.52,
"currency": "USD",
"authorizedAt": "2026-07-08 09:15:44"
}
],
"needsReissue": false,
"currency": "USD",
"cvv": "123",
"features": {
"has3DS": true,
"hasApplePay": false,
"hasGooglePay": false,
"hasJIT": false,
"hasSpendControl": true,
"hasMccControl": false,
"isReloadable": true,
"isOneTimeUse": false
},
"spendingLimit": 1000.00,
"spendingPeriod": "DAILY",
"billingAddress": {
"address": "1234 Main St",
"city": "New York",
"state": "NY",
"zipCode": "10001",
"country": "US"
},
"createdAt": "2026-05-26T10:00:00Z",
"updatedAt": "2026-05-26T10:00:00Z"
},
"meta": {
"requestId": "req_01HXY123456ABCDEF",
"platform": "Fyatu CaaS",
"timestamp": "2026-05-26T10:00:00Z"
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Card identifier (prefix crd_) |
cardholderId | string | The cardholder this card belongs to |
productId | string | The product the card was issued under |
status | string | CREATING (provisioning), ACTIVE, FROZEN, or TERMINATED |
cardType | string | VIRTUAL or PHYSICAL |
cardBrand | string | VISA or MASTERCARD |
maskedPan | string | BIN-masked PAN — first 6 digits + 6 stars + last 4 (e.g. 445123******4123) |
last4 | string | Last 4 digits of the PAN |
pan | string | Full unmasked card number — only present when the card is provisioned at the provider |
expirationDate | string | Card expiry in MM/YYYY format (e.g. 06/2030) |
balance | number | Available (spendable) card balance in USD fetched from the card provider, net of any pending authorization holds |
heldAmount | number | Total value of pending authorization holds (liens) currently on the card. Reserved but not yet settled — balance already excludes it |
pendingAuthorizations | array | Individual pending authorization holds making up heldAmount (see below). Omitted when there are no active holds |
pendingAuthorizations[].merchantName | string | Merchant that placed the hold |
pendingAuthorizations[].mcc | string | Merchant category code |
pendingAuthorizations[].amount | number | Held amount in USD |
pendingAuthorizations[].currency | string | Currency of the hold (always USD) |
pendingAuthorizations[].authorizedAt | string | When the authorization was placed — UTC YYYY-MM-DD HH:MM:SS |
needsReissue | boolean | true when the provider flags the card for reissue (expired/compromised) and a replacement should be requested |
currency | string | Card currency (always USD) |
cvv | string | Card verification value |
features | object | Card capability flags inherited from the product |
features.has3DS | boolean | 3D Secure enabled |
features.hasApplePay | boolean | Apple Pay tokenisation supported |
features.hasGooglePay | boolean | Google Pay tokenisation supported |
features.hasJIT | boolean | Just-In-Time funding enabled |
features.hasSpendControl | boolean | Spend limit control active |
features.hasMccControl | boolean | MCC (merchant category) control active |
features.isReloadable | boolean | Card can be topped up via POST /cards/{id}/fund |
features.isOneTimeUse | boolean | Card terminates automatically after its first settled transaction |
spendingLimit | number | Spend cap per spendingPeriod in USD |
spendingPeriod | string | Period over which the spend cap applies — DAILY, WEEKLY, MONTHLY, etc. |
billingAddress | object | Billing address registered with the card provider |
billingAddress.address | string | Street address |
billingAddress.city | string | City |
billingAddress.state | string | State or region |
billingAddress.zipCode | string | Postal code |
billingAddress.country | string | Two-letter ISO 3166-1 country code |
createdAt | string | ISO 8601 creation timestamp |
updatedAt | string | ISO 8601 last-update timestamp |
Conditional Fields
| Field | Present when |
|---|---|
balance | Card has been provisioned at the provider |
heldAmount | Card has been provisioned at the provider (0 when no active holds) |
pendingAuthorizations | Card has one or more active authorization holds |
needsReissue | Card has been provisioned at the provider |
cvv | Card has been provisioned at the provider |
pan | Card has been provisioned at the provider |
frozenAt | status is FROZEN |
terminatedAt | status is TERMINATED |
Error Codes
| Code | HTTP | Cause |
|---|---|---|
CARD_NOT_FOUND | 404 | Card does not exist or belongs to another business/environment |
INSUFFICIENT_SCOPE | 403 | Key lacks cards:read scope |
INTERNAL_ERROR | 500 | Server error |
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.
Path Parameters
⌘I

