# Loyal Spark Update Reward Status

> Loyal Spark Update Reward Status is a paid API for AI agents from api.loyalspark.online, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Updates the status of a loyalty reward on the Loyal Spark onchain protocol running on Base L2

## Facts

- Endpoint: POST https://api.loyalspark.online/x402-gateway/mcp-tools/update_reward_status
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/loyal-spark-update-reward-status-ed9954a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rmAY0-V7rE0YSA1-Qi54k

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability loyal-spark-update-reward-status-ed9954a2 -d '<json body>'
```

Example prompt: On Loyal Spark, update the status of reward ID 'rwrd_abc123' in my 'CoffeeClub' loyalty program to 'redeemed' — it was just claimed by a customer.

## When to prefer this

Use this endpoint when you need to change the lifecycle state of an existing loyalty reward on the Loyal Spark protocol — for example marking it as redeemed, expired, or inactive after a customer claims it. Prefer this over creating a new reward when the reward already exists and only its status needs to change.

## Known failure modes

- Invalid or non-existent reward ID returns an error response
- Unauthorized access if caller lacks permission to modify the reward
- Invalid status value supplied results in validation error
- Network or Base L2 chain latency causes timeout
- Payment of $0.01 USDC not fulfilled causes x402 payment required error
- Reward already in terminal state (e.g. already redeemed) may reject update

## How this service works

Onchain loyalty protocol on Base L2. Launch B20 rewards, earn and redeem tokens, trade P2P, automate with AI agents via REST and MCP.

## Output

A JSON response confirming the updated status of the specified loyalty reward, including the reward ID, new status value, and any relevant transaction or confirmation details from the Base L2 chain.

## Example request

```json
{
 "id": 1,
 "method": "tools/call",
 "params": {
  "name": "get_platform_info",
  "arguments": {}
 },
 "jsonrpc": "2.0"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "toolName",
    "inputSchema"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "mcp"
    },
    "example": {
     "type": "object"
    },
    "toolName": {
     "type": "string"
    },
    "transport": {
     "enum": [
      "streamable-http",
      "sse"
     ],
     "type": "string"
    },
    "description": {
     "type": "string"
    },
    "inputSchema": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/loyal-spark-update-reward-status-ed9954a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.loyalspark.online](https://www.zero.xyz/host/api.loyalspark.online/llms.txt)
