Delete Network Token

To try it out today, email us at [email protected]

Delete a network token

Calling the Network Token API with the DELETE HTTP method will delete an already provisioned network token and the card information.

Prerequisites:

You will need a valid bearer_token to issue Enrollment API calls. Please see the Authentication guide for how to create one.

Deleting the token

You can expand the below dropdown to view more information about the API specifications for a DELETE request:

Delete a network tokens associated with a card

delete

Invoking the delete API will delete a provisioned network token. The result of this operation leads to a token status update.

Authorizations
Path parameters
pan_aliasstringRequired

VGS alias representing the PAN

Example: 9914040119524512000
Responses
200

OK

application/json
delete
DELETE /network-tokens/{pan_alias} HTTP/1.1
Host: calm.sandbox.verygoodsecurity.app
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "pan_alias": "9914040119524512000",
  "created_at": "2019-05-15T12:30:45Z",
  "updated_at": "2019-05-15T12:30:45Z",
  "network_token_last4": "2345",
  "state": "DELETED",
  "expires_at": "2027-01",
  "card": {
    "last4": "1234",
    "bin": "123456",
    "expires_at": "2027-01"
  }
}

What's next?

Last updated