## GET /checkouts

This endpoint can be used to poll for change to the /checkouts request status while awaiting for the "completed" response. The state can transition to one of the following statuses based on user/system actions:

**new: **Awaiting the user to initiate the transaction, in a QR transaction, this awaits for the QR code to be scanned **pending: **Awaiting for Zip to complete the transaction, in a QR transaction, the payment is being processed **completed:** The customer's funds have been captured **cancel_requested:** The merchant has decided to request for cancellation **cancelled:** Zip has cancelled the transaction, typically preempted by cancel_requested **expired:** The purchase request has expired and can no longer be used

In the event that the state updates to completed a charge object will be present in the payload as seen below:



**Charge**

The charge object states the outcome of the payment.

StatusDescription
**authorised** User has completed payment, and Transaction amount has been authorised
**captured** User has completed payment, and Transaction amount has been captured
**cancelled** Transaction has been voided
**refunded** Transaction has been refunded
**declined** Transaction has been declined, this status does not return a charge ID