Take online payments with our Card Payments API.
Authentication Header
Authorization: {your_credentials}
Replace {your_credentials}
with your base64-encoded Basic Auth username and password given to your by your Implementation Manager.
You must use the Authorization
header for any request you send to our Card Payments APIs, unless you are using client certificate authenticating with SSL/TLS.
Accept/Content-Type Header
Content-Type: application/vnd.worldpay.payments-v7+json
Accept: application/vnd.worldpay.payments-v7+json
We use the Accept header to identify which version of our API you are using. You must use the Accept header for any request you send to our Card Payments APIs.
We require the Content-Type header if the request you're sending includes a request body, and if the HTTP method is a POST
or a PUT
.
DNS Whitelisting
Whitelist the following URLs:
https://try.access.worldpay.com/
https://access.worldpay.com/
Please ensure you use DNS whitelisting, not explicit IP whitelisting.