The getStatus API is used to obtain the status of a transaction.
The list of Status and their meaning are described in the tables bellow.
See Integration Guidelines for full detail about the Status evolution.
Web
| transactionStatus | SubStatus | Meaning |
|---|---|---|
| Initialized | Initialize has been successfully called, the journey URL hasn't been opened | |
| Initialized_to_retry | Initialize has been called with missing or empty mandatory fields. Fix the request and retry | |
| Undefined | Journey is ongoing | |
| Aborted | Journey has been abandoned by the customer | |
| Refused | Journey has been fully done but refused by Cofidis | |
| Error | A technical anomaly happened during Journey | |
| pending | Journey has been fully done, but the final decision is on standby for manual check. | |
| to_confirm | Journey has been fully done and accepted by Cofidis. You need to call the confirm method to continue. |
|
| confirm_refused | Confirm has been called, but the transaction could not be accepted because the payment method did not allow the amount to be reserved. This occurs in the case of credit line reuse, for which the status does not allow the transaction to be completed. |
|
| authorized | Confirm has been successfully called in "Validate" mode. The transaction is authorized for a limited time. Or a partial amount of the transaction has been canceled |
|
| validated | Confirm has been successfully called in "Immediate" mode Or validate has been successfully called in "Validate" mode Or a partial amount of the transaction has been refunded |
|
| Refunded | Whole amount has been refunded using refund | |
| Canceled | Whole amount has been canceled using cancel | |
| <api_name>_failed | Can be linked to: “Confirm”, “Validate”, “Cancel”, “Refund” API has been called, but instruction couldn't be executed. Please contact Cofidis with the transaction details |
|
| <api_name>_to_retry | Can be linked to: “Confirm”, “Validate”, “Cancel” API has been called with missing or empty mandatory fields. Fix the request and retry |
Retail
| transactionStatus | SubStatus | Meaning |
|---|---|---|
| Initialized | Initialize has been successfully called, the journey URL hasn't been opened | |
| Initialized_to_retry | Initialize has been called with missing or empty mandatory fields. Fix the request and retry | |
| Undefined | Journey is ongoing | |
| Aborted | Journey has been abandoned by the customer | |
| Abandonned | Journey has been abandoned by Cofidis | |
| Refused | Journey has been fully done but refused by Cofidis | |
| Error | A technical anomaly happened during Journey | |
| to_complete | Documents needed for decision missing or incomplete | |
| pending | to_examine | Transaction is being analyzed by Cofidis. |
| pending | preapproved | Transaction has been approved by Cofidis |
| pending | signed | Transaction has been validated and signed by customer |
| to_deliver | Transaction is Validated, cofidis is waiting for delivery confirmation to trigger the financing | |
| delivered | Delivery has been confirmed by merchant, Financing has been triggered | |
| accepted | Transaction is validated |
| ResponseCode | ResponseMessage | Comment |
|---|---|---|
| 000 | API Success | |
| 022 | TransactionKey does not exist | The pair “merchantTransactionID”, “merchantTransactionDate” does not exist for this partner |