get https://zip.co/nz/api/v2.0/pos/order//status
Returns the status of a given instore order. This endpoint is used in a polling scenario when a merchant POS system is awaiting a user confirmation of an order.
The order status can be one of the following:
pending - the order has been created, awaiting a user response
approved - the order has been approved and paid for by the customer. This status is relevant to an order that has been created with the auth flow.
complete - the order has been paid.
declined - the order was declined by the user
expired - the order has timed out.
cancelled The order has been either cancelled prior to the customer approving/declining, or the order has been rolled back by the merchant. This status is relevant to an order that has been created with the auth flow.