Insomnia & Postman Collections

A full set of API examples based on different common scenarios.

Instructions

Download the collection above

1) Import Collection2) Import Environment: select base environment3) Import Environment: Select Private Environment
import collectionimport environmentimport environment

4) Copy and Paste in the following

Replace the username and password

Insomnia Environment Variables
{
	"username": "add here",
	"password": "add here",
	"entity": "default",
	"transactionReference": "{% uuid 'v4' %}",
	"env_url": "try.access.worldpay.com",
	"payments_api_version": "2024-06-01",
	"card_holder": "Sherlock Holmes",
	"card_number": "4000000000001091",
	"card_month": 3,
	"card_year": 2028,
	"cvc": 123,
	"address1": "221B Baker Street",
	"address2": "Marylebone",
	"postalCode": "SW1 1AA",
	"city": "London",
	"state": "Greater London",
	"countryCode": "GB",
	"email": "test@example.com",
	"phone": "000000000000",
	"ipAddress": "192.0.0.1",
	"returnUrl": "http://payment.example.com",
	"currency": "GBP",
	"narative1": "trading name"
}