Skip to main content
Both paths below run in test mode with test money, so there is nothing to verify and nothing to lose. Pick the one that fits how you build:

No-code

Create a product and start selling without writing a line of code.

Code integration

Integrate AgentaOS into your app with the SDK, CLI, or REST API.
Building with Claude Code, Cursor or Codex? Run npx skills add AgentaOS/skills first. The AgentaOS skills teach your agent to set up checkout, subscriptions and webhooks correctly, then ask it to add AgentaOS payments.

No-code

The fastest way to get paid: create a product in the dashboard and share its link.
1

Create a product

In the sidebar, click Products, then click New product. Give it a name and a price, choose one-time or subscription, and save. The product gets its buyer link when you save it.
2

Share your link

Click Copy link and send it anywhere: an email, a chat message, social, or a QR code. Every visitor gets their own checkout, and one link can be paid many times.
3

Get paid

Your buyer pays on the secure checkout by card, with Apple Pay and Google Pay on devices that support them, or by bank transfer on EUR sales. The payment, tax, invoice, and payout are handled for you. Watch it land on Home or under Transactions. To be paid out, add a payout account under Balances → Payout accounts.
Fees and plans are on Pricing.

Code integration

Everything the dashboard does is available over the SDK, CLI, and REST API.
1

Get access and your API key

Sign up at app.agentaos.ai. No card required. Then open Developers → API keys in the sidebar and click Generate Test Key. It is shown once, so copy it now.Test keys are prefixed sk_test_ and only ever touch test-mode data. Prefer the terminal? Skip the key and run agenta login instead.
2

Install and create a checkout

Amounts are in currency units: 49.99 means €49.99, never cents.
3

Take the payment

Open the checkoutUrl. In test mode the page renders the secure card form. Pay with the standard test card:
Only ever type a card number into the checkout page (the secure card form). Never send a card number to any API, in test mode or live.
4

Handle successful payments

After payment the buyer is redirected to your successUrl. For anything that matters (granting access, provisioning, emails), do not rely on the redirect. Listen for the checkout.session.completed webhook on your server instead.

Complete working example

A full Node.js and Express app: create a checkout, and receive the payment event reliably over a signed webhook. Copy, set three env vars, and run.
To run it, you need Node.js 20.6 or later:
  1. Run npm install express @agentaos/pay.
  2. AgentaOS does not deliver webhooks to localhost and only redirects buyers to https addresses, so give port 3000 a public HTTPS address with a tunnel service and set APP_URL to it.
  3. In Settings → Developers → Webhooks, set the webhook URL to the tunnel address plus /webhooks, and copy the signing secret into AGENTAOS_WEBHOOK_SECRET.
  4. Start the server with npx tsx --env-file=.env server.ts. tsx runs the TypeScript file directly, and --env-file loads the .env values.
POST /checkout returns a checkoutUrl. Pay it with the test card, and your /webhooks handler logs the payment.

Next steps

Test mode and testing

How test and live keys differ, and what going live requires.

Checkouts

Checkout sessions and payment links in depth.

Subscriptions

Recurring billing, renewals, and cancellation.

Webhooks

Receive and verify real-time payment events.