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.

No-code

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

Create a product

Open Catalog → Products and click New product. Give it a name and a price, choose one-time or subscription, and save. Your shareable payment link is generated as you type.
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 (card, Apple Pay, or Google Pay). The payment, tax, invoice, and payout are handled for you. Watch it land under Home or Finance → Payments.

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 go to Settings → Developers → API Keys 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 two env vars, and run.
To run it: npm install express @agentaos/pay, add a webhook endpoint pointing at /webhooks in Settings → Developers → Webhooks and copy its signing secret into AGENTAOS_WEBHOOK_SECRET, then node server.ts. POST /checkout returns a checkoutUrl, pay it with the test card, and your /webhooks handler fires.

Next steps

Test mode and live mode

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.