GetTokenBatchWithCustomData()
GetTokenBatchWithCustomData() checks if the tokens exist for an array of the plaintext values.
Syntax
public String[] GetTokenBatchWithCustomData (String naeUser, String naePassword, String dbUser, String dbPswd, String tableName, String[] values, String[] customData)
Request Parameters
| Parameters | Data Types | Descriptions |
|---|---|---|
| naeUser | string | A Key Manager user with access to the AES and HMAC keys. |
| naePassword | string | The Key Manager user’s password. |
| dbUser | string | A database user with access to the token table. |
| dbPswd | string | The database user’s password. |
| tableName | string | This is the Token Vault name and it must be in CAPITAL LETTERS. |
| values | string[] | The plaintext values. |
| customData | string[] | The customer-specific data associated with each token. |
Note
For MySQL, if the customData parameter is null or empty, then the GetTokenBatchWithCustomData() API returns results for all the customData values in the token vault.
Returned Values
A string array of the tokens.