Overview
Lists all payment schemes and networks the facilitator supports. Endpoint:GET https://facilitator.corbits.dev/supported
Purpose
Optional discovery endpoint that allows clients to query the facilitator’s capabilities without making actual payment requests. This is useful for:- Discovering which payment methods are available
- Determining if a specific network is supported
- Retrieving facilitator addresses for different networks
- Building dynamic payment UIs
Request
No request body required. This is a simple GET request:Response
Array of supported payment configurations.
Example Response
Use Cases
1. Network Discovery
Check if a facilitator supports a specific network:2. Get Facilitator Addresses
Retrieve facilitator public keys for different networks:3. Build Payment UI
Dynamically generate payment options based on supported methods:Handler Behavior
When the facilitator receives a/supported request:
- Queries all handlers: Calls
getSupported()on each registered handler - Aggregates results: Combines all supported kinds from all handlers
- Returns list: Provides complete list of capabilities
getSupported() won’t contribute to the response.
Comparison with /accepts
| Feature | /supported | /accepts |
|---|---|---|
| Purpose | Discover capabilities | Enrich requirements |
| Request | No body (GET) | Requires payment requirements (POST) |
| Response | List of supported schemes | Enriched requirements |
| When to use | Client wants to know what’s available | Resource server needs blockchain-specific params |
| Extra data | May include facilitator addresses | Always includes blockchain-specific details |
Example: Check Before Payment
Error Responses
500 Internal Server Error
Facilitator encountered an internal error.Example:
/supported endpoint rarely fails since it doesn’t depend on external blockchain RPC endpoints.
See Also
- POST /accepts - Get enriched payment requirements
- Solana Payments - Solana capabilities
- EVM Payments - EVM capabilities