Minimizes the exposure of sensitive card details and increases the security of your customer's card details.
Authentication Header
Authorization: {your_credentials}
Replace {your_credentials}
with your base64-encoded Basic Auth username and password given to you by your Implementation Manager.
You must use the Authorization
header for any request you send to our Token API, unless you are using client certificate authenticating with SSL/TLS.
Accept & Content-Type Headers
Accept: application/vnd.worldpay.tokens-v3.hal+json
Content-Type: application/vnd.worldpay.tokens-v3.hal+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 Account 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. When you make a request within Access Worldpay, you should always cache the response returned.
https://try.access.worldpay.com/
https://access.worldpay.com/
https://try.access.worldpay.com/tokens/network
https://access.worldpay.com/tokens/network
Request to provision a network token.
{ "paymentInstrument": { "cardHolderName": "name", "type": "card/front", "cardExpiryDate": { "month": 1, "year": 2050 }, "cardNumber": "4444333322221111" }, "merchant": { "entity": "default" } }
Request to provision a network token.
{ "tokenReference": "aa224320-425c-40b6-9781-2cb7df76b0c8", "paymentInstrument": { "type": "card/masked", "firstSix": "444433", "lastFour": "1111", "cardExpiryDate": { "month": 1, "year": 2050 }, "paymentAccountReference": "41111111111111111111111111111" }, "_links": { "self": { "href": "https://try.access.worldpay.com/tokens/network" }, "tokens:networkTokenLookup": { "href": "https://try.access.worldpay.com/tokens/network/aa224320-425c-40b6-9781-2cb7df76b0c8" }, "curies": [ { "href": "https://try.access.worldpay.com/rels/tokens/{rel}.json", "name": "tokens", "templated": true } ] } }
https://try.access.worldpay.com/tokens/network/{id}
https://access.worldpay.com/tokens/network/{id}
No request payload
Get a network token after it has been provisioned.
{ "tokenPaymentInstrument": { "status": "Active", "type": "card/networkToken", "tokenNumber": "4111111111111111", "expiryDate": { "month": 12, "year": 2025 } }, "paymentInstrument": { "type": "card/masked", "firstSix": "411111", "lastFour": "1111", "cardExpiryDate": { "month": 12, "year": 2025 }, "paymentAccountReference": "41111111111111111111111111111" }, "_links": { "self": { "href": "https://try.access.worldpay.com/tokens/network/aa224320-425c-40b6-9781-2cb7df76b0c8" }, "tokens:networkTokenCryptogram": { "href": "https://try.access.worldpay.com/tokens/network/cryptograms" }, "curies": [ { "href": "https://try.access.worldpay.com/rels/tokens/{rel}.json", "name": "tokens", "templated": true } ] } }
https://try.access.worldpay.com/tokens/network/{id}
https://access.worldpay.com/tokens/network/{id}
No request payload
https://try.access.worldpay.com/tokens/network/cryptograms
https://access.worldpay.com/tokens/network/cryptograms
Provision a cryptogram based on a network token
{ "tokenNumber": "4111111111111111" }
Provision a cryptogram based on a network token
{ "cryptogramDetails": { "cryptogram": "AgAAAAAASFh+gDRt/rq8QOkAAAA=", "eci": "07" }, "_links": { "self": { "href": "https://try.access.worldpay.com/tokens/network/cryptograms" }, "tokens:networkTokenLookup": { "href": "https://try.access.worldpay.com/tokens/network/{tokenReference}", "templated": true }, "curies": [ { "href": "https://try.access.worldpay.com/rels/tokens/{rel}.json", "name": "tokens", "templated": true } ] } }