Create Charge
Debits a specified amount from a user’s balance. This action requires authorization from the user via their unique key.
Headers
The user's authorization token. This allows the agent to execute charges against the user's credits.
The unique API key of the agent executing the charge.
A unique, client-generated string to prevent duplicate charges in case of network retries. Recommended to use UUID v4.
Body
The amount to be charged to the user's balance. Represented in decimal units of the specified currency (e.g., 1.50 for $1.50 USD or 1.50 USDC).
0.1
The currency for the charge. Each currency has an independent balance — the user must have sufficient funds in the specified currency. Use USDC for Solana-based payments or USD for fiat.
USDC, USD "USDC"
A brief description of the service or product provided. This will be visible to the user in their transaction history.
255"AI Model Inference - 500 tokens"

