Skip to main content
POST
Create an asset
Creates a new asset in your organization. The asset is automatically linked to the specified program on creation. All fields are required:
  • program_id: the program to link this asset to
  • name and symbol: display name and short code
  • inventory_mode: SIMPLE tracks a single balance per participant; LOT tracks individual batches with expiration, vesting dates, oldest-first spending, and issuer lineage
  • issuance_policy: UNLIMITED mints value on demand with no budget cap; PREFUNDED draws from the program wallet
  • scale: decimal precision from 0 to 18 (e.g., 2 for dollars and cents)
The inventory_mode, issuance_policy, and scale fields are immutable after creation because they affect how the ledger records and resolves balances. If you need a different configuration, create a new asset.
For usage patterns and examples, see the Asset Configuration guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Body

application/json

Asset configuration

inventory_mode
enum<string>
required

SIMPLE tracks one balance per participant. LOT tracks individual batches with expiration and vesting dates. Immutable after creation

Available options:
SIMPLE,
LOT
Example:

"SIMPLE"

issuance_policy
enum<string>
required

UNLIMITED mints on demand with no budget cap. PREFUNDED draws from the program wallet. Immutable after creation

Available options:
UNLIMITED,
PREFUNDED
Example:

"UNLIMITED"

name
string
required

Asset name

Required string length: 1 - 255
Example:

"Bonus Points"

program_id
string<uuid>
required

Program to link this asset to

Example:

"550e8400-e29b-41d4-a716-446655440000"

scale
integer
required

Number of decimal places for amounts (e.g., 2 for dollars and cents). Immutable after creation

Required range: 0 <= x <= 18
Example:

2

symbol
string
required

Short code for this asset

Required string length: 1 - 16
Example:

"PTS"

max_transaction_amount
string

Optional per-transaction ceiling. Must be a positive decimal string. Null means no limit

Example:

"10000.00"

Response

Asset created

created_at
string<date-time>

When the asset was created

Example:

"2024-01-15T10:30:00Z"

deleted_at
string<date-time>

Set when the asset is archived

Example:

"2024-06-01T00:00:00Z"

id
string<uuid>

Asset ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

inventory_mode
string

How balances are tracked

Example:

"SIMPLE"

issuance_policy
string

How value is issued

Example:

"UNLIMITED"

max_transaction_amount
string

Optional per-transaction ceiling. Null means no limit

Example:

"10000.00"

name
string

Asset name

Example:

"Bonus Points"

program_ids
string[]

Programs this asset is linked to

Example:
scale
integer

Decimal precision

Example:

2

status
string

Lifecycle state

Example:

"ACTIVE"

symbol
string

Short code for this asset

Example:

"PTS"

updated_at
string<date-time>

When the asset was last modified

Example:

"2024-01-15T10:30:00Z"