Skip to main content
API v2 is deprecated. This version will be discontinued on December 31, 2026. Please migrate to API v3 for new features, improved security, and continued support.

API Reference

Welcome to the FYATU API reference. This section provides detailed documentation for every endpoint, including request/response schemas, parameters, and examples.

Base URL

All API requests should be made to:
https://api.fyatu.com/api/v2

Authentication

Every request requires two headers:
Business-ID: BUS_your_business_id
Authorization: Bearer sk_live_your_api_key

Getting Your API Credentials

  1. Login to your FYATU account
  2. Go to Business Console
  3. Click on your Issuing App
  4. Navigate to SettingsAPI Keys & Credentials tab
See the Authentication guide for more details.

Request Format

  • All requests should use JSON body format
  • Set Content-Type: application/json for POST/PUT/PATCH requests
  • All timestamps are in ISO 8601 format

Response Format

All responses follow this structure:
Success
{
  "status": "success",
  "statusCode": 200,
  "errors": false,
  "message": "Operation completed successfully",
  "data": { ... }
}
Error
{
  "status": "failed",
  "statusCode": 400,
  "errors": true,
  "message": "Error description",
  "data": []
}

Available Endpoints

Account

Manage your business account and wallet.
MethodEndpointDescription
GET/account/statusGet account information
GET/account/balanceGet wallet balance
GET/account/transactionsList transactions

Cardholders

Create and manage people who receive cards.
MethodEndpointDescription
GET/cardholdersList all cardholders
POST/cardholdersCreate a cardholder
GET/cardholders/{id}Get cardholder details
PATCH/cardholders/{id}Update cardholder
DELETE/cardholders/{id}Delete cardholder

Cards

Issue and manage virtual cards.
MethodEndpointDescription
GET/cardsList all cards
POST/cardsCreate a card
GET/cards/{id}Get card details (with sensitive data)
PUT/cards/{id}Update spending limit
DELETE/cards/{id}Terminate card
GET/cards/{id}/transactionsGet card transactions
POST/cards/{id}/fundAdd funds to card
POST/cards/{id}/unloadWithdraw funds from card
POST/cards/{id}/freezeFreeze card
POST/cards/{id}/unfreezeUnfreeze card

Webhooks

Configure real-time notifications.
MethodEndpointDescription
GET/webhooksGet webhook configuration
POST/webhooksSet webhook URL
POST/webhooks/simulateTest webhook

Pagination

List endpoints support pagination:
ParameterTypeDefaultDescription
pageinteger1Page number
limit or perPageinteger50Items per page (max 100)
Response includes pagination metadata:
{
  "data": {
    "list": [...],
    "pagination": {
      "totalItems": 156,
      "totalPages": 4,
      "currentPage": 1,
      "itemsPerPage": 50
    }
  }
}

Interactive Playground

Each endpoint page includes an interactive playground where you can:
  1. Enter your credentials
  2. Fill in parameters
  3. Execute the request
  4. See the live response
The playground uses the production API. All operations involve real money and real data.

Need Help?