Skip to main content
PATCH
Update an asset
Updates an asset’s name, status, max_transaction_amount, or value_per_unit; omitted fields stay unchanged. inventory_mode, issuance_policy, and scale are immutable after creation because they govern ledger behavior.
  • value_per_unit: Send an object to set one unit’s monetary value, or null to clear it. Changes record value_per_unit_updated_at and value_per_unit_updated_by and do not reprice existing reward sources; see Value per unit.
  • Archiving: Setting status to ARCHIVED permanently retires the asset, preserving historical data while rejecting new ledger entries.
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>.

Path Parameters

asset_id
string<uuid>
required

The asset's id.

Body

application/json

Fields to update

Changes an asset's name, status, transaction limit or value per unit. Send at least one field.

max_transaction_amount
string

Optional per-transaction ceiling. Positive decimal string to set, null to clear. Omit to leave unchanged

Example:

"10000.00"

name
string

A new name for the asset.

Required string length: 1 - 255
Example:

"Points"

status
enum<string>

Set to ARCHIVED to permanently retire this asset. Cannot be reversed

Available options:
ARCHIVED
Example:

"ARCHIVED"

value_per_unit
object | null

Monetary value of one unit of this asset. Send an object to set it, null to clear it, or omit to leave unchanged.

Response

Updated asset

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.