Documentation Index
Fetch the complete documentation index at: https://tracefinance-docs-withdrawal-beneficiary-events.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Every request to the Trace FX API must include a valid JSON Web Token (JWT) in theAuthorization header.
During onboarding you receive a client ID and client secret. Use these to obtain an access token from the Trace authentication service.
Details
Obtaining a token
Request an access token from the token endpoint:Using the token
Include the token in theAuthorization header of every request:
Token lifecycle
Tokens are valid for 1 hour (3,600 seconds). Follow these best practices:- Store securely — keep the token in memory after obtaining it.
- Check before use — inspect the
expclaim in the JWT payload to confirm it has not expired. - Rotate proactively — request a new token before the current one expires rather than waiting for a
401response.
Related
- Environments — sandbox and production base URLs
- Quickstart — make your first API call