# Guides and recipes

> Step-by-step guides with complete code for Anytime Capital Payments: Next.js checkout, webhooks, refunds, reconciliation, subscriptions, usage and stablecoins.

Source: https://anytime-capital.com/docs/guides · Markdown: https://anytime-capital.com/docs/guides.md · All docs: https://anytime-capital.com/docs/llms-full.txt

Each guide is a whole task, start to finish, with code you can paste and run. They use only the endpoints and events the [API reference](https://anytime-capital.com/docs/payments.md) documents.

## Take payments

- [Accept a payment in Next.js](https://anytime-capital.com/docs/nextjs-checkout.md): A payment link per order, a redirect, and a verified webhook that marks it paid.
- [Verify webhooks](https://anytime-capital.com/docs/webhook-signatures.md): Express, Next.js, Flask, FastAPI and PHP handlers that check the signature on the raw body.
- [Issue refunds safely](https://anytime-capital.com/docs/refund-safely.md): Refunds that happen exactly once, with retries and approvals.
- [Take USDC and USDT](https://anytime-capital.com/docs/accept-stablecoins.md): Switch stablecoins on and keep each transaction with its order.

## Bill

- [Sell subscriptions](https://anytime-capital.com/docs/sell-subscriptions.md): Plans, coupons, plan changes and access kept in step by webhook.
- [Bill usage with meters](https://anytime-capital.com/docs/bill-usage-with-meters.md): Send usage in safe batches and show customers what they've used.

## Money and books

- [Reconcile payouts nightly](https://anytime-capital.com/docs/reconcile-payouts.md): A day's payments, refunds and payouts as a CSV, checked against your bank.
- [Sync to QuickBooks or Xero](https://anytime-capital.com/docs/accounting-sync.md): How each payment, fee, refund and payout posts to your books, automatically.

## Move and connect

- [Switch from Stripe](https://anytime-capital.com/docs/switch-from-stripe.md): Import your catalog and customers and move subscribers without double charges.
- [Import from Shopify](https://anytime-capital.com/docs/import-from-shopify.md): Products and variants, customers and discount codes, with read-only access.
- [Import from WooCommerce](https://anytime-capital.com/docs/import-from-woocommerce.md): Products and variations, customers and coupons, with a read-only key.
- [Import from Square](https://anytime-capital.com/docs/import-from-square.md): Your item catalog and customer directory, with an access token.
- [Import a CSV file](https://anytime-capital.com/docs/import-from-csv.md): Customers or products from any spreadsheet, or a Wix, Squarespace or Etsy export.
- [Shopify](https://anytime-capital.com/docs/shopify.md): Card payments at your Shopify checkout (waiting for Shopify's approval).
- [WooCommerce](https://anytime-capital.com/docs/woocommerce.md): The plugin: an API key, a signed webhook, refunds from orders.
- [Zapier](https://anytime-capital.com/docs/zapier.md): No-code automations on payments, invoices and customers (coming soon).

## With AI

- [AI agents hub](https://anytime-capital.com/docs/build-with-ai.md): Connect Claude, Cursor or VS Code to your account through the MCP server.
- [Build a custom agent](https://anytime-capital.com/docs/mcp-custom-agents.md): Call the MCP server from your own agent over HTTP.

---

Anytime Capital is a fintech company, not a bank. Payment processing, banking and payout services are provided by Anytime Capital's licensed partners. Rates shown are for US card payments; international cards, currency conversion and disputes may carry additional fees shown in your dashboard before you accept a payment.
