PaymentStatus: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
| Reserved || 25 || The payment was completed by the payer, but the amount is still reserved. This means that the payment should be finished (finalized) unless the reservation period expires. | | Reserved || 25 || The payment was completed by the payer, but the amount is still reserved. This means that the payment should be finished (finalized) unless the reservation period expires. | ||
|- | |- | ||
| Canceled || 30 || The payment has been explicitly cancelled by the payer. This is a final status, the payment can no longer be completed. | | Canceled || 30 || The payment has been explicitly cancelled (rejected) by the payer. This is a final status, the payment can no longer be completed. | ||
|- | |- | ||
| Succeeded || 40 || The payment has been fully completed. This is a final status, the payment can no longer be altered. | | Succeeded || 40 || The payment has been fully completed. This is a final status, the payment can no longer be altered. |
Revision as of 19:44, 2 February 2017
Payment status enumeration
This enum indicates the current status a payment.
API usage
This enum is used by the following API endpoints:
Property list
Enum value | Byte / int value | Description |
---|---|---|
Prepared | 10 | The payment is prepared. This means it can be completed unless the payment time window expires. |
Started | 20 | The payment process has been started. This means the payer started the execution of the payment with a funding source. |
InProgress | 21 | The payment process is currently in progress. This means that the communication between Barion and the bank card processing system is currently taking place. No alterations can be made to the payment in this status. |
Reserved | 25 | The payment was completed by the payer, but the amount is still reserved. This means that the payment should be finished (finalized) unless the reservation period expires. |
Canceled | 30 | The payment has been explicitly cancelled (rejected) by the payer. This is a final status, the payment can no longer be completed. |
Succeeded | 40 | The payment has been fully completed. This is a final status, the payment can no longer be altered. |
Failed | 50 | The payment has failed because of unknown reasons. This status is not used at the moment. |
PartiallySucceeded | 60 | This can occur if a complex reservation payment contains multiple transactions, and only some of them are finished. If all transactions are finished, the payment status will change to Succeeded. |
Expired | 70 | The payment was expired. This can occur due to numerous reasons:
This is a final status, the payment can no longer be completed. |