Batch Detokenize Data

Batch convert tokenized data back to its original form.

Request

Method

URI

POST

token/1.0/batch/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. For batch processing, enter all policies required to detokenize the data. See the example below.

tokenData

string

1256-5166-3849-0538

The tokenized data to convert data back to its original form. For batch processing, enter all tokenized data to be converted back to the original form. See the example below.

Example

Copy
[

    {

        "policyName": "CreditCard-1",

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

    },

    {

        "policyName": "CreditCard-2",

        "tokenData": "4467-2897-3209-0624"

    }

]

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"

    },

    {

        "value": "3742-4545-5400-1269"

    }

]

Errors

401 Authentication Error

Reason

Example

error

Authentication failure

500 Server Error

Reason

Example

error

Server error