Tokenization Runtime Service API

1.0.0

Overview

Statistics
1 Operations
0 Skills
Security Category
Tokenize and detokenize sensitive data using configured tokenization services.

Servers

  • https://mocksvc.mulesoft.com/mocks/df05479f-3577-4a01-ae7e-3abb92cb907f Mock server

Authentication & Security

  • bearerAuth http

    Bearer token authentication. Login endpoint: https://anypoint.mulesoft.com/accounts/api/login

  • clientAuth oauth2

    OAuth2 client credentials. Token endpoint: https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token

Process Tokenization processTokenization

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Request tokenization service with body containing the data that Tokenization Service will operate against.

Path Parameters

operation *: string
What operation to perform on the list of data in body

Request Body *

json
items: array
Array of token requests for batch processing
Examples
tokenization
[ { "format": "ssnonly", "data": "333-33-3333" }, { "format": "us_address", "data": "55 Washington Rd, Chicago, IL 60501" } ]
tokenizationWithId
[ { "format": "ssnonly", "data": "333-33-3333", "id": "a1234" }, { "format": "us_address", "data": "55 Washington Rd, Chicago, IL 60501", "id": "a1234" } ]
detokenization
[ { "format": "ssnonly", "data": "555-55-5555" }, { "format": "us_address", "data": "37 geegpqhdjd w3, Ug34dkW, DS 23681" } ]

Response

json
Response of the tokenized/detokenized data where all elements in the array were able to be converted properly. If at least one item fails conversion a 422 will be generated instead.
items: array
Array of token responses for batch processing results
Examples
tokenization
[ { "status": "success", "data": "555-55-5555" }, { "status": "success", "data": "37 geegpqhdjd w3, Ug34dkW, DS 23681" } ]
tokenizationWithId
[ { "status": "success", "data": "555-55-5555", "id": "a1234" }, { "status": "success", "data": "37 geegpqhdjd w3, Ug34dkW, DS 23681", "id": "a1234" } ]
detokenization
[ { "status": "success", "data": "333-33-3333" }, { "status": "success", "data": "55 Washington Rd, Chicago, IL 60501" } ]