# Tokens

A collection of tokens representing payment instruments.

Version: 2

## Servers

Test (Try)
```
https://try.access.worldpay.com
```

Live
```
https://access.worldpay.com
```

## Security

### BasicAuth

Type: http
Scheme: basic

## Download OpenAPI description

[Tokens](https://worldpay-portal.eu.redocly.app/access/_bundle/products/tokens/@v2/openapi.yaml)

## Token

A token representing a payment instrument.

### Create a new token

 - [POST /tokens](https://worldpay-portal.eu.redocly.app/access/products/tokens/v2/openapi/token/createsecuritytoken.md): Creating a new token for the payment instrument.

### Retrieve the detail for this token

 - [GET /tokens/{tokenId}](https://worldpay-portal.eu.redocly.app/access/products/tokens/v2/openapi/token/getsecuritytoken.md): A token representing a payment instrument.

### Update this token

 - [PUT /tokens/{tokenId}](https://worldpay-portal.eu.redocly.app/access/products/tokens/v2/openapi/token/updatesecuritytoken.md): Updating different fields represented by the token

### Delete this token

 - [DELETE /tokens/{tokenId}](https://worldpay-portal.eu.redocly.app/access/products/tokens/v2/openapi/token/deletesecuritytoken.md): Deleting a token based on an encrypted tokenId

