Buy Semester Pass
buy_semester_passBuy a Fold Semester Pass for a college student at UCLA, USC, UC Berkeley, or UCSF. The PURCHASER (often a parent) provides their own name + email for the receipt, plus the student's name + email. Returns a Stripe Checkout URL — the purchaser must visit it to complete payment. Once paid, the student gets a separate email with an activation link to fill in their dorm details. campusId, termId and pricing come from list_campuses. Pricing varies by campus and term; the response echoes the priceCents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campus | Yes | Campus ID from list_campuses. | |
| isGift | No | Default true. Set false only if the purchaser IS the student. | |
| termId | Yes | Term ID from list_campuses (e.g. "fall_2026"). | |
| frequency | Yes | Pickup cadence. WEEKLY is the most common choice. | |
| giftMessage | No | Optional short message displayed to the student in the activation email. | |
| studentEmail | Yes | Student email — .edu strongly preferred so the activation link reaches their school inbox | |
| purchaserName | Yes | Full name of the purchaser (parent/sponsor) — appears on the receipt | |
| idempotencyKey | No | OPTIONAL — UUID for safe retry. Identical keys return the EXISTING pass + checkout URL instead of creating a duplicate. Recommended for production agents. | |
| purchaserEmail | Yes | Email of the purchaser — Stripe receipt + thank-you confirmation go here | |
| studentLastName | Yes | Student last name | |
| studentFirstName | Yes | Student first name |