updateTokenProperty()
updateTokenProperty() API updates the TokenProperty of the existing tokens. This API is overloaded for tokenProperty.
Syntax
public SiteBean[] updateTokenProperty(String table, String[] tokens, TokenProperty tokenProperty)
public SiteBean[] updateTokenProperty(String table, String[] tokens, TokenProperty[] tokenProperty)
Request Parameters
Parameters | Data Types | Descriptions |
---|---|---|
table | string | This is the Token Vault name and it must be in CAPITAL LETTERS. |
tokens | string[] | The tokens corresponding to which the property is to be updated. |
tokenProperty | tokenproperty[] | The new property to be updated for the tokens. |
Returned values
Returns the array of SiteBean. Refer to SiteBean Class for more details.
Exception
Throws TokenException
if:
The format is invalid.
The value contains null.
The luhnCheck value is invalid.