A
- Account: The ledger’s record of one asset in one balance bucket for one holder: a participant, a group, a program wallet, or one of Scrip’s system accounts. Scrip creates it on first use. Ledger
- Action: What a rule does when its condition matches: credit, debit, hold, tag, counter increment, and more. Rule actions
- Adjustment: A manual credit or debit you make directly through the API (a balance operation of type
ADJUST), as opposed to a balance change made by a rule. Used for goodwill credits, corrections, and support operations. Recorded as aCREDITorDEBITjournal entry withevent_idandrule_idboth null. No operation creates entries with theADJUSTMENTaction type. Balance operations allow_negative: Debit option that lets a balance go below zero, used for refund clawbacks after funds were spent. Balance operations- Amount redemption: A redemption of an amount you choose, with no catalog reward, sent to
POST /v1/participants/{participant_id}/redemptions. Redeeming anAMOUNT_BASEDcatalog reward is a catalog item redemption. Redemptions - Archive: Retiring a resource. You archive with
PATCHand{"status": "ARCHIVED"}. Archived resources are hidden from default listings, but the consequences differ by resource: an archived asset is permanently retired, an archived program can be reactivated, an archived tier can be restored, and an archived rule is a soft delete. Each resource’s guide states its own rules. Data model - Asset: The unit of reward value participants earn and spend: points, cashback dollars, credits. Defined at the organization level and linked to one or more programs. Asset configuration
- Attribute: A key-value string on a participant or group, readable in rule conditions. State management
- Authorization: The card step where the issuer processor approves a purchase, before the merchant settles it. A program that shows pending rewards credits them at authorization. Not the
Authorizationrequest header, which carries your API key; see Authentication. Pending rewards - Automation: A stored event submission that Scrip fires on a trigger, delivering an event to the program or fanned out to each matching participant. Automations
- Automation subscription: The per-participant schedule record a participant-state automation maintains, carrying that participant’s
next_trigger_at. Automations
B
- Balance: The amount of an asset that a participant, group, or program wallet holds in one balance bucket. Ledger
- Balance bucket: One of three pools inside every balance:
AVAILABLE(spendable),HELD(set aside by a hold, or pending rewards waiting to be confirmed), andDEFERRED(not yet matured). Responses show the buckets as lowercase keys. Requests useUPPER_SNAKEvalues. Ledger - Balance operation: A direct change to a participant’s or group’s balance, sent to
POST /v1/participants/{participant_id}/balances/operationsorPOST /v1/groups/{group_id}/balances/operationswith atype:ADJUST,HOLD,RELEASE,FORFEIT, and, for participants,VOID_PENDINGandMATURE. Balance operations - Benefits: The
benefitsobject on a tier level: free-form JSON that Scrip stores and returns with a participant’s tier state, for data your app acts on, such as a discount rate. Tiers - Brand: The merchant or organization associated with a product. One brand can have several orderable products. Gift cards
- Breakage: Issued value that will never be redeemed, such as expired or forfeited balances. Recorded against the
SYSTEM_BREAKAGEaccount. Reporting - Budget: A cap on how much of an asset a rule can issue, optionally resetting on a schedule. Its
scopeisPROGRAM(one pool shared across all participants, the default) orPARTICIPANT(a separate cap for each participant). Writing rules
C
- Calendar counter: A counter with a
reset_period, which keeps a separate total for each day, week, or month. A rule writes to the period that contains the event’sevent_timestamp. State management - Campaign: A time-bound promotion built from rules with an
active_fromandactive_towindow, grouped so it can be launched, capped, and retired as a unit. Not a separate resource. Campaigns - Capture: The
capturefield on a redemption request:truecompletes the redemption at once and spends the points, andfalseleaves itPENDINGwith the points held.captured_atis when a redemption completed. The card-side confirmation of a purchase is a settlement, not a capture. Redemption lifecycle - Catalog item redemption: A redemption of one reward from the rewards catalog, sent to
POST /v1/participants/{participant_id}/redemptions/items. The reward sets the price. Redemptions - CEL: Common Expression Language, the syntax for rule conditions and dynamic values. CEL expressions
- Claim link: A URL a participant opens to access a successfully fulfilled reward. Gift cards
- Condition: The CEL expression that decides whether a rule’s actions fire for an event. Writing rules
- Counter: A named numeric value on a participant or group, changed by rules or the API, readable in conditions. State management
- Counter window: The
windowon a counter’s state definition, such as 12 months. The counter reads as the total of the current day, week, or month and the periods before it. State management - Currency asset: An asset whose
symbolis an active ISO 4217 currency code, such asUSD. When itsscaleis the currency’s number of decimal places, such as2forUSD, itsvalue_per_unitdefaults to 1 of that currency. Asset configuration
D
- Downgrade policy: The tier setting that decides a participant’s level when a check finds they no longer qualify for the one they hold, or when it expires:
DROP_TO_QUALIFYING,DROP_ONE, orHOLD. Tiers - Dynamic value (
${{ }}): The wrapper that marks an action field value as a CEL expression, as in"amount": "${{ event.amount * 0.1 }}". Most fields use a value without it as written, but some evaluate it as CEL; Rule actions lists each field. Rule actions
E
- Early maturity: Moving a participant’s
DEFERREDlots toAVAILABLEbefore their maturity date with a balance operation of typeMATURE. Recorded as aMATURITYjournal entry, like a scheduled maturity. Balance operations - Earn rule: A rule with a
CREDITaction, which decides how much of an asset a participant receives from an event. Rule actions - Entity state: The non-ledger facts about a participant, group, or program that rules read: tags, counters, attributes, and tier membership. State that belongs to a participant is participant state. State management
- Environment: One independent deployment of the Scrip API: production or the sandbox. Each has its own API address, data, API keys, and webhook deliveries. Your organization keeps the same id in both. Only sign-in is shared, and nothing is copied between them. Environments
- Event: A recorded occurrence submitted to or generated by Scrip for evaluation within one program, such as a purchase from your application or an automation firing. Outbound notifications Scrip sends to your webhook endpoints are webhook events. Event processing
- Event-start snapshot: The copy of participant, group, and program state that Scrip takes when it starts processing an event. Every rule in that event reads the snapshot, so a change one rule makes shows only in the next event. Writing rules
- Event trace: The
rule_evaluationsarray on an event, recording which rules ran, matched, or were skipped when the event was processed. Rule sets - Event type: The name of an event, such as
purchase, sent as the requiredevent_typebesideevent_data. Rules read it asevent.type. It is not the event’ssource. Event processing - Execution status: The
execution_statusfield on a participants-scoped automation, tracking the current fan-out run (IDLE,EXECUTING,COMPLETED,FAILED) independently of the automation’s ownstatus. Automations - External event: An event your system sends to describe something that happened in your product or business. Its
sourceisEXTERNAL. Event processing external_id: Your application’s identifier for a participant. Putext:in front of it to use it anywhere a participantidgoes in a path. Participants
F
- Face value: The price in money of what a redemption pays for, such as a USD 128.08 flight or a USD 25.00 gift card. The API expresses it as
{"amount_minor": 2500, "currency": "USD"}, withamount_minorin the currency’s minor units, such as cents. Scrip prices the points a redemption takes from it. Redemptions - Fan-out: The delivery of one automation firing as an individual event to every matching participant. Automations
- Folder: A hierarchical container for organizing programs and nested subfolders within an organization, up to 8 levels deep. Organizational metadata only; does not change program behavior. Folders
- Forfeit: Permanently removing balance from a participant or group, moving it to breakage. Balance operations
- Fulfillment: Delivering what a participant redeemed, such as a gift card, through a fulfillment account. Your application can resolve custom rewards. Scrip resolves gift-card orders. Pending redemptions
- Fulfillment account: The account you connect and fund to pay for fulfilled redemptions such as gift cards. Manage it in the Scrip dashboard. Gift cards
- Fulfillment order: The purchase Scrip places with the reward provider to fulfill one redemption. Gift cards
G
- Gift card: A reward participants can spend with a merchant. Scrip orders the card when a participant redeems. Gift cards
- Grace period: Extra days a participant keeps a tier level before a downgrade applies, set with
grace_dayson the downgrade policy. A participant who qualifies again in that time keeps the level. Tiers - Group: A named collection of participants that can have shared state and hold assets as a unit: families, teams, organizational pools. Groups
- Guard condition: An automation’s optional CEL expression checked per participant at fire time. Returning
falseskips that participant’s event. Automations
H
- Hold: The operation that moves a participant’s own available value into the
HELDbucket until a release returns it. A pending redemption’s points are held the same way, but aRELEASEorFORFEITthat would take them is refused. Only the redemption can release them. A hold is not a pending reward. Balance operations
I
- Idempotency key: A key you choose that makes a retry safe, sent in the
Idempotency-Keyheader or, where an endpoint has one, theidempotency_keybody field. On an event it is the event’s identity within the program. API conventions - Inventory mode: The immutable asset setting choosing
SIMPLE(one aggregate balance) orLOT(each credit tracked individually). Asset configuration - Issuance policy: The immutable asset setting choosing
UNLIMITED(credits create new value) orPREFUNDED(credits draw from a funded program wallet). Asset configuration - Issuer attribution: Knowing which program’s wallet funded a credit, tracked per lot so reports can split redeemed value by issuing program and attribute expired and matured value to the program that issued it. Lots and expiration
- Issuer processor: The card platform that approves and settles your cardholders’ purchases. Its authorization and settlement webhooks become the events you send Scrip. Not a payment processor. Pending rewards
J
- Journal entry: One permanent ledger record of a balance change, made of postings that sum to zero. Its postings are recorded together or not at all. Ledger
L
- Ledger: The double-entry record of every balance change. Nothing is changed in place. Ledger
- Ledger entity: Anything that holds its own balances in the ledger: a participant, a group, or a program wallet. The API uses the term in the
LEDGER_ENTITYredemption target and inledger_entity_id. Ledger - Ledger transaction: One row of a participant’s, group’s, or program wallet’s transaction history: one posting to one bucket, with its
journal_entry_id. Participants - Liability: The value you owe participants: outstanding balances not yet redeemed, expired, or forfeited. Reporting
- Lifecycle webhook event: A webhook event that reports a resource changing status, such as
redemption.completedorparticipant.created. It carries the resource id and itsstatus, never a journal entry id. Webhooks - Lot: An individually tracked credit with its own remaining amount, issuer, and optional expiration or maturity dates. Debits consume the oldest eligible lots first. Lots and expiration
- Lot-level rewards tracking: What a
LOTasset does: it keeps each credit as its own lot, with its source, availability, expiration, value, and status. Lots and expiration
M
- Managed reward: A catalog reward that Scrip creates and maintains from a reward source, such as a gift card. Rewards catalog
- Maturity: A future date before which a credited lot sits in the
DEFERREDbucket. Used for vesting. Lots and expiration - Merchant category code (MCC): The four-digit code a card network assigns to each kind of business, such as
5812for restaurants. Card purchase events carry it so rules can pay a different rate per category. Common patterns - Movement webhook event: A webhook event that reports one journal entry:
balance.*,transfer.completed, andprogram.*. Every journal action has exactly one, and together they record every participant and group balance change. Webhooks
O
- Operational event: An event whose
sourceisOPERATIONAL. The API reserves this value for events Scrip generates for its own operations. Events you send areEXTERNAL, and events that automations fire areSYSTEM. Event processing - Order: A rule’s or rule set’s rank in its execution sequence, numbered 1, 2, 3 with no gaps. Scrip manages the numbering and returns it as
order. You cannot write it. You place things with a position. Rule sets - Organization: Your top-level Scrip account. Programs, assets, participants, and API keys belong to it. Core concepts
- Overdraft: The part of a debit with
allow_negativethat the balance could not cover, which leaves the balance below zero until later credits bring it back. Balance operations
P
- Participant: A user or account in your product that earns and spends rewards, identified by your
external_id. A participant belongs to the organization and can enroll in several programs. A person who operates Scrip for your organization is a user, not a participant. Participants - Participant state: The entity state that belongs to a participant: tags, counters, attributes, and tier membership. State management
- Pending reward: Value credited directly into the
HELDbucket under areference_id, for a reward that a later event must confirm, such as an installation or a card settlement. Confirming it makes it available, and a void cancels it. It is not a hold. Pending rewards - Position: Where you place a rule or rule set when you create or move it:
first,last,before, oraftera reference. Position is the input and order is the result. Rule sets - Posting: One side (debit or credit) of a journal entry, against one account and bucket. Ledger
- Posting time: A journal entry’s
created_at, the moment the ledger recorded it. Statement and history filters select rows by posting time, not by the event’sevent_timestamp. Reporting - Product: An item available from a fulfillment account, with its own supported countries, currencies, and card values. Include it through a reward source to add it to your catalog. Gift cards
- Product setting: A reward source’s choice for one product: whether the catalog includes it, and an optional price (
rate) or fixed card value (face_value). Gift cards - Production: The environment that holds your organization’s live programs, participants, and balances. Its API keys start with
sk_live_. Environments - Program: A rewards program your organization runs. It holds rule sets, rules, linked assets, and enrolled participants, and usually covers one use case. Programs
- Program enrollment: A participant’s per-program membership, separate from the participant’s own status. Scrip creates it when a participant’s first event reaches a program. Programs
- Program wallet: The funded balance a
PREFUNDEDasset’s credits draw from. An empty wallet means credits fail. Programs - Provider order: The purchase you place with an external vendor for a redemption. You report it as
provider,order_id, andcostwhen you complete the redemption. Pending redemptions
Q
- Qualification: The counter thresholds that move a participant up to a tier level automatically. Tiers
R
- Redemption: A participant’s use of asset value, either against a reward catalog item or as a direct amount. Redemptions
reference_id: Your label on a set of lots, such as an order ID or a card authorization ID. Pending rewards, holds, releases, settlements, and voids find their lots by it. It needs aLOTasset. Pending rewards- Reservation: The API’s name for the hold behind a pending redemption, as in
reservation_idandreservation_expired. Prose calls it a hold. Pending redemptions - Retention: How a participant keeps a tier level once they reach it: by qualifying again over the tier’s periods (
PERIODIC), or by staying active (ACTIVITY_REFRESH). Tiers - Return rule: A rule that takes back what the refunded amount would have earned as a purchase: a refund event with the same merchant category code (MCC) debits at the same rate as the earning rule. Refunds and clawbacks
- Reversal: Scrip’s operation that takes back the ledger effects of a completed event’s rule credits, or of a redemption. An event reversal is capped at what the event credited and reports value it cannot recover as shortfall. It reports the event’s state changes but does not undo them. Your refunds, chargebacks, and voids are events that can cause a reversal. They are not reversals. Reversing an event
- Reward: A catalog item participants can redeem balance for, also called a reward catalog item. Rewards catalog
- Reward cost: What one unit of a custom reward costs you in money, set as
cost. It does not change the reward’s price in the asset,unit_cost. Gift cards cost their face value instead. Rewards catalog - Reward source: A program’s selection of a fulfillment account’s products, with pricing settings, that fills its reward catalog. Gift cards
- Rollforward: A report that explains how a balance changed over a period: the opening balance, named amounts for everything that moved it, and the closing balance. The amounts always add up to the difference. The liability rollforward covers the organization by asset and program. Liability rollforward
- Rule: An if/then policy that pairs a condition with one or more actions inside a program. Writing rules
- Rule configuration: A program’s complete rule state: its rule sets, rules, positions, statuses, actions, and budgets, treated as one unit for changes, history, and rollback. Managing rule configuration
- Rule configuration simulation: A dry run of a program’s complete rule configuration against many sample or historical events. It simulates the live configuration, or a draft you send as
rule_configuration, and shows each event’s rule trace and balance changes. It leaves live rules, balances, budgets, and participant state unchanged. The results remain available to review. Testing - Rule configuration version: A counter on the program that goes up by one on every change to its rule configuration. Scrip stores the full configuration at each version, so you can list past versions, see what changed (the history endpoints call these records “revisions”), and roll back. Passing the current version with a write rejects the request if someone else changed the configuration first. Managing rule configuration
- Rule set: A named, ordered container for rules. Sets run in order, rules run in order inside each set, and
stop_after_matchstops only its own set. Rule sets - Rules engine: The part of the rewards engine that evaluates event data and current state against rules. Core concepts
S
- Sandbox: A persistent environment where you build and test programs, events, balances, gift-card fulfillment, and webhook deliveries without touching production. Its API keys start with
sk_test_, and gift-card fulfillment uses test accounts. Environments lists what it keeps. Test in the sandbox walks through a first integration. - Scale: The immutable number of decimal places for an asset’s amounts. Asset configuration
- Scheduled event: A system event that a
SCHEDULE_EVENTaction sets up to fire later for a chosen target. Scrip stores it as a one-time automation withsource: RULE_ACTION, so it appears in the automations list. Rule actions - Settlement: The card-side confirmation of a purchase, carried by a settle event your application sends. Settlement turns a pending reward into available value. Settlement is not a capture. Pending rewards
- State definition: Your organization’s record of one counter or tag key for one entity scope: its
label, a counter’sunitandwindow, and the display fieldsdescription,icon_url, andcategorythat apps use to show the key, such as a tag as a badge. State management - Statement: A running-balance view of one participant, group, or program wallet for one asset: each posting in posting order with the balance after it, plus opening and closing balances for the window. Covers all buckets, or only the buckets you select with
bucket. Reporting stop_after_match: A flag on a rule that skips the remaining rules in that rule’s set after a successful match. Other sets continue. Writing rules covers the field. Rule sets covers how the stop interacts with set order.- System account: One of the ledger’s Scrip-side accounts that value comes from or goes to:
SYSTEM_ISSUANCE(source of minted value),SYSTEM_REDEMPTION(destination of redeemed value), andSYSTEM_BREAKAGE(destination of expired or forfeited value). Ledger - System event: An event Scrip generates to drive time-based or lifecycle behavior, such as an automation firing, including a scheduled event. Its
sourceisSYSTEM. Event processing
T
- Tag: A boolean label on a participant or group, such as
vip, readable in conditions. State management - Target: The participant, group, or program an action applies to. Defaults to the event’s participant. A dynamic target is looked up with an expression, such as a referrer ID saved on the participant. Rule actions
- Tier: A progression track in a program with an ordered set of tier levels. A participant is on a tier at one level. Tiers
- Tier level: A ranked position within a tier that a participant can hold, such as
gold. Tiers - Tier period: The repeating stretch of calendar time a
PERIODICtier counts, such as a year, a quarter, or a month.periodssets how many count together: 12 one-month periods count the last 12 months. Tiers - Transfer: A movement of value from one participant or group to up to 100 recipients, recorded as one journal entry. Transfers
- Trigger: The condition that determines when an automation fires: a recurring cron schedule, a one-time moment, or participant state. Automations
V
- Value per unit: What one unit of an asset is worth to you in money, set as
value_per_unit, such as0.01USD for a point. A custom reward can set its own, one per currency, asvalues_per_unit. A currency asset whose scale matches its currency starts at 1 of that currency. It never changes a balance. The program activity report uses it to value what each program owes, and a reward source can derive its rate from it. Asset configuration - Vesting: Holding credited value in the
DEFERREDbucket until its maturity date, set withmatures_inormatures_aton aCREDITto aLOTasset. Lots and expiration - Void pending: Cancelling pending rewards that were credited straight into
HELD, used to reverse all or part of a card authorization. The rule action and the balance operation type are bothVOID_PENDING. Balance operations
W
- Webhook endpoint: Your HTTPS URL that receives webhook events and verifies their signature. Webhooks
- Webhook event: A notification Scrip delivers to a webhook endpoint when something happens, named by a dotted type such as
balance.credited. A movement webhook event reports one journal entry. A lifecycle webhook event reports a status change. Webhooks