Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| INFINI_ENV | No | The Infini environment (sandbox or production) | sandbox |
| INFINI_API_KEY | Yes | Your Infini API key | |
| INFINI_SECRET_KEY | Yes | Your Infini secret key |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_payment_order | Create a new payment order in Infini.
Args:
request_id: Unique request ID (UUID recommended)
amount: Order amount (e.g., "100.00")
client_reference: Client reference string
order_desc: Order description
merchant_alias: Custom merchant alias
expires_in: Time to live in seconds (0 for default)
success_url: Success redirect URL
failure_url: Failure redirect URL |
| get_payment_order | Get payment order details by order ID.
Args:
order_id: The order ID to query |
| list_payment_orders | List payment orders with optional filters.
Args:
currency: Filter by currency (USDC/USDT)
status: Filter by order status
page: Page number (1 to n)
page_size: Page size (default 10) |
| reissue_order_token | Reissue checkout URL token for an existing order.
Args:
order_id: The order ID to reissue token for |
| get_supported_currencies | Get list of all supported cryptocurrencies for creating orders. |
| withdraw_funds | Withdraw funds to external wallet.
Args:
chain: Blockchain network name
token_type: Token identifier
amount: Amount to withdraw
wallet_address: Destination wallet address
note: Optional note |
| verify_webhook_signature | Verify webhook signature from Infini.
Args:
body: Raw webhook body string
signature: Signature from webhook header
timestamp: Timestamp from webhook header
webhook_secret: Webhook secret (uses INFINI_SECRET_KEY if not provided) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |