Skip to main content
POST
Create a reward
Creates a custom reward in a program’s catalog. The asset_id must already be linked to the program, and rewards cannot be created in an ARCHIVED program.
  • Immutable fields: redemption_type (UNIT_BASED for discrete quantities with optional inventory caps, AMOUNT_BASED for variable amounts) and asset_id cannot be changed after creation.
  • Uniqueness and cost: Reward names must be unique within a program (409 reward_name_already_exists). Optional cost records what one unit costs you for reporting and does not change what participants pay; see Reward cost.
For usage patterns and examples, see the Rewards catalog 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

Path Parameters

program_id
string<uuid>
required

The program's id.

Body

application/json

Reward details

Adds a reward to a program's catalog.

asset_id
string<uuid>
required

Asset used to price this reward (must be linked to the program). Immutable after creation.

Example:

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

name
string
required

The name people see for the reward in the catalog.

Required string length: 1 - 255
Example:

"Insulated Water Bottle"

redemption_type
enum<string>
required

How the reward is redeemed: UNIT_BASED (discrete quantities) or AMOUNT_BASED (variable amounts). Immutable after creation.

Available options:
UNIT_BASED,
AMOUNT_BASED
Example:

"UNIT_BASED"

status
enum<string>
required

Lifecycle status: DRAFT, ACTIVE, OUT_OF_STOCK, or ARCHIVED

Available options:
DRAFT,
ACTIVE,
OUT_OF_STOCK,
ARCHIVED
Example:

"DRAFT"

unit_cost
string
required

Cost per unit in the reward's asset (decimal string for precision, must be positive)

Minimum string length: 1
Example:

"1000.00"

available_from
string<date-time>

Start of the availability window (RFC 3339, null if always available)

Example:

"2027-01-01T00:00:00Z"

available_until
string<date-time>

End of the availability window (RFC 3339, null if no end date)

Example:

"2027-12-31T23:59:59Z"

category
string

Grouping label for organizing rewards in the catalog

Maximum string length: 100
Example:

"Merchandise"

cost
object | null

Optional: what one unit of the reward costs you in money. Null or omitted leaves it unset.

description
string

Details about the reward

Maximum string length: 1000
Example:

"A stainless steel bottle with the Acme logo"

fulfillment_mode
enum<string> | null

Optional: whether redeeming the reward holds the points until it is delivered. INSTANT completes the redemption at once. ASYNC leaves it pending with the points held. Null or omitted completes it at once, except a gift card Scrip orders, which always holds the points.

Available options:
INSTANT,
ASYNC,
null
Example:

"ASYNC"

max_per_participant
integer

Per-participant redemption limit (UNIT_BASED only, null = unlimited)

Example:

2

max_total
integer

Global inventory limit (UNIT_BASED only, null = unlimited)

Example:

100

metadata
object

Custom key-value data attached to this reward

values_per_unit
object[]

Optional: what one point is worth for this reward, at most one per currency. Only a reward with redemption_type AMOUNT_BASED takes it. A redemption of this reward with a face_value in one of these currencies converts it to points with this value instead of the asset's value_per_unit.

Response

Reward created

A reward with its pricing, inventory, availability, and metadata

asset_id
string<uuid>

Asset used to price this reward

Example:

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

auto_managed
boolean

Whether the catalog sync manages this item's lifecycle automatically

Example:

false

available_from
string<date-time>

Start of the availability window (RFC 3339, null if always available)

Example:

"2027-01-01T00:00:00Z"

available_until
string<date-time>

End of the availability window (RFC 3339, null if no end date)

Example:

"2027-12-31T23:59:59Z"

category
string

Grouping label for organizing rewards in the catalog

Example:

"Merchandise"

committed_units
integer | null

UNIT_BASED units currently consuming inventory. Includes delivered and pending units. Null for AMOUNT_BASED rewards.

Example:

42

cost
object | null

Monetary cost of one unit of a custom reward (null when unset or for managed rewards).

created_at
string<date-time>

When this reward was created (RFC 3339)

Example:

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

delivered_units
integer | null

UNIT_BASED units whose redemption has been completed. Null for AMOUNT_BASED rewards.

Example:

39

description
string

Details about the reward

Example:

"A stainless steel bottle with the Acme logo"

display
object

Product content for displaying the reward. Present for managed rewards (kind PROVIDER).

face_currency
string

ISO 4217 currency of the face value (PROVIDER items only)

Example:

"USD"

face_value
object

Pinned face value (fixed-denomination PROVIDER items only)

fulfillment
object

Supported values, currencies, delivery, and pricing. Present for managed rewards (kind PROVIDER).

fulfillment_mode
enum<string> | null

What a redemption of this reward does when the request omits capture. INSTANT completes the redemption at once. ASYNC leaves it pending with the points held. null completes it at once, except a gift card Scrip orders, which always holds the points.

Available options:
INSTANT,
ASYNC,
null
Example:

"ASYNC"

fulfillment_product_id
string<uuid>

Product ordered when this reward is redeemed. Present for managed rewards (kind PROVIDER).

Example:

"3f5b7d91-a2c4-4e68-8a0d-f1b3c5e7d927"

id
string<uuid>

Unique identifier for this reward

Example:

"2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08"

kind
string

Whether you created the reward directly (CUSTOM) or Scrip manages it through a reward source (PROVIDER)

Example:

"CUSTOM"

max_per_participant
integer | null

Per-participant redemption limit (UNIT_BASED only, null = unlimited)

Example:

2

max_total
integer | null

Global inventory limit (UNIT_BASED only, null = unlimited)

Example:

100

metadata
object

Custom key-value data attached to this reward

name
string

The name people see for the reward in the catalog.

Example:

"Insulated Water Bottle"

pending_units
integer | null

UNIT_BASED units awaiting fulfillment. Null for AMOUNT_BASED rewards.

Example:

3

program_id
string<uuid>

Program this reward belongs to

Example:

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

redemption_type
enum<string>

Whether the reward is redeemed in discrete units or in variable amounts.

Available options:
UNIT_BASED,
AMOUNT_BASED
Example:

"UNIT_BASED"

reward_source_id
string<uuid>

Reward source that supplies this reward. Present for managed rewards (kind PROVIDER).

Example:

"9a0c2e4b-6d81-4f35-a7c9-1b3d5f7e9a14"

status
enum<string>

The reward's lifecycle state.

Available options:
DRAFT,
ACTIVE,
OUT_OF_STOCK,
ARCHIVED
Example:

"ACTIVE"

unit_cost
string

Fixed price per unit (or use fulfillment.rate for variable-value managed rewards).

Example:

"1000.00"

updated_at
string<date-time>

When this reward was last modified (RFC 3339)

Example:

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

values_per_unit
object[]

What one point is worth for this reward, one per currency. Present for custom variable-amount rewards (redemption_type AMOUNT_BASED) that set them. A redemption of this reward with a face_value in one of these currencies converts it to points with this value instead of the asset's value_per_unit.