Status list¶
Payment Statuses¶
Payment status defines the stage of transaction. The status can be transitional and final.
Status Code | Final | Description |
---|---|---|
created | Invoice has been created; processing has not started. If Paymega does not return response 201 (Created) HTTP status code on your request, you should admit that the payment invoice creation was failed. | |
expired | ✔ | Invoice hit the lifetime limit without successful processing. |
process_pending | Process still being unknown and may not be known for an extended period. | |
processed | ✔* | Processed successfully. It isn't a final status since the payment can be refunded for different reasons. |
process_failed | ✔ | Processing has failed, may be set when an error occurs and the corresponding payment request has failed. This status is considered final due to the maximum number of attempts has been reached (default—after 5 attempts). |
refund_pending | Refunding is still being unknown and may not be known for an extended period. | |
partially_refunded | ✔ | Successfully refunded amount is less than the invoice amount. |
refunded | ✔ | Successfully refunded in full. |
refund_failed | ✔ | Refunding has been failed or cannot be completed. |
* — The status is considered as final, but the payment can be rejected for additional reasons or recovered (in refand or charjback cases).
Payment Identifiers¶
At different stages of the payment received, the identifiers are processed with different names. Check the relations between them in the diagram below.
Note
Receiver Reference Number (RRN) and Acquirer Reference Number (ARN) are used only for card payments' identification.