Skip to main content
GET
Get a program
Returns a single program by its id. The response includes the program’s status, on_unknown_participant enrollment policy, and full configuration. Use this to verify a program is ACTIVE before submitting events, or to inspect its enrollment policy.
For usage patterns and examples, see the Programs guide.

Authorizations

Authorization
string
header
default:sk_...
required

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

Path Parameters

program_id
string<uuid>
required

The program's id.

Response

Program details

A rewards program: the container for assets, rules and participants.

created_at
string<date-time>

When the program was created

Example:

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

deleted_at
string<date-time>

Set when the program is archived

Example:

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

description
string

Optional program description

Example:

"Quarterly sales incentive program"

external_id
string

External identifier, unique per organization (absent when unset).

Example:

"store-101"

folder_id
string<uuid>

Parent folder UUID (absent for top-level programs).

Example:

"2c4e6a80-b1d3-4f57-8a92-c3e5a7b9d134"

fulfillment_max_face_value_minor
integer

Maximum face value of a single gift-card redemption in fiat minor units. Absent when unlimited.

Example:

10000

fulfillment_participant_max_amount_minor
integer

Maximum total gift-card face value per participant in the rolling period, in fiat minor units. Absent when unlimited.

Example:

25000

fulfillment_participant_max_count
integer

Maximum gift-card redemptions per participant in the rolling period. Absent when unlimited.

Example:

3

fulfillment_participant_window_seconds
integer

Rolling period, in seconds, used for each participant's gift-card limits. Present only when at least one limit is set.

Example:

86400

id
string<uuid>

The id of the program. Use it in program_id fields and paths.

Example:

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

ledger_entity_id
string<uuid>

The id of the program's wallet. Send it as redemption_target_entity_id on a program to post redeemed value to this program's wallet. It is not the program's id.

Example:

"5e7a9c13-2d4f-4b68-9a0c-e1b3d5f7a920"

metadata
object

Key-value string labels attached to this program (empty object when none).

Example:
name
string

The name of the rewards program.

Example:

"Acme Rewards"

on_unknown_participant
string

How events for unregistered participants are handled

Example:

"CREATE"

pending_redemption_ttl
string

Optional program-specific bound between 60 seconds and one year. Without a request or program bound, pending redemptions default to 90 days.

Example:

"24h"

redemption_target_entity_id
string<uuid>

The ledger_entity_id of the group or program whose wallet receives redeemed value. Present only when redemption_target_type is LEDGER_ENTITY.

Example:

"5e7a9c13-2d4f-4b68-9a0c-e1b3d5f7a920"

redemption_target_type
enum<string>

Where redeemed value is posted.

Available options:
SYSTEM_REDEMPTION,
SYSTEM_BREAKAGE,
LEDGER_ENTITY
Example:

"SYSTEM_REDEMPTION"

status
enum<string>

The rewards program's lifecycle state.

Available options:
ACTIVE,
SUSPENDED,
ARCHIVED
Example:

"ACTIVE"

updated_at
string<date-time>

When the program was last modified

Example:

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