Reward Sources

List reward sources

List a program's reward sources. This list is not filtered by time, so it does not accept created_after or created_before.

get/v1/programs/{program_id}/reward-sources

Request

  • Base URL: https://api.scrip.dev
  • URL: https://api.scrip.dev/v1/programs/{program_id}/reward-sources
  • Auth: HTTP bearer

Path parameters

program_idstring required

The program's id.

Response

Reward sources

Example response

{
  "data": [
    {
      "asset_id": "a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02",
      "category_filter": [
        "GIFT_CARD"
      ],
      "country_filter": [
        "US"
      ],
      "created_at": "2027-01-15T10:30:00Z",
      "default_rate": "1.5",
      "fulfillment_account_id": "71f2a9d4-3b6e-4c8a-9f1d-5e2b8c7a0091",
      "id": "9a0c2e4b-6d81-4f35-a7c9-1b3d5f7e9a14",
      "policy": "ALL",
      "program_id": "8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01",
      "status": "ACTIVE",
      "updated_at": "2027-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "YWJjMTIz"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.