Buy credits with USDC (Solana Pay)
buy_credits_usdcCreate a Solana Pay quote to top up this API key with USDC on Solana mainnet. Returns transaction_url, solana_pay_url, amount_usdc and a reference. POST {"account": ""} to transaction_url to get a ready-to-sign base64 transaction; sign and send it. Or show solana_pay_url as a QR code for a human to scan in Phantom. Then call check_usdc_payment. No browser needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Credit pack to buy. | |
| api_key | No | Your ogfetch API key (ogf_...). Optional if the MCP connection is already configured with an Authorization header. |