When creating/retrieving a Routine, Astra will return a status field to describe the current state.
| Status | Description |
|---|---|
requires_user_verification | The user is either in pending, retry, or document state. In order for the routine to run, the user needs to be in approved state. |
pending_account_authorization | The source or destination bank account has not been authorized for use with transfers yet. |
user_suspended | User has been suspended. The routine will be blocked from becoming active. |
active | The routine will run when triggered. |
inactive | The routine has been paused. |
cancelled | The routine was cancelled by the user or Astra admin. (only one-time routines) |
failed | The associated transfer failed, resulting in a failed routine. (only one-time routines) |
completed | The full scope of the routine has been completed and will not run. (only applies to one-time routines) |
A
one-timeRoutine with afailedoruser_suspendedstatus will never change toactive. Aone-timeRoutine with the statuspending_account_authorizationwill change toactiveif the source or destination account is authorized for use within 7 days of the Routine start date.
When a User is in
closedstatus for your client, their Routines at your client, including Routines that pay them, are blocked and will not run again. Transfers those Routines hadn't started yet are cancelled.