Create a custom reward
Create a custom reward when your application handles delivery. For example, a canvas tote might be priced at 1,000 points, with 100 totes available and a limit of two per participant. You pay USD 8.50 for each tote:
The API returns
201 Created with the reward. The inventory fields start at 0:
fulfillment_mode to ASYNC, or send capture: false on the redemption. See Choose hold or complete for a catalog reward.
Keep the reward’s id for redemption requests. Inventory management explains committed_units, pending_units, and delivered_units.
Custom reward types
UNIT_BASED
Discrete quantities with a fixed cost per unit. Use for items like merchandise or experiences. When a participant redeems, the total cost isquantity * unit_cost. Scrip commits inventory when it holds the points or completes the redemption at once. See Inventory management for the inventory measures and OUT_OF_STOCK transitions.
AMOUNT_BASED
Flexible amounts without inventory tracking. Use for cashback, statement credits, or charitable donations. Participants specify anamount in points when redeeming, or a face_value in money. max_total and max_per_participant are not supported for this type.
Price a reward in money
When you redeem anAMOUNT_BASED reward with face_value, Scrip prices it using the reward’s values_per_unit entry for that currency, or falls back to the asset’s value_per_unit when the reward sets none. Give each currency at most one entry:
face_value redemption, or Pending redemptions to hold points while fulfilling an external order.
- A currency with no value on the reward or the asset returns
422 value_per_unit_not_setor422 currency_not_supported. - On
PATCH, a list replaces every entry, an empty list ornullclears them, and leaving it out keeps them. - A custom
UNIT_BASEDreward does not takevalues_per_unit. Aface_valueon one returns422 face_value_not_supported.
Reward cost
cost records what one unit of a custom reward costs you, such as the USD 8.50 you pay for each tote. For an AMOUNT_BASED reward, cost is per redemption. It is your own figure, and it does not change what participants pay: unit_cost sets the price in the asset.
cost has the same shape as a gift card’s face_value. amount_minor is a positive whole number of the currency’s minor units, such as cents for USD, and currency is a three-letter ISO 4217 code. Every reward response carries cost, which is null when not set. On PATCH, an object sets it, null clears it, and leaving it out keeps it.
Divide cost by unit_cost for a cost per point. The tote costs 850 cents for 1,000 points, so each point a participant spends on the tote costs you USD 0.0085.
The fulfillment cost report multiplies cost by the quantity redeemed to show what redemptions cost you. It reads the current cost, so changing cost also changes past periods in that report. Gift cards and other managed rewards cost their face value, so they have no cost.
Reward status
Only
ACTIVE rewards can be redeemed.
Availability windows
Restrict when a reward is redeemable by settingavailable_from and available_until. Both are optional. If both are set, available_from must be before available_until.
available_from returns 409 reward_not_yet_available. A redemption after available_until returns 409 reward_no_longer_available. The reward’s status stays ACTIVE outside the window.
Managing rewards
List your program’s rewards to see custom rewards and gift cards together. Archived rewards are hidden by default; include them withinclude_archived=true.
data, newest first, with pagination.next_cursor for the next page. Each entry has the same fields as the create response. To read one reward, including an archived one, send GET /v1/programs/{program_id}/rewards/{reward_id}.
Use reward_source_id to list only the rewards one reward source supplies. Use updated_after to list rewards changed after a time. Add expand[]=total_count to count the rewards that match your filters across every page. Add expand[]=categories to list the program’s categories with how many rewards each has. List rewards documents every filter.
Update a custom reward with PATCH. Send only the fields you want to change:
200 with the updated reward. redemption_type and asset_id cannot be changed after creation. Other custom-reward fields can be updated. To change gift cards, update their reward source.
Inventory management
Inventory tracking applies toUNIT_BASED rewards only. Reward detail and list responses expose these measures:
AMOUNT_BASED rewards return null for all three quantities and both caps. The keys are always present.
Each redemption step changes the counts by the redeemed quantity. Pending redemptions covers holding points until you complete the redemption, and completing it.
Scrip applies the same commitment lifecycle to the per-participant count used by
max_per_participant.
Inventory and status
max_total can be updated at any time and must be positive when set. Status changes on its own only between ACTIVE and OUT_OF_STOCK:
While a reward is
OUT_OF_STOCK, redemptions fail with 409 reward_not_active. A DRAFT or ARCHIVED reward keeps its status when units are released or reversed.
Track these automatic transitions with the reward.status_changed webhook event.
See Redemptions for how participants redeem catalog items and how reversals restore inventory.
Gift-card rewards
Scrip orders gift cards for you and keeps their catalog entries up to date. These are called managed rewards. You choose the cards and their asset prices through a reward source, your program’s selection of products from your fulfillment account. The fulfillment account is the account you connect and fund to pay for the cards. A gift card can have a fixed value, such as USD 100.00, or let the participant choose from its supported values. The catalog includes those choices, the pricing details, and any available images and descriptions. Fetch active rewards to show gift cards alongside your custom rewards. To change a managed reward’s price or remove it from the catalog, update its source or product settings. Scrip applies those changes to the catalog. Past redemptions remain available.Redemptions
Redeem catalog items, check prices, and handle reversals.
Pending redemptions
Hold points while you fulfill an order yourself.
Gift cards
Configure gift-card sources, redeem cards, and deliver claim links.