Network Token

A Network Token representing a payment instrument.

Methods

POST

Request provisioning for a network token and returns a reference for use later

Responses

Examples

POST
 Request to provision a network token.
View
POST
 Request to provision a network token and the token is ready instantly.
View
POST
 Request to turn an access token into a network token.
View
GET

Get the actual network token using the network token reference

Responses

Examples

GET
 Get a network token after it has been provisioned.
View
GET
 Get a network token but it's not ready yet
View

Link relationship

post
 Request to provision a network token. 
POSThttps://try.access.worldpay.com/tokens/network
Copied!
{
  "Accept": "application/vnd.worldpay.tokens-v3.hal+json",
  "Content-Type": "application/vnd.worldpay.tokens-v3.hal+json"
}
Copied!
{
  "paymentInstrument": {
    "cardHolderName": "name",
    "type": "card/front",
    "cardExpiryDate": {
      "month": 1,
      "year": 2050
    },
    "cardNumber": "4444333322221111"
  },
  "merchant": {
    "entity": "default"
  }
}

200

Copied!
{
  "Content-Type": "application/vnd.worldpay.tokens-v3.hal+json;charset=UTF-8"
}
Copied!
{
  "tokenReference": "aa224320-425c-40b6-9781-2cb7df76b0c8",
  "paymentInstrument": {
    "type": "card/masked",
    "firstSix": "444433",
    "lastFour": "1111",
    "cardExpiryDate": {
      "month": 1,
      "year": 2050
    }
  },
  "_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
      }
    ]
  }
}