States are the "brain" of the flow. Each state has a type (e.g., State A for PIN entry, State B for Amount entry). Developers define: Where to go if the action is successful. Error State: Where to go if the action fails. Screen Data
Aptra Advance validates the offer (still bookable) and creates an OrderView with a pending status. aptra advance ndc developer-s guide