Skip to main content
POST
Create an asset
Creates an asset in your organization and links it to program_id or every program in program_ids (all target programs must be ACTIVE, or no asset is created). inventory_mode, issuance_policy, and scale are immutable after creation because they govern how ledger entries and lots are recorded. Optional value_per_unit sets one unit’s monetary value for financial reporting, available_value, face_value redemptions, and derived reward-source rates without affecting ledger balances. When symbol and scale match an ISO 4217 currency (such as USD with scale: 2), value_per_unit defaults to 1 of that currency when omitted; otherwise it defaults to null.
For usage patterns and examples, see the Asset configuration guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Headers

Idempotency-Key
string

Unique key (1-255 printable ASCII characters) to make retries safe. Repeating the same request with the same key within 24 hours replays the original response (Idempotent-Replayed: true).

Maximum string length: 255

Body

application/json

Asset configuration

Creates an asset and links it to one or more programs. Send program_id or program_ids, not both.

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

The name people see for the asset, such as Points.

Required string length: 1 - 255
Example:

"Points"

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, unique in your organization.

Required string length: 1 - 16
Pattern: ^[A-Za-z0-9]+$
Example:

"PTS"

max_transaction_amount
string

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

Example:

"10000.00"

program_id
string<uuid>

The program to link this asset to. Send this or program_ids, not both.

Example:

"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"

program_ids
string<uuid>[]

The programs to link this asset to, from 1 to 1,000 distinct ids. Every program must be ACTIVE. Send this or program_id, not both.

Required array length: 1 - 1000 elements
Example:
value_per_unit
object | null

Optional monetary value of one unit of this asset (e.g. {"amount": "0.01", "currency": "USD"}). Currency assets whose symbol and scale match ISO 4217 default to 1 of that currency when omitted or null.

Response

Asset created

An asset: the currency or points that participants earn and spend.

created_at
string<date-time>

When the asset was created

Example:

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

deleted_at
string<date-time>

Set when the asset is archived

Example:

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

id
string<uuid>

The id of the asset. Use it in asset_id fields and paths.

Example:

"a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02"

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

The name people see for the asset, such as Points.

Example:

"Points"

program_ids
string[]

Programs this asset is linked to

Example:
scale
integer

Decimal precision

Example:

2

status
enum<string>

Whether the asset is in use (ACTIVE) or retired (ARCHIVED).

Available options:
ACTIVE,
ARCHIVED
Example:

"ACTIVE"

symbol
string

Short code for this asset

Example:

"PTS"

updated_at
string<date-time>

When the asset was last modified

Example:

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

value_per_unit
object | null

Monetary value of one unit of this asset (used for money figures in reports). Currency assets whose symbol and scale match ISO 4217 default to a value of 1 of that currency per unit. Null when unset.

value_per_unit_updated_at
string<date-time> | null

When value_per_unit was last set or cleared (RFC 3339). Null when it never was.

Example:

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

value_per_unit_updated_by
object | null

Who last set or cleared value_per_unit, or the system when Scrip set or cleared a currency asset's default value (one unit of that currency). Null when it never was.