Testing
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
- Create a sandbox customer using the Toolkit.
- Create a checkout using the Sandbox API.
- Complete the checkout using the generated customer.
- Create a charge.
- Verify the response.
- Test refunds and additional payment scenarios.
Common Test Scenarios
| Scenario | Expected Result |
|---|---|
| Existing customer | Approved |
| New approved customer | Approved |
| New declined customer | Declined |
| Refund | Refund created |
| Field | Test Data |
|---|---|
| Phone | A valid U.S mobile phone number |
| 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 |
| 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 |
| 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 flowNow that everything is in place to begin, its time to determine the right payment flow for your business.
