---
title: "Processes loyalty rewards for eligible invoices after user confirmation"
method: POST
path: "/api/v1/jobs/{jobId}/referrals/loyalty-rewards/process"
tags: ["JobReferral"]
---

# Processes loyalty rewards for eligible invoices after user confirmation

`POST /api/v1/jobs/{jobId}/referrals/loyalty-rewards/process`

## Request

- Base URL: `https://api.fireserviceusa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fireserviceusa.com/api/v1/jobs/{jobId}/referrals/loyalty-rewards/process`
- Auth: none declared

## Path parameters

- `jobId` integer, required

## Response `200`

Success

- LoyaltyRewardsProcessResultViewModel: View model for the result of processing loyalty rewards
  - `Success` boolean: Whether the processing was successful
  - `CreatedRewardsCount` integer: The number of loyalty reward records created
  - `TotalRewardAmount` number, double: The total reward amount created
  - `CreatedRewardIds` integer[], nullable: The IDs of the created loyalty reward records
  - `Message` string, nullable: A result message

---

[API](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api.md) - [All operations](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/revisions/96ea2ea68d87?raw)
