Test your implementation
You can leverage Evervault's Sandbox apps to test the full merchant enrollment and token creation process without affecting live data. Once you're ready to transition to Live Mode for processing real Network Tokens, please contact our support team at support@evervault.com.
In Sandbox, you can use specific Test Cards to simulate various real-life scenarios. These cards can be used in conjunction with any valid expiry date or CVC.
Visa Test Card | Mastercard Test Card | American Express Test Card | Test scenario |
---|---|---|---|
Any valid Visa card | Any valid Mastercard card | Any valid American Express card | Successful network tokenization |
4111110116638870 | 5555550130659057 | 378282246310005 | Ineligible card (e.g. the card issuer doesn’t support card tokenization) |
4111111738973695 | 5555550487847545 | 378282246310013 | Invalid card (e.g. the expiry doesn’t match the expiry of the card) |
4111110148486405 | 5555558824815604 | 378282246310021 | Declined Tokenization (e.g. the issuer explicitly denied network tokenization) |
4111116028998260 | 5555558122432110 | 378282246310039 | The Token Service Provider is unavailable (e.g. the networks are having an outage) |
Additionally, In Sandbox you can use the Simulate API to simulate an update event in accordance with the following typical update events:
- Token deactivation
- A new card expiry has been issued
- A new card number and expiry have been issued.
When simulating new expiry or new card number updates, you can either specify the values you want the card to be updated to, or omit them to have new values auto-generated.
Example Requests
The examples below outline the valid request types accepted by the Simulate API, in accordance with the above scenarios:
Step by Step Guide
- Create a Sandbox: Start by creating a Sandbox to access the necessary testing tools.
- Set Up Webhooks: In your app settings, create a webhook and subscribe to the
payments.network-token.updated
event. - Create a Network Token: Use the Network Tokens API to create a network token in your sandbox environment.
- Simulate an Update: Use your client of choice to issue a request to the Simulate API and observe the update event arriving at your specified webhook.