Skip to content

Give a customer a free trial

Say "give this customer a 14-day free trial" and get a trialing Subscription with everything the plan grants, and a reminder before it ends.

For developers

A trial starts one Customer on an Offer free for a set number of days. With a card on file it converts on its own; without one, the Success Manager follows up.

For developers

Needs Charge monthly · Open a bank account

What you get

  • 1Subscription in its trial, free for 14 daysSubscription
  • 1everything the Pro Offer grants, from the first dayEntitlement
  • 1reminder before the trial endsMessage
  • 1follow-up task for the Success Manager if no card is on file at the endTask

Your agent does

Offer.trial
You, to your agent

Give Riverside Property a 14-day free trial.

Let this customer try Pro free for two weeks.

Start a trial without a card.

# Offer.trial
curl -X POST https://api.sb/leaseline.app/offers/offer_pro_monthly/trial \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"customer":"customer_riverside","days":14,"card":false}'
import { $ } from 'startup-builder'

await $.Offer.trial({ offer: 'offer_pro_monthly', customer: 'customer_riverside', days: 14, card: false })
npx startup-builder do Offer.trial --json '{"offer":"offer_pro_monthly","customer":"customer_riverside","days":14,"card":false}'
{
  "name": "do",
  "arguments": {
    "code": "return await $.Offer.trial({ offer: 'offer_pro_monthly', customer: 'customer_riverside', days: 14, card: false })"
  }
}

Change it

  • Ask for a card up front next time.
  • Send a reminder three days before it ends.
  • Who is on a trial right now?

Under the hood

Systems
Billing, Success
Nouns
Offer, Subscription, Customer
Events
Offer.trialed
Stripe objects
Subscription