Account
Your plan and credits, and a link to upgrade.
Your plan and credits, and a link to upgrade. 2 tools.
get_account
Every plan. Reads only. Who the user is on Recordful and what their workspace's plan includes: name, email, workspace (name, their role, seats), plan (free or pro, with the subscription's status and when its period ends), AI credits (balance, monthly grant, when they reset), what Pro unlocks and the upgrade link. canUpgrade says whether this user can buy Pro (only a workspace owner, not already on Pro); if so, create_checkout_link gives them a checkout link.
Parameters
None.
Returns user, workspace, plan, subscription (The workspace's newest subscription, null if it never had one), credits, proUnlocks, canUpgrade, upgradeUrl.
create_checkout_link
Every plan. Changes something. A link to Recordful Pro's checkout for the user's workspace: $19 a month, or $108 a year (yearly). Give the user the link to open and pay themselves; nothing is charged until they do. Only the workspace owner can buy, and not when the workspace already has Pro (get_account's canUpgrade). Credit packs aren't for sale.
Parameters
| Parameter | Type | Required | What it is |
|---|---|---|---|
plan | "monthly", "yearly" | yes | "monthly" or "yearly". |
Returns checkoutUrl (Polar's checkout page for this workspace), plan, priceUsd (What the plan costs per period, in US dollars), expiresAt (When the link stops working (ISO date)).