Start a lease
start_leaseStart leasing a free window or billboard for a brand. The ad (website, name, pitch, logo) is checked first; a refused ad costs nothing. Returns checkoutUrl and leaseId: give checkoutUrl to the person, who pays the monthly price on Stripe within 60 minutes (you can't pay for them, and nothing is charged before they do). No account is needed: the window belongs to the email they pay with. Name, pitch and logo come from the website when left out. Then follow the lease with check_lease.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Prefills Stripe; the window belongs to the email the person pays with | ||
| pitch | No | One line under the name; taken from the website when left out | |
| logoUrl | No | A logo or banner image (https); the website's share image is used when left out | |
| brandUrl | Yes | The brand's website (https; a bare domain gets https:// added) | |
| windowId | Yes | Slot id from find_windows, e.g. "F47-S3" or "B-1234" | |
| brandName | No | Shown on the window; taken from the website when left out | |
| pricingText | No | Optional, e.g. "Free plan, Pro from $19/mo" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| review | Yes | True when a person reviews the ad after payment, before it goes up | |
| status | Yes | ||
| leaseId | Yes | Check progress at /leases/{leaseId} | |
| message | Yes | ||
| expiresAt | Yes | The checkout link stops working after this time (60 minutes) | |
| priceCents | Yes | ||
| checkoutUrl | Yes | Give this to the person: they pay the monthly price on Stripe |