Formations

Retry formation payment

Regenerate the Stripe Checkout session for a formation whose previous payment attempt expired or failed. Resets the formation to draft and clears any prior doola_error. Refuses if the formation has already been paid for.

post/formations/{id}/retry_payment

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/formations/{id}/retry_payment
  • Auth: API key in header Authorization

Path parameters

idstring required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Response

Formation with new checkout_url

idstring required
objectstring required
status'awaiting_payment' | 'pending' | 'submitted' | 'completed' | 'failed' required
entity_type'LLC' required
statestring required
naics_codestring required
industrystring nullable required
descriptionstring required
responsible_partyobject required
mailing_addressobject required
einstring nullable required
formation_filing_datestring nullable required
formation_filing_numberstring nullable required
doola_errorstring nullable required
stripe_checkout_session_idstring nullable required
submitted_atstring nullable required
created_atstring date-time required
updated_atstring date-time required
doola_company_idstring nullable required
verification_idstring nullable required
payment_status'unpaid' | 'paid' | 'refunded' required
checkout_urlstring nullable

Present when hosted checkout is needed

charged_inlineboolean

True when card-on-file charged inline without redirect

Changes

No recorded changes to this operation across all 2 revisions of this API.