Simplify testing of server-side API calls using Test Tokens

Sometimes debugging or testing different risk scenarios can be challenging, especially with the new Risk and Filter APIs where a request tokenrequest token - A request token is generated by one of Castle's client-side SDK, and is to be passed to each server-side call to the Risk or Filter APIs. needs to be generated on the client for each request.

Test Tokens will streamline your testing process by giving you a way to force certain aspects and characteristics of a request, without doing a full integration. For example, if you want to simulate a user using Firefox on a Windows device in the US, you can use the following Test Token value:

request_token: "test|device:firefox_on_windows|ip:us-ca"

Read more about test tokens here.