Integration flow
- Create a request for an existing customer. Save the returned customer ID and case ID.
- Collect the information described by
data.requirements.schema. See Dynamic Forms for rendering and validation. - Submit the request with the completed object in
data. Ifdata.initiatedisfalse, complete the missing requirements and submit again. - Follow any hosted steps or actions returned in the case. The required steps vary by provider and customer.
- Listen for webhooks and get the request for its latest saved details. Use Refresh status to check the provider for updates.
data.case.status, not implied by a successful HTTP response. After approval, start a new fiat session for the customer.
Handle the next step
Conditional operations
- Documents: prepare uploads when the schema requests files. Use the proxy upload endpoint only for proxy uploads. Document preview links are optional.
- Hosted verification: open the returned hosted step, then record its submission using its
sequenceIndex. - Additional information: submit an action when the case requests it.
- Confirmation: fetch and submit a confirmation form only when the workflow requires it.
- Drafts and recovery: save partial data to resume later, list previous requests, or reopen a request when
availableActionsincludesedit_and_resubmit.
availableActions returned by the API.
