Below are the payment orders state machine and a description of the related events and statuses.
Events
Event
Description
pending_approval
The payment order has been created and is pending approval.
approved
The payment order has been approved.
auto_approved
The payment order has been automatically approved.
processing
The payment order is being processed and added to a payment file.
sent
The payment file including the payment order has been sent to the bank.
executed
The payment order has been executed by the bank.
canceled
The payment order has been canceled.
processing_canceled
The file including the payment order has been canceled.
pending
The payment order has been put on hold by the bank.
pending_retry
The file including the payment order has been rejected by the bank. The payment order will be sent in a new file.
retried
The payment order has been retried.
rejected
The payment order has been rejected by the bank due to incorrect information.
returned
The payment order has been reconciled against a posted return transaction.
reconciled
The payment order has been reconciled with one or multiple transactions.
partially_reconciled
The payment order has been partially reconciled with one or multiple transactions.
unreconciled
The payment order has been unreconciled with one or multiple transactions.
Statuses
Status
Description
pending_approval
The payment order has been created and is pending approval.
approved
The payment order has been approved.
canceled
The payment order has been canceled.
processing
The payment order is being processed and added to a payment file. The payment file is pending approval. In case a payment file is not validated, corresponding payment orders go back to the approved status.
sent
The payment order has been sent to the bank.
executed
The payment order has been executed by the bank.
pending
The payment order has been put on hold by the bank.
rejected
The payment order has been rejected by the bank.
returned
The payment has been returned after having been executed by the bank.