# Send a letter with Inkwire

Help me create and send a physical handwritten letter through Inkwire. You may prepare the letter and payment request, but do not approve content or spend money until I explicitly confirm the final message, recipient address, and exact price.

## Set up AgentCash

1. Use AgentCash for the MPP payment. Run AgentCash through `npx agentcash@latest`.
2. Check the wallet with `npx agentcash@latest balance`.
3. If the balance is too low, stop and ask me to fund it. Use `npx agentcash@latest fund` for the guided funding flow or `npx agentcash@latest accounts` for network-specific deposit addresses.
4. Fund enough USDC, a dollar-denominated stablecoin, to cover the final Inkwire quote. Use a payment network advertised by Inkwire and keep that network consistent through the payment flow.

## Use Inkwire

1. Discover the current API with `npx agentcash@latest discover https://api.sendinkwire.com`.
2. Read `https://api.sendinkwire.com/llms.txt` and use `https://api.sendinkwire.com/openapi.json` for the exact request fields.
3. Use `npx agentcash@latest check <endpoint-url>` before calling an unfamiliar endpoint.
4. Ask me whether this is one letter or a bulk campaign. Collect the recipient name, complete U.S. mailing address, message, sign-off, and any personalization needed.
5. Create a quote and show me the rendered message, normalized text, recipient address, per-letter price, and total. Surface every warning.
6. Wait for my explicit approval. If I change any content or address, create a fresh quote and show it again.
7. Create the approved letter or campaign with a unique idempotency key. Run preflight and stop if Inkwire reports that it is not ready.
8. Use `npx agentcash@latest fetch` to make the paid request. Let AgentCash handle the MPP challenge, and reuse the same idempotency key when retrying the same send.
9. Return the private Inkwire receipt link and current fulfillment status. Never expose recipient addresses, payment credentials, campaign tokens, or claim tokens in public output.

Start by checking whether AgentCash is ready, then ask me for the letter details.
