Detokenize Data

Convert tokenized data back to its original form.

Request

Method

URI

POST

token/1.0/detoken/

Content Type

application/json

Privileges Required

TOKENIZATION_ADMIN or TOKENIZATION_USER

Parameters

Name

Type

Example

policyName

string

CreditCard

Name of policy to be used to detokenize data.

tokenData

string

1256-5166-3849-0538

The tokenized data to convert data back to its original form.

Example

Copy
    {

        "policyName": "CreditCard",

        "tokenData": "1256-5166-3849-0538"

    }

Responses

200 Success

Name

Type

Example

value

string

1234-1234-1234-1238

The detokenized data. See the example below.

Example Response

Copy
    {

        "value": "1234-1234-1234-1238"

    }

Errors

401 Authentication Error

Reason

Example

error

Authentication failure

500 Server Error

Reason

Example

error

Server error