Provider guide
Worldpay XML
Integration notes, required parameters, test details and example requests for integrating Worldpay XML with the Revo PCI platform.
At a glance
2
Supported transaction types
Supported modes
SALE, REFUND
Testing
Test card details
Card Number:
4111111111111111Expiry Date:
0731CVV:
123
Overview
Integration requirements
Required parameters
transactionType
'SALE' is supported which will take a payment.
'REFUND' is supported which will refund a previous payment.
merchantCode
This is provided by Worldpay.
xmlPassword
This is provided by Worldpay.
amount
Amount in the smallest unit of currency.
currency
Must be provided as 3 letters for example: 'GBP'.
Reference
Example request
json example
API request
curl --location 'https://api.revopci.co.uk/' \
--header 'X-Session;' \
--header 'X-Auth;' \
--header 'Content-Type: application/json' \
--data '{
"provider": "worldpayxml",
"mode": "test",
"method": "payment",
"parameters": {
"transactionType": "SALE",
"merchantCode": "",
"xmlPassword": "",
"amount": "200",
"currency": "GBP"
}
}'