failed (with formation_error: "hosted checkout session expired before payment"). Use this endpoint to generate a new checkout URL for the same formation without losing the business info or starting over.
This endpoint:
- Reverts the formation to
awaiting_paymentstatus - Clears
formation_error - Creates a new hosted checkout session
- Returns the new
checkout_url
UUID of the formation.
Restrictions
This endpoint returnsinvalid_input if:
- The formation has already been paid for (
payment_status === "paid") — usePOST /v1/formation/:id/submitinstead - The formation has already been submitted for filing (
status === "submitted"or"formation_completed")