Using the UK Clearpay sandbox environment
Clearpay provides a sandbox for development and testing. The sandbox environment is:
- Accessed using a different URL
- Uses different credentials to a production environment.
How Can I Get Sandbox Credentials?
Speak to your Clearpay account manager to obtain sandbox credentials for your region.
Clearpay provides separate Sandboxes for each region. Accounts created within a Clearpay Sandbox only exist within that Sandbox, and no money actually moves when payments are made.
The Clearpay Sandbox environment includes the following components that mirror the Production environment:
- Sandbox API Endpoint for development and testing
- Sandbox Customer Account with Clearpay signup and account management capabilities
- Sandbox Merchant Portal for viewing orders and settlement reports.
The quickest way to start testing the API is to use our Postman request collection
Creating customer accounts
When checking out on the test site, use the below details to place a test Clearpay transaction.
You can create test customer accounts in the Sandbox environment within your test checkout flow. You can also create test accounts here:
🇬🇧⠀https://portal.sandbox.clearpay.co.uk/uk/login-email
Each Sandbox customer account requires a unique email and a unique phone number.
No SMS's are sent in the Sandbox. Use 111111 as the verification code
Test payment details
The Sandbox Capture response (approved / declined) is determined by the CVV value. Use
000
for approval and 051
for decline
Card Type | Expiry | CCV | Response | |
---|---|---|---|---|
Visa | 4111 1111 1111 1111 | 01/25 | 000 | Approved |
Visa | 4111 1111 1111 1111 | 01/25 | 051 | Declined |
Mastercard | 5215 0977 9282 6659 | 01/25 | 000 | Approved |
Mastercard | 5215 0977 9282 6659 | 01/25 | 051 | Declined |
You can use any dummy Visa number and future expiry date for testing purposes in the Clearpay Sandbox if it passes a mod 10 check and has not already been used by a different Sandbox customer account.**
Updated about 18 hours ago