Postman is a tool for easily calling REST API endpoints. PaySimple has created a collection containing executable API sample calls.
Download the Postman app for Mac, Windows and Linux and install:
Download the PaySimple API Test collection and open it in Postman:
url to value
apiKey to your PaySimple Sandbox credentials.
Add button in the bottom right
X at the top of the Mange Environments Dialog
In the PaySimple API v4 Collection contains several folders with requests for common scenarios:
Make payment with new customer
Creates a customer, creates a credit card account, makes a payment, retrieves the payment, voids the payment, makes another payment that is declined
Make payment and refund
Makes a payment with customer created in step 1, settles it (simulated for test) and issues a refund
Executes all Recurring Payment calls
Executes all Customer endpoints
As the input of most api calls depend on the output of a previous call, they must be executed sequentially.
You can also run all of the scenarios using Postman collection runner (click 'Run Collection' from the' View More Actions' ellipsis or the Runner button at the bottom).