Documentation Index
Fetch the complete documentation index at: https://docs.arlohealth.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Arlo Health supports two billing modes: pay-per-use and subscription. Understanding these modes is essential for handling the payment gate during consultations.Billing Modes
| Mode | Price | Description |
|---|---|---|
| Pay per use | $30/consultation | Pay only when you need care |
| Subscription | $100/year | Unlimited consultations |
Checking Billing Status
Useget_subscription_status to check the user’s current billing configuration:
Billing Mode Values
| Mode | Description |
|---|---|
NONE | No payment method configured |
PAY_AS_YOU_GO | Pay $30 per consultation |
SUBSCRIPTION | Active subscription |
LEGACY | Grandfathered billing plan from earlier pricing. Treat as SUBSCRIPTION — user has access to consultations without additional payment setup. |
Payment Status Values
| Status | Description |
|---|---|
PENDING | Payment setup in progress |
ACTIVE | Payment method active and valid |
FAILED | Payment failed (card declined, etc.) |
CANCELLED | Subscription cancelled |
ACTIVE_UNTIL_EXPIRY | Cancelled but active until period ends |
Payment Gate
When a consultation reachesPAYMENT_REQUIRED status, the paymentGate object indicates what action is needed:
Payment Types
| Type | Required Action |
|---|---|
pay_per_use | Confirm connection to provider |
subscription_required | Set up payment (subscription or pay per use) |
Pay-Per-Use Flow
Consultation reaches PAYMENT_REQUIRED
Triage is complete and the user is ready to connect with a provider
If the payment hold fails, prompt the user to update their payment method via
create_payment_setup, then retry.Example
Subscription Flow
Example
Stripe Integration
Arlo uses Stripe for payment processing. All payment setup happens through Stripe’s hosted checkout.Checkout Flow
- Call
create_payment_setupto get checkout URL - User opens URL in browser
- Stripe handles card entry securely
- User completes checkout
- Stripe notifies Arlo
- Payment is automatically activated
Security
- Card details never pass through Arlo or your agent
- All payment data handled by Stripe
- PCI compliance maintained by Stripe
Canceling Subscriptions
Usecancel_subscription to cancel an active subscription:
What Happens
- Subscription cancels at end of current billing period
- User retains access until period ends
- Status changes to
ACTIVE_UNTIL_EXPIRY - After period ends, status becomes
CANCELLED
Payment Errors
Common Errors
| Error | Cause | Resolution |
|---|---|---|
payment_hold_failed | Card declined | User updates payment method |
insufficient_funds | Not enough balance | User uses different card |
card_expired | Card has expired | User updates payment method |
subscription_required | No valid subscription | Set up subscription |