Returns

Below are the returns state machine and a description of the related events and statuses.

Events

Event Description
pendingThe return has been created.
sentThe return has been sent to the bank.
processingThe return is being processed and has been added to a file.
executedThe return has been executed by the bank.
receivedThe return has been received from the bank.
rejectedThe return has been rejected.
pending_retryThe file has been rejected by the bank. The return will be sent in a new file.
retriedThe return has been sent in a new file.
reconciledThe return has been reconciled against an account statement's transaction.
partially_reconciledThe return has been partially reconciled against an account statement's transaction.
unreconciledThe return has been unreconciled from any account statement's transaction.

Statuses

Status Description
pendingThe return has been created. This is the initial status for a return corresponding to an incoming payment.
sentThe return has been sent to the bank.
processingThe return is being processed and has been added to a file.
executedThe return has been executed by the bank.
receivedThe return has been received from the bank. This is the initial status for a return corresponding to a payment order.
rejectedThe return has been rejected.
pending_retryThe file has been rejected by the bank. The return will be sent in a new file.

State machine