Skip to main content
If the user doesn’t complete payment within the checkout window, the original session expires and the formation status becomes 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_payment status
  • Clears formation_error
  • Creates a new hosted checkout session
  • Returns the new checkout_url
string
required
UUID of the formation.

Restrictions

This endpoint returns invalid_input if:
  • The formation has already been paid for (payment_status === "paid") — use POST /v1/formation/:id/submit instead
  • The formation has already been submitted for filing (status === "submitted" or "formation_completed")