Skip to main content
POST
Creates Token

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

JSON A full token object.

The token object provides a way to offer virtual currencies or track the balance of a consumable service item.

object
enum<string>

Value is “Token”

Available options:
Token
id
string

A unique identifier. Optionally, this object can also be identified by its vid. Using a unique custom identifier is strongly encouraged.

Maximum string length: 128
vid
string

A Globally Unique Identifier (GUID) for this object. This value is generated by Vindicia.

Maximum string length: 128
description
string

Text describing the token type

Response

JSON A full Token object.

The token object provides a way to offer virtual currencies or track the balance of a consumable service item.

object
enum<string>

Value is “Token”

Available options:
Token
id
string

A unique identifier. Optionally, this object can also be identified by its vid. Using a unique custom identifier is strongly encouraged.

Maximum string length: 128
vid
string

A Globally Unique Identifier (GUID) for this object. This value is generated by Vindicia.

Maximum string length: 128
description
string

Text describing the token type