Finance > Rewards

List rewards

GET rewards

Endpoint

GET /api/v1/finance/rewards

Parameters

Name Description In
by_name Filter by name
from_date Filter by date
to_date Filter by date
by_kind required Filter by kind ["hourly", "referral"]

Request

Route

GET /api/v1/finance/rewards

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0MzkiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NjAsImV4cCI6MTc0MDE0MzU2MCwianRpIjoiMDE0MWU4NjAtMzM4Ni00YjBiLTg1MjgtNTI5NmY3MjMyMzZkIn0.8RQhM1f_mEnE3ARpWLcWIJzRIWmdIiDHvJP-e8F2Fnc
Host: example.org
Cookie: 

Query Parameters

{}=

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
per-page: 20
total: 13
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"0cb16787352c8953da7e7069655d7425"
cache-control: max-age=0, private, must-revalidate
x-request-id: 45746192-659e-41cb-8ae9-d483e41c08c3
x-runtime: 0.023689
content-length: 3899

Body

{
  "rewards": [
    {
      "id": 335,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 414,
        "first_name": "Otis",
        "last_name": "Gutmann",
        "profile_id": 118,
        "referral_code": "344354"
      },
      "referrer": {
        "id": 413,
        "first_name": "Nathanael",
        "last_name": "Pfeffer",
        "profile_id": 117,
        "referral_code": "137164"
      },
      "state": "pending"
    },
    {
      "id": 340,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 416,
        "first_name": "Catherine",
        "last_name": "Cummerata",
        "profile_id": 120,
        "referral_code": "361511"
      },
      "referrer": {
        "id": 415,
        "first_name": "Inga",
        "last_name": "Batz",
        "profile_id": 119,
        "referral_code": "794484"
      },
      "state": "pending"
    },
    {
      "id": 345,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 418,
        "first_name": "Chauncey",
        "last_name": "Grant",
        "profile_id": 122,
        "referral_code": "779251"
      },
      "referrer": {
        "id": 417,
        "first_name": "Laurena",
        "last_name": "Weimann",
        "profile_id": 121,
        "referral_code": "512065"
      },
      "state": "pending"
    },
    {
      "id": 350,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 420,
        "first_name": "Ronnie",
        "last_name": "Legros",
        "profile_id": 124,
        "referral_code": "554183"
      },
      "referrer": {
        "id": 419,
        "first_name": "Breann",
        "last_name": "Feest",
        "profile_id": 123,
        "referral_code": "144234"
      },
      "state": "pending"
    },
    {
      "id": 355,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 422,
        "first_name": "Emilie",
        "last_name": "Rosenbaum",
        "profile_id": 126,
        "referral_code": "343489"
      },
      "referrer": {
        "id": 421,
        "first_name": "Tawanda",
        "last_name": "Price",
        "profile_id": 125,
        "referral_code": "324196"
      },
      "state": "pending"
    },
    {
      "id": 360,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 424,
        "first_name": "Isaac",
        "last_name": "Koepp",
        "profile_id": 128,
        "referral_code": "590106"
      },
      "referrer": {
        "id": 423,
        "first_name": "Maybell",
        "last_name": "Tromp",
        "profile_id": 127,
        "referral_code": "461537"
      },
      "state": "pending"
    },
    {
      "id": 365,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 426,
        "first_name": "Alvaro",
        "last_name": "Batz",
        "profile_id": 130,
        "referral_code": "541078"
      },
      "referrer": {
        "id": 425,
        "first_name": "Tobias",
        "last_name": "Bogan",
        "profile_id": 129,
        "referral_code": "876248"
      },
      "state": "pending"
    },
    {
      "id": 370,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 428,
        "first_name": "Rodrick",
        "last_name": "Parisian",
        "profile_id": 132,
        "referral_code": "157732"
      },
      "referrer": {
        "id": 427,
        "first_name": "Abby",
        "last_name": "Mante",
        "profile_id": 131,
        "referral_code": "417980"
      },
      "state": "pending"
    },
    {
      "id": 375,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 430,
        "first_name": "Arnoldo",
        "last_name": "Schmidt",
        "profile_id": 134,
        "referral_code": "655625"
      },
      "referrer": {
        "id": 429,
        "first_name": "Dominique",
        "last_name": "Schinner",
        "profile_id": 133,
        "referral_code": "469036"
      },
      "state": "paid"
    },
    {
      "id": 380,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 432,
        "first_name": "Kim",
        "last_name": "Padberg",
        "profile_id": 136,
        "referral_code": "572265"
      },
      "referrer": {
        "id": 431,
        "first_name": "Marcel",
        "last_name": "Blick",
        "profile_id": 135,
        "referral_code": "756617"
      },
      "state": "paid"
    },
    {
      "id": 385,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 434,
        "first_name": "Enoch",
        "last_name": "Lueilwitz",
        "profile_id": 138,
        "referral_code": "762617"
      },
      "referrer": {
        "id": 433,
        "first_name": "Trisha",
        "last_name": "Koelpin",
        "profile_id": 137,
        "referral_code": "562471"
      },
      "state": "paid"
    },
    {
      "id": 390,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 436,
        "first_name": "Sharri",
        "last_name": "Zulauf",
        "profile_id": 140,
        "referral_code": "304425"
      },
      "referrer": {
        "id": 435,
        "first_name": "Gustavo",
        "last_name": "O'Keefe",
        "profile_id": 139,
        "referral_code": "595251"
      },
      "state": "paid"
    },
    {
      "id": 395,
      "bonus": "10.0",
      "completed_at": "2025-01-13T00:00:00.000Z",
      "referee": {
        "id": 438,
        "first_name": "Barbar",
        "last_name": "Kuphal",
        "profile_id": 142,
        "referral_code": "555870"
      },
      "referrer": {
        "id": 437,
        "first_name": "Alyse",
        "last_name": "Fritsch",
        "profile_id": 141,
        "referral_code": "515180"
      },
      "state": "paid"
    }
  ]
}