# MD for: https://www.mercadopago.com.uy/developers/en/docs/qr-code-ca/resources/status-order-transaction.md \# Status of an order and a transaction When processing orders with QR Code, it’s important to understand how the processing flow works and which status an order and a transaction can take at any given time. Below, you can view the flow of an order for card payments and then an informative table about each of the possible \`status\`, including their respective \`status\_detail\`. stateDiagram-v2 [*] --> created created --> expired: The processing exceeded the time limit created --> canceled: Canceled via API created --> processed: Successfully processed processed --> refunded: Full refund via API created: created expired: expired canceled: canceled processed: processed refunded: refunded \## Order status Check the list of \`status\` and \`status\_detail\` that an order can take. | \`status\` | \`status\_detail\` | Description | |-------------------|----------------------|-------------| | \`created\` | \`created\` | The order was successfully created. | | \`processed\` | \`processed\` | The order was successfully processed and the payment was credited. | | \`refunded\` | \`refunded\` | The order was refunded. This means the transaction amount was fully returned to the payer. | | \`expired\` | \`expired\` | The order was not paid after the expiration time configured in the order (or 15 minutes by default if no specific time was set). If you want the payment to be made, you will need to create a new order. | ## Transaction status Check the list of \`status\` and \`status\_detail\` that a transaction can take. | \`status\` | \`status\_detail\` | Description | |-------------------|-----------------------------|-------------| | \`created\` | \`created\` | The transaction was successfully created, but it has not yet been processed. This is the initial state of a transaction after it is created. | | \`processed\` | \`accredited\` | The transaction was successfully processed and the amount has been effectively credited. | | \`expired\` | \`expired\` | The transaction has expired. This means it was not completed within the allowed time and was therefore terminated. | | \`refunded\` | \`refunded\` | The order has been refunded. This means the amount of the transaction has been fully returned to the payer. | | \`canceled\` | \`canceled\_by\_api\` | The transaction was canceled via the API and will not be completed. |