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.eyJzdWIiOiI0OTYiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA2OTQ3NTUsImV4cCI6MTc2MzI4Njc1NSwianRpIjoiODEwYzNjZjktNmRlMS00Mjk2LTg2ZmEtZTQ0YjBmNThjYmQ3In0.TXMnwB8FsJvC-6yVODHJuVuTSqE0cRufkjA94H3zx2Y
Host: example.org
Cookie: 

Body

{
  "reward": {
    "reward_ids": [
      487,
      492,
      497,
      502,
      507
    ],
    "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/"5ae0e0eb2424b2f5c35e307a682e1469"
cache-control: max-age=0, private, must-revalidate
x-request-id: 22b7339d-6900-4aa5-a4e9-dd45ce58bf4c
x-runtime: 0.028178
content-length: 1489

Body

{
  "rewards": [
    {
      "id": 487,
      "bonus": "10.0",
      "completed_at": "2025-10-06T00:00:00.000Z",
      "referee": {
        "id": 487,
        "first_name": "Josiah",
        "last_name": "Zieme",
        "profile_id": 177,
        "referral_code": "963026"
      },
      "referrer": {
        "id": 486,
        "first_name": "Dino",
        "last_name": "Crooks",
        "profile_id": 176,
        "referral_code": "511052"
      },
      "state": "paid"
    },
    {
      "id": 492,
      "bonus": "10.0",
      "completed_at": "2025-10-06T00:00:00.000Z",
      "referee": {
        "id": 489,
        "first_name": "Jerald",
        "last_name": "Streich",
        "profile_id": 179,
        "referral_code": "272995"
      },
      "referrer": {
        "id": 488,
        "first_name": "Valeri",
        "last_name": "Hessel",
        "profile_id": 178,
        "referral_code": "357607"
      },
      "state": "paid"
    },
    {
      "id": 497,
      "bonus": "10.0",
      "completed_at": "2025-10-06T00:00:00.000Z",
      "referee": {
        "id": 491,
        "first_name": "Donny",
        "last_name": "Ziemann",
        "profile_id": 181,
        "referral_code": "319122"
      },
      "referrer": {
        "id": 490,
        "first_name": "Alvaro",
        "last_name": "Ratke",
        "profile_id": 180,
        "referral_code": "977826"
      },
      "state": "paid"
    },
    {
      "id": 502,
      "bonus": "10.0",
      "completed_at": "2025-10-06T00:00:00.000Z",
      "referee": {
        "id": 493,
        "first_name": "Lenard",
        "last_name": "Ward",
        "profile_id": 183,
        "referral_code": "547292"
      },
      "referrer": {
        "id": 492,
        "first_name": "Zane",
        "last_name": "Swaniawski",
        "profile_id": 182,
        "referral_code": "735529"
      },
      "state": "paid"
    },
    {
      "id": 507,
      "bonus": "10.0",
      "completed_at": "2025-10-06T00:00:00.000Z",
      "referee": {
        "id": 495,
        "first_name": "Brandi",
        "last_name": "Terry",
        "profile_id": 185,
        "referral_code": "564618"
      },
      "referrer": {
        "id": 494,
        "first_name": "Bryan",
        "last_name": "Ruecker",
        "profile_id": 184,
        "referral_code": "412006"
      },
      "state": "paid"
    }
  ]
}