Retrieves the details of a checkout that has previously been created. Supply the unique checkout ID that was returned from your previous request, and Zip will return the corresponding checkout information.
This endpoint is often used to validate the status of a checkout. This can be verified based on the following values returned in the state
attribute:
States returned for AUD Transactions
created
: This is the initial state of a checkout that that has been initiated
approved
: This state is returned when a checkout has been approved by customers
authorized
: Indicates that a Zip AU checkout has been charged with delayed capture, i.e with capture:false
completed
: Indicates that a Zip AU checkout has been completed and captured.
States returned for USD Transactions
created
: This is the initial state of a checkout that that has been initiated
approved
: This state is returned when a checkout has been approved by customers
completed
: Indicates that a checkout has been completed. This state is returned for checkouts completed via immediate capture and delayed capture.
States returned for NZD Transactions
created
: This is the initial state of a checkout that that has been initiated
approved
: This state is returned when a checkout has been approved by customers. This state is also returned for checkouts completed with delayed capture.
completed
: Indicates that a checkout has been completed. This state is returned for checkouts completed via immediate capture only for NZD transactions.