Undefined | No | The SDK is idle. No action has been taken for this userIdentifier yet. | Call run() |
Undefined | Yes | Edge Case / Error: The app tried to start the SDK, but it failed to register (e.g., network drop, script error). | Re-run SDK. |
Pending | Yes | The SDK is actively processing the flow for this user. | Poll getStatus(). Show a loading/processing UI. |
Pending | No | User previously ran SDK but hasn’t finished the process. | Call run(). |
Cancelled | Yes | The process was aborted mid-flight (e.g., user closed a modal, session timed out). | Stop polling. Show a “cancelled” message and offer a button to Re-run SDK. |
Inconclusive | Yes | The response is not able to be determined to pass or fail. | Service can decide to either re-run SDK or treat result as a fail. |
Confirmed | Yes | Terminal State. The process finished successfully. | Stop polling. Display success result and move the user to the next step of your app flow. |
Declined | Yes | Terminal State. The process finished, but the user/action was rejected. | Stop polling. Display declined result/error and handle the rejection gracefully. |