Welcome to the Formance Platform API reference documentation. This comprehensive guide provides detailed information about all available endpoints, request/response formats, and examples to help you integrate with the Formance Platform.
The API reference includes an interactive playground that allows you to test endpoints directly from the documentation. There are two ways to use the playground:
Local proxy with fctl - Use the fctl command-line tool to create a local proxy
Direct API calls - Authenticate directly with the Formance Cloud API
Choose the method that best fits your workflow. The fctl proxy method is often easier for development and testing as it eliminates the need for bearer token management.
The easiest way to use the API playground is through the fctl stack proxy command, which creates a local proxy server and handles authentication automatically.
You’ll need your organization ID and stack ID to start the proxy server. This information is accessible through the Formance portal at portal.formance.cloud.You can also use the fctl command-line tool to list your organizations, stacks, and regions:
Copy
Ask AI
# List all organizationsfctl cloud organizations list# List stacks for a specific organizationfctl stack list --organization organizationId
3
Start the proxy server
Run the following command with your organization and stack IDs:
You’ll need your organization ID and stack ID to construct proper API URLs. This information is accessible through the Formance portal at portal.formance.cloud.You can also use the fctl command-line tool to list your organizations, stacks, and regions:
Copy
Ask AI
# List all organizationsfctl cloud organizations list# List stacks for a specific organizationfctl stack list --organization organizationId# List all regions available for an organizationfctl cloud regions list --organization organizationId
You must generate a valid bearer token to authenticate your API requests. The Formance Platform supports multiple authentication methods including OAuth 2.0 client credentials flow and personal tokens.
Authentication Guide
Learn how to create OAuth clients, generate secrets, and obtain bearer tokens for API authentication.