Generate a JWT access token for Fyatu API v3.20. POST /auth/token with your businessId, secretKey, and requested scopes.
Documentation Index
Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt
Use this file to discover all available pages before exploring further.
businessId and secretKey) for a JWT access token. This token authenticates all V3.20 API requests. Specify only the scopes your integration needs.
| Property | Value |
|---|---|
| Algorithm | JWT HS256 |
| Expiry | 24 hours (86400 seconds) |
| Refresh window | Up to 5 minutes after expiry |
| Scope | Description |
|---|---|
cards:read | View cards and card transactions |
cards:write | Create, fund, freeze, replace, delete cards |
cardholders:read | View cardholder profiles |
cardholders:write | Create, update, delete cardholders; initiate KYC |
programs:read | View card programs and products |
account:read | View wallet, transactions, pricing, statement |
webhooks:read | View webhook configuration and event types |
webhooks:write | Update webhook URL, regenerate secret, send test |
Authorization header for all protected requests:
| Code | Description |
|---|---|
VALIDATION_ERROR | Missing or invalid request parameters |
AUTH_INVALID_CREDENTIALS | Business not found or secret key mismatch |
AUTH_BUSINESS_INACTIVE | Business account is suspended or inactive |
Your business ID
"N1S0W3Q8P0V1E5M6Q4R3D8Z9"
Your plain-text secret key (shown once at generation)
"sk_biz_..."
client_credentials Scopes to grant. Omit to receive all scopes your business is eligible for.
cards:read, cards:write, cardholders:read, cardholders:write, programs:read, account:read, webhooks:read, webhooks:write