Finance > Rewards

Mark as paid/pending

PATCH update state

Endpoint

PATCH /api/v1/finance/rewards/bulk_update

Parameters

Name Description In
reward[reward_ids] required Array of reward ids
reward[state] required State to update ["paid", "pending"]

Request

Route

PATCH /api/v1/finance/rewards/bulk_update

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1MDYiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNzEsImV4cCI6MTc2NjIxODM3MSwianRpIjoiNzQ3NGRlNjUtMmU1YS00NTZiLThmMzktYzQ5ZTNhYjBhZGNkIn0.EkozZsabSKP-a2TP_4RXAKHKTynvn2PukK8ql7EMYPg
Host: example.org
Cookie: 

Body

{
  "reward": {
    "reward_ids": [
      499,
      504,
      509,
      514,
      519
    ],
    "state": "paid",
    "passcode": 1234
  }
}

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: 5
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"f9b678e94230a8667545a3b3c139d603"
cache-control: max-age=0, private, must-revalidate
x-request-id: 23c8dd6f-ddc5-4db7-a639-6785c7ee11cd
x-runtime: 0.028426
content-length: 1782

Body

{
  "rewards": [
    {
      "id": 499,
      "bonus": "10.0",
      "completed_at": "2025-11-10T00:00:00.000Z",
      "referee": {
        "id": 497,
        "financial_company_id": null,
        "first_name": "Hayden",
        "last_name": "Legros",
        "profile_id": 183,
        "referral_code": "662101"
      },
      "referrer": {
        "id": 496,
        "financial_company_id": null,
        "first_name": "Marcie",
        "last_name": "Denesik",
        "profile_id": 182,
        "referral_code": "817107"
      },
      "state": "paid"
    },
    {
      "id": 504,
      "bonus": "10.0",
      "completed_at": "2025-11-10T00:00:00.000Z",
      "referee": {
        "id": 499,
        "financial_company_id": null,
        "first_name": "Charmain",
        "last_name": "Russel",
        "profile_id": 185,
        "referral_code": "703738"
      },
      "referrer": {
        "id": 498,
        "financial_company_id": null,
        "first_name": "Shanel",
        "last_name": "Herzog",
        "profile_id": 184,
        "referral_code": "530468"
      },
      "state": "paid"
    },
    {
      "id": 509,
      "bonus": "10.0",
      "completed_at": "2025-11-10T00:00:00.000Z",
      "referee": {
        "id": 501,
        "financial_company_id": null,
        "first_name": "Mose",
        "last_name": "McDermott",
        "profile_id": 187,
        "referral_code": "633913"
      },
      "referrer": {
        "id": 500,
        "financial_company_id": null,
        "first_name": "Keneth",
        "last_name": "Crona",
        "profile_id": 186,
        "referral_code": "847108"
      },
      "state": "paid"
    },
    {
      "id": 514,
      "bonus": "10.0",
      "completed_at": "2025-11-10T00:00:00.000Z",
      "referee": {
        "id": 503,
        "financial_company_id": null,
        "first_name": "Arlie",
        "last_name": "Ortiz",
        "profile_id": 189,
        "referral_code": "893319"
      },
      "referrer": {
        "id": 502,
        "financial_company_id": null,
        "first_name": "Elizabeth",
        "last_name": "Stroman",
        "profile_id": 188,
        "referral_code": "239623"
      },
      "state": "paid"
    },
    {
      "id": 519,
      "bonus": "10.0",
      "completed_at": "2025-11-10T00:00:00.000Z",
      "referee": {
        "id": 505,
        "financial_company_id": null,
        "first_name": "Monroe",
        "last_name": "Stokes",
        "profile_id": 191,
        "referral_code": "985319"
      },
      "referrer": {
        "id": 504,
        "financial_company_id": null,
        "first_name": "Rolande",
        "last_name": "Considine",
        "profile_id": 190,
        "referral_code": "499995"
      },
      "state": "paid"
    }
  ]
}