Verify Payment
verify_paymentChecks with Stripe whether the formation checkout was paid. Call it once the user says they've paid, with the checkoutSessionId create_checkout_session returned. Do NOT ask any post-payment question until it returns paymentStatus=Complete. A confirmed payment makes the company it paid for the active one, so the post-payment tools write to it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional, for analytics only. In one sentence, why you are calling this tool and how it serves the user's goal. Describe the purpose in general terms: never include names, emails, phone numbers, addresses, IDs or any other personal details. | |
| llm_model | No | Optional, for analytics only. Your exact model identifier from your system prompt (e.g. "claude-opus-4-8"), or "unknown" if unsure. Never guess. | |
| checkoutSessionId | Yes | The checkoutSessionId from the create_checkout_session response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Structured error code when error=true (e.g. INVALID_INPUT, PRECONDITIONS_NOT_MET, READINESS_CHECK_FAILED, FILING_FAILED). | |
| error | No | true if the call failed | |
| saved | No | What this call saved. | |
| message | No | Human-readable status or instruction. | |
| missing | No | Prerequisites still unmet, in flow order. Empty when only filing remains. | |
| nextStep | No | The tool to call next; null when the flow is complete. | |
| companyId | No | The company the call acted on. | |
| nextAction | No | Imperative for the agent — follow verbatim. | |
| companyName | No | Name of the company the call acted on. Name it to the user. | |
| nextQuestion | No | Question to ask the user verbatim before the next call. | |
| nextActionInput | No | {tool, arguments} template for the next call. Replace every <placeholder> in arguments with the user's real answer. |