errors array to know what happened.
Error shape
AUTH-*— authentication and token issuesBS-*— general business / validation errorsGC-*— gift card operationsVC-*— virtual card operations
Domain error codes
Fluz uses prefixed error codes so you can branch on the failing subsystem.
Codes not in this list surface as generic validation or server errors.
Troubleshooting
- Check scope on
AUTH-*. These almost always mean the token was minted without the required scope; mint a new token. AUTH-0002Re-query before retryingGC-*. Offers and stock change frequently — pull a fresh offer and retry.- Re-query before retrying business errors.
GC-0009(stock) and similar mean the world changed — don’t retry with staleDon’t retry validation errors.VC-*andBS-*codes with4xx-like intent will fail identically on retry until you fix the input or balance. - Retry transient server errors with backoff and jitterRetry 5xx / network errors with jitter. Money-moving mutations are de-duplicated; see Idempotency.