Stripe integration
Accept credit card payments for monthly subscriptions and one-time credit purchases. All plans are billed monthly — yearly billing is not available.Accepted payment methods
Stripe checkout accepts the following payment methods:- Visa / Mastercard (credit and debit)
- Apple Pay
- Google Pay
- PayPal
Crypto payments are not accepted through Stripe checkout. For USDC payments on Base, see the x402 integration. For per-request crypto payments via the Tempo blockchain, see MPP payments.
Setup
Step 1: Create Stripe account
- Go to Stripe.com
- Create a business account
- Complete verification
Step 2: Get API keys
- Go to Developers → API Keys
- Copy:
- Publishable Key (starts with
pk_) - Secret Key (starts with
sk_)
- Publishable Key (starts with
Step 3: Connect to Agentbot
- Go to Settings → Payments → Stripe
- Enter keys
- Click Connect
Step 4: Configure webhooks
Two webhook endpoints handle Stripe events:- Subscription webhook — handles subscription lifecycle events
- Wallet top-up webhook — handles wallet top-up payments
Subscription webhook
- Go to Developers → Webhooks
- Add endpoint:
https://agentbot.raveculture.xyz/api/stripe/webhook - Select events:
checkout.session.completedcustomer.subscription.createdcustomer.subscription.updatedcustomer.subscription.deletedinvoice.payment_succeededinvoice.payment_failed
- Copy webhook secret and add to Agentbot
Wallet top-up webhook
- Add a second endpoint:
https://agentbot.raveculture.xyz/api/wallet/top-up - Select events:
checkout.session.completed
- Copy webhook secret and add to Agentbot as
STRIPE_WEBHOOK_SECRET
The wallet top-up webhook only processes
checkout.session.completed events where the session metadata type field is set to wallet_top_up. All other checkout events are ignored by this endpoint.Pricing plans
All plans are billed monthly in GBP. A paid subscription is required to provision and use agents — there is no free tier.| Plan | Price | Specs | Key features |
|---|---|---|---|
| Solo | £29/mo | 1 Agent · Mistral 7B | Telegram, BYOK, A2A Bus Access, Basic Analytics |
| Collective | £69/mo | 3 Agents · Llama 3.3 | Everything in Solo + Royalty Split Engine, Mission Control Graph, WhatsApp, Priority support |
| Label | £149/mo | Unlimited · DeepSeek R1 | Everything in Collective + Priority A2A Routing, 24/7 Signal Guard, White-glove staging, Custom integrations, Dedicated account manager |
| Network | £499/mo | Unlimited | Everything in Label + white-label reselling, 16GB RAM |
The billing page displays the Solo, Collective, and Label plans as upgrade options. The Network plan is available by contacting sales.
Enterprise add-ons
Individual add-ons can be purchased on top of any subscription plan. All add-on prices are billed monthly in GBP. To purchase an add-on, contact sales at sales@agentbot.com.| Add-on | Price | Description |
|---|---|---|
| Audit Logs | £199/mo | Full traceability of every agent action and decision |
| Slack Integration | £149/mo | Agents work inside your Slack workspace |
| Salesforce Connector | £349/mo | Sync leads, contacts, and opportunities automatically |
| API Access | £249/mo | Programmatic access to your agents via REST API |
| Custom Integration | £499/mo | Custom connector built for your tools |
| Dedicated Account Manager | £399/mo | Priority support and personalized onboarding |
Add-ons are not available for self-service purchase through Stripe checkout. Use the Contact Sales button on the billing page or email sales@agentbot.com to add any of these to your subscription.
Full Enterprise Suite
The Full Enterprise Suite bundles all add-ons and additional enterprise capabilities at a single price of £4,999/mo. It includes:- Unlimited AI Agents with hierarchical task delegation
- Enterprise SSO/SAML and role-based access control (RBAC)
- Credential isolation and zero-trust security
- Full audit logging and compliance tooling
- Pre-built connectors for Salesforce, Cisco, Google Cloud, Adobe, and CrowdStrike
- Tool use framework for external APIs
- Hardware agnostic deployment (NVIDIA, AMD, Intel support)
- 24/7 priority support with SLA guarantee
- Mission Control dashboard and analytics
Payment methods
The billing page supports two payment methods:- Stripe — pay with card for instant activation
- Tempo Wallet — pay with USDC for on-chain settlement
Checkout
Start a checkout session
To start a subscription checkout, redirect the user to the checkout endpoint with aplan query parameter:
| Parameter | Type | Required | Description |
|---|---|---|---|
plan | string | Yes | One of solo, collective, label, or network |
The
plan parameter uses internal plan IDs. The billing page maps these to display names: solo is shown as “Solo”, collective as “Collective”, and label as “Label”.Admin users (configured via
ADMIN_EMAILS) skip the Stripe checkout flow entirely and are redirected straight to onboarding. No payment is required for admin accounts.The onboarding flow enforces payment before agent deployment. If the user has not completed payment, the deploy button is replaced with a checkout redirect. Attempting to deploy without a confirmed payment redirects the user to
GET /api/stripe/checkout?plan={plan} to complete checkout first.Buy credits
To purchase additional credits, redirect the user to the credits checkout endpoint:| Parameter | Type | Required | Description |
|---|---|---|---|
price | string | Yes | A valid Stripe price ID from the allowed credit price list |
Billing API
Manage billing, subscriptions, and usage programmatically. All billing endpoints require authentication with a valid JWT token.Get billing info
Retrieve your current plan, subscription status, and usage.The billing API returns plan tiers as
starter, pro, and scale with USD pricing. These correspond to the subscription plans available through the billing dashboard. The Stripe checkout endpoint uses a separate set of plan identifiers (solo, collective, label, network) for direct checkout flows.Billing actions
UsePOST /api/billing with an action field to manage your subscription.
| Action | Description |
|---|---|
create-checkout | Create a Stripe checkout session for a plan |
enable-byok | Enable Bring Your Own Key mode for AI usage |
disable-byok | Disable BYOK and return to platform credits |
get-usage | Get current daily usage stats |
buy-credits | Purchase a credit pack |
Create checkout
Start a new Stripe checkout session for a subscription plan. The billing API acceptsstarter, pro, or scale as plan values.
url to complete payment.
Enable BYOK
Enable Bring Your Own Key mode so AI requests use your own API keys instead of platform credits.| Field | Type | Required | Description |
|---|---|---|---|
action | string | Yes | Must be enable-byok |
apiKey | string | Yes | Your API key for the AI provider |
provider | string | Yes | AI provider name (for example openrouter, anthropic, openai) |
Disable BYOK
Switch back to platform credits for AI usage.Get usage
Retrieve your current daily usage statistics.Buy credits
Purchase a credit pack to top up your account balance. Pass one of the available pack sizes.| Field | Type | Required | Description |
|---|---|---|---|
action | string | Yes | Must be buy-credits |
pack | string | Yes | Credit pack size: 50, 200, or 500 |
| Pack size | Credits | Price |
|---|---|---|
50 | 5 | $5 |
200 | 15 | $15 |
500 | 30 | $30 |
Storage upgrade
Upgrade to the Pro plan with 50GB storage via a dedicated checkout endpoint.url to complete the upgrade. On success, the user is redirected to the files dashboard. On cancellation, the user returns to the files dashboard with an error parameter.
| Status | Description |
|---|---|
| 200 | Checkout URL returned |
| 401 | Unauthorized (authentication required) |
| 500 | Stripe not configured or checkout creation failed |
Webhook events
Handle subscription events:Plan mapping
When processingcheckout.session.completed events, the webhook maps the plan value from the session metadata to a subscription tier. The following plans are recognized:
| Metadata value | Mapped plan |
|---|---|
underground | underground |
solo | solo |
collective | collective |
label | label |
network | network |
free. This means the user’s subscription is not activated for agent provisioning — they must complete checkout with a valid plan name.
Wallet top-up
In addition to subscriptions and credit packs, you can use Stripe to add funds directly to your wallet for agent calls. The wallet top-up flow uses a dedicated endpoint that creates a one-time Stripe checkout session.Available amounts
| Amount | Description |
|---|---|
| $5 | 5 agent calls |
| $10 | 10 agent calls |
| $25 | 25 agent calls |
| $50 | 50 agent calls |
Start a wallet top-up
Redirect the user to the wallet top-up endpoint withamount and address query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | No | Amount in cents: 500, 1000, 2500, or 5000. Defaults to 1000. |
address | string | Yes | Wallet address to credit (0x-prefixed, 42 characters). |
url to complete payment. No session authentication is required — the wallet address identifies the recipient.
Example
/dashboard/wallet?top_up=success. On cancellation, the user is redirected to /dashboard/wallet?top_up=cancelled.
Wallet top-up payments are processed as one-time charges, not recurring subscriptions. The amount is credited to the user’s wallet after successful payment via the webhook at
POST /api/wallet/top-up. See the Wallet API reference for full endpoint details.Direct transfer
You can also fund your wallet by sending USDC directly to your wallet address on the Tempo network. Copy your wallet address from the wallet dashboard and transfer funds from any compatible wallet. No Stripe checkout is needed for direct transfers.Troubleshooting
Payments not working
Payments not working
- Verify API keys are correct
- Check webhook is configured
- Ensure products/prices are created in Stripe
Webhook errors
Webhook errors
- Verify webhook secret
- Check webhook URL is accessible
- Review Stripe logs in developer dashboard
410 error on /api/checkout
410 error on /api/checkout
The legacy
/api/checkout endpoint has been deprecated. Use GET /api/stripe/checkout?plan={plan_id} instead.