get_cost_seg_payment_link
Generate a Stripe Checkout URL for a human buyer to purchase a Cost Seg Smart cost segregation study. Returns a payment_link_url plus the study cost, property metadata, and a liability disclaimer naming the calling agent. The buyer must review the URL and authorize payment in their browser — this tool does not charge a card directly. Always call get_cost_seg_quote first and confirm the price with the buyer before generating the link. Side effect: creates a real Stripe Checkout Session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Optional. Property ZIP code (5-digit or ZIP+4). | |
| city | No | Optional. Property city. Used for the report cover page and metro-specific cost adjustments. | |
| name | No | Optional. Buyer's full name for the report cover page. | |
| sqft | No | Optional. Building square footage. Improves cost-per-square-foot accuracy in the final report. | |
| state | No | Optional. Two-letter US state code (e.g. 'CA', 'TX'). Used for state-tax adjustments where applicable. | |
| address | No | Optional. Property street address. Improves report accuracy via county parcel data lookup post-purchase. | |
| bedrooms | No | Optional. Number of bedrooms (residential only). | |
| bathrooms | No | Optional. Number of bathrooms (residential only). Half-baths count as 0.5. | |
| year_built | No | Optional. Year the property was originally constructed. Drives era-specific component cost adjustments. | |
| buyer_email | No | Optional. Pre-fills the email field on the Stripe Checkout page. If omitted, Stripe collects it from the buyer at checkout. | |
| property_type | Yes | Property type identifier. Must match one of the enum values supported by get_cost_seg_quote. | |
| purchase_price | Yes | Property purchase price in US dollars. Minimum $25,000. Pricing tier is computed from this value. | |
| acquisition_date | No | Strongly recommended. ISO 'YYYY-MM-DD'. The date the buyer PURCHASED the property (closing/recorded transfer date), which may differ from placed_in_service_date. Both dates together set the bonus-depreciation rate; omitting both makes the study assume TODAY, which yields the maximum rate and holds the order for human review. Ask the buyer. | |
| agent_attribution | No | Optional. Overrides the X-Agent-Name request header. Use the user-visible name of your agent (e.g. 'Claude', 'ChatGPT', 'Cursor') so the buyer's checkout disclaimer correctly identifies who prepared the order. Establishes a chargeback-defense paper trail. | |
| placed_in_service_date | No | Strongly recommended. ISO 'YYYY-MM-DD'. The date the property was placed in service (available for rent or use). Together with acquisition_date this determines the bonus-depreciation RATE, which is the single largest driver of the Year-1 deduction. If you omit both dates the study assumes TODAY, which yields the maximum bonus rate — the order is then held for human review rather than delivered. Ask the buyer for this date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Present only when the property is in the institutional custom-quote tier (purchase_price >= $25M). | |
| message | No | Present only for the institutional tier. Human-readable explanation to surface to the buyer. | |
| currency | No | Always 'USD' when present. | |
| next_step | No | Human-readable instruction for the agent's next action. | |
| agent_name | No | Agent name as it appears in the buyer's checkout disclaimer. | |
| disclaimer | No | Full liability disclaimer embedded in the Stripe Checkout description. Show this to the buyer alongside the link. | |
| study_cost | No | Study cost in USD the buyer will be charged. Present only for fixed-price tiers. | |
| contact_email | No | Present only for the institutional tier. Route the buyer here for a custom-scoped engagement quote. | |
| property_type | No | Echo of the requested property_type. | |
| purchase_price | No | Echo of the requested purchase_price. | |
| agent_order_ref | No | Internal correlation ID for this agent-initiated order. | |
| payment_link_url | No | Stripe Checkout URL for the buyer to click. Null for the institutional custom-quote tier — when null, see contact_email. | |
| stripe_session_id | No | Stripe Checkout Session ID (cs_live_... or cs_test_...). Present only when payment_link_url is non-null. | |
| property_type_label | No | Human-readable property type label. |