Skip to main content
GET
Get reward source
Retrieve the account, asset, product-selection policy, filters, and default rate for a source. To see the rewards created from these settings, list the program’s rewards.
See Reward sources for setup and pricing examples.

Authorizations

Authorization
string
header
default:sk_...
required

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

Path Parameters

program_id
string
required

The program's id.

reward_source_id
string
required

The reward source's id.

Response

OK

A reward source: a program's link to a fulfillment account, with the rules for which products it offers.

asset_id
string<uuid>

Asset participants spend on these rewards

Example:

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

category_filter
string[]

ALL-policy category filter (null = no filter)

Example:
country_filter
string[]

ALL-policy country filter (null = no filter)

Example:
created_at
string<date-time>

When the reward source was created (RFC 3339)

Example:

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

default_rate
string

Asset units per currency minor unit of face value (decimal string)

Example:

"1.5"

fulfillment_account_id
string<uuid>

Fulfillment account supplying these products

Example:

"71f2a9d4-3b6e-4c8a-9f1d-5e2b8c7a0091"

id
string<uuid>

The id of the reward source. Use it in reward_source_id fields and paths.

Example:

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

own_price_count
integer

How many of those rewards have their own price: a rate on their product settings that replaces the source's default_rate.

Example:

12

policy
string

Product selection: MANUAL (nothing until products are enabled) or ALL

Example:

"ALL"

program_id
string<uuid>

Program this source belongs to

Example:

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

reward_count
integer

How many rewards the source puts in the catalog now. Archived rewards are not counted.

Example:

1812

status
enum<string>

The reward source's lifecycle state: ACTIVE or ARCHIVED.

Available options:
ACTIVE,
ARCHIVED
Example:

"ACTIVE"

updated_at
string<date-time>

When the reward source was last modified (RFC 3339)

Example:

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