Payment states and modifications
A payment can have several States. It can change states when a Modification is made.
State | Description |
---|---|
CREATED | The payment has been initiated. |
AUTHORIZED | The user has accepted the payment. |
ABORTED | The payment has been actively stopped by the user. |
EXPIRED | The payment has expired. See Timeouts. |
TERMINATED | The merchant has cancelled the payment before authorization. |
When a payment is initiated it has the state CREATED
.
info
While you can Capture, Cancel and Refund a payment after authorization, this does not change the state of the payment.
A payment will not change state after becoming AUTHORIZED
.
Once a payment is AUTHORIZED
, several modification actions can be made:
Each modification action is defined as a separate endpoint in the API.
The following flow diagram describes when each modification action is applicable.