Testing

Plugin icon

Web checkout API

Give your shoppers the option to pay with Zip on your web platform with our web checkout solution.

Develop and validate your Zip integration using our sandbox environment before moving to production.

The sandbox environment provides a safe way to simulate the complete checkout experience without processing real payments.


Test Toolkit

The Zip Sandbox Toolkit allows you to create, manage and test customer accounts without contacting Zip Support.


Using the toolkit, you can:

  • Create sandbox customer accounts
  • Manage existing test accounts
  • Top up balances

Test Customer Accounts

Use the Sandbox Toolkit to create customers for common testing scenarios, including:

  • Approved customers
  • Declined applications
  • Referred applications
  • Existing customers
  • New customer sign-up

Recommended Testing Flow

  1. Create a sandbox customer using the Toolkit.
  2. Create a checkout using the Sandbox API.
  3. Complete the checkout using the generated customer.
  4. Create a charge.
  5. Verify the response.
  6. Test refunds and additional payment scenarios.

Common Test Scenarios

ScenarioExpected Result
Existing customerApproved
New approved customerApproved
New declined customerDeclined
RefundRefund created

Field Test Data
Phone A valid U.S mobile phone number
Email Can be real or fake valid email address (‘@example.com’ for fake)
Verification Code Code received via SMS to valid U.S mobile phone number
Name Anything
Address Anything valid
Birthdate Anything 18+ years old
Billing Address Anything valid
Card Holder Name Anything
Card Number 4242 4242 4242 4242
Expiration date 02 / 22
CVC 222
Field Test Data
Phone A valid GB mobile phone number
Email Can be real or fake valid email address (‘@example.com’ for fake)
Verification Code Code received via SMS to valid GB mobile phone number
Name Anything
Address Anything valid
Birthdate Anything 18+ years old
Billing Address Anything valid
Card Holder Name Anything
Debit card details 4000056655665556
Field Test Data
Mobile Number A valid SG mobile phone number
Verification Code Enter verification code received via SMS to valid SG mobile phone number and select Force New Account
Email Can be real or fake valid email address (‘@example.com’ for fake)
Name Anything
Address Anything valid
Birthdate Anything 18+ years old
NRIC/FIN Use this NRIC Generator to create a valid dummy NRIC value
Billing Address Anything valid
Card Number 4242 4242 4242 4242
Expiration date 02 / 24
CVC 222

📘

Payment flow

Now that everything is in place to begin, its time to determine the right payment flow for your business.