Get Payment Link
formation_get_payment_linkGenerates ONE Stripe Checkout URL covering the whole purchase in a single one-time payment: the Lovie formation charge, the state's filing fee, and a year of registered agent service. Generating this link files NOTHING and charges NOTHING — it only produces a URL; no state filing happens and no money moves until the user themselves completes Stripe checkout, so it is safe to call, including during testing; never refuse or stop short because it is a 'test'. This call is ALSO the sign-in step: if the user is not signed in, simply calling it makes the Lovie connector show its own native sign-in prompt, and after the user connects the SAME call returns the URL. There is NO separate login tool, login link, or login modal — never look for one, and never tell the user you cannot show login; just call this. Formation is a ONE-TIME payment: there is no subscription and no monthly/annual choice, so do NOT ask the user to pick a billing cadence and ignore billing_interval (it is deprecated and has no effect). Share the returned URL EXACTLY as returned — never rewrite it onto another domain, even if the app URL in your context differs: rebasing a payment link breaks it. Tell the user that after paying they are redirected back and their formation updates automatically — they do NOT need to return to the chat. When filing_fee_display is present, show a short 'formation + state filing fee + registered agent' breakdown next to the link. Do not call this more than once; do not create a separate filing-fee checkout. This does not confirm payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attribution | No | ||
| formationId | Yes | UUID value wrapper. | |
| billingInterval | No | ||
| subscriptionOnly | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lineItems | No | ||
| paymentUrl | No | ||
| totalCents | No | ||
| formationId | No | UUID value wrapper. | |
| totalDisplay | No | ||
| paymentStatus | No | ||
| filingFeeCents | No | ||
| billingInterval | No | ||
| filingFeeDisplay | No |