Once the zip checkout flow has redirected the customer to your previously defined "redirect_uri", that page should consume the the state of the checkout to determine if it has been approved, referred or declined. If the checkout has been approved, this page should then proceed to charge the customer.
Useful notes
The Charges Response
-
amount DOUBLE
Amount of this charge. This is the amount that will be transferred (if capture=true) from customer to merchant account or ring-fenced if capture=false.
-
captured_amount DOUBLE
Total amount captured for this charge.
-
created_date STRING
The date on which the charge was created
-
currency STRING
Transaction currency. Accepted values are
AUD
NZD
GBP
USD
CAD
ZAR
MXN
AED
SAR
-
id STRING
Transaction ID
-
product STRING
Zip product name
-
interest_free_months INTEGER
Interest free period applied to a transaction in months
-
receipt_number DOUBLE
Transactoin receipt number
-
refunded_amount DOUBLE
Total amount refunded for this charge
-
state STRING
A successful state of the charge is
approved
captured
orauthorised
(For deferred payments)Ensure your system accepts
approved
captured
orauthorised
as valid responses -
customer.id STRING
Unique customer identifier
-
customer.first_name STRING
Customer's first name
-
customer.last_name STRING
Customer's last name
-
customer.email STRING
Customer's email address