Create token
Create a new token in the generic scope. This type of token can be used for various use cases that do not involve sensitive card payment credentials.
Authorizations
Body
The payload is a key-value map, that can contain any information the user wants to store in the token.
- Maximum 20 key-value pairs. * Maximum 20 characters per key. * Maximum 80 characters per value.
The expiry time is used to specify after how many seconds a token should be automatically deleted after creation.
1 <= x <= 2592000Metadata consisting of key-value entries.
- Maximum 20 key-value pairs.
- Maximum 20 characters per key.
- Maximum 80 characters per value.
{
"my_key_one": "my_value_one",
"my_key_two": "my_value_two"
}The ID of a type to apply for this payload. If provided the payload will be validated against the schema of the type and the tokens can be filtered by the type ID as well.
Response
Success response
Metadata consisting of key-value entries.
- Maximum 20 key-value pairs.
- Maximum 20 characters per key.
- Maximum 80 characters per value.
{
"my_key_one": "my_value_one",
"my_key_two": "my_value_two"
}