Here's how to make your first request - authorising a payment - with Testing Pays sims.
First, you’ll need an account on Testing Pays. It takes seconds.
Create your Testing Pays accountOnce you’ve signed in to the testing environment, and selected your favourite APIs you'd like to use, you’ll see your team Dashboard with bookmarks. Find the bookmark named “authorise (v1)”, and click the OPEN SIM button.
Go to the “Integrate” tab on the authorise simulator. This contains instructions and tips to get going in various coding languages. Select the coding language of your choice and follow the instructions.
The first option you'll see on the "Integrate" tab is a cURL request - this is the quickest way to see a authorise request in action. Copy the cURL command and paste into your local command/terminal window, and hit return. The response from the simulator will be based on the trigger parameter (by default this is the amount > value parameter of the request).
Not all payments and API requests follow the "happy path". In many cases you will find unusual behaviors. We recommend to check the pre-configured scenarios first, and add your own ones.