# Loyal Spark Redeem My Reward

> Loyal Spark Redeem My Reward 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-15).

Redeems a user's onchain ERC-20 loyalty reward tokens on the Base L2 network via the Loyal Spark protocol.

## Facts

- Endpoint: POST https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/redeem_my_reward
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/loyal-spark-redeem-my-reward-ade89e66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ABBAUD-3MZpnehjCQf5RJ

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-redeem-my-reward-ade89e66 -d '<json body>'
```

Example prompt: Redeem my accumulated Loyal Spark reward tokens on Base — go ahead and submit the redemption transaction for my wallet using my current reward balance.

## When to prefer this

Use this endpoint when an AI agent needs to execute an actual onchain redemption of ERC-20 loyalty reward tokens on the Base L2 network via the Loyal Spark protocol. Prefer this over generic token transfer endpoints because it is specifically designed for loyalty reward redemption semantics including burn-and-claim logic. Ideal when automating loyalty workflows with MCP-compatible agents.

## Known failure modes

- Insufficient reward token balance — user does not hold enough tokens to redeem
- Invalid or missing wallet address — request rejected with 400 error
- Smart contract revert — on-chain transaction fails due to contract state issues
- Network congestion on Base L2 — delayed or failed transaction submission
- Unauthorized caller — wallet not authorized to redeem for the specified account
- Payment not received — x402 micropayment of $0.01 USDC not settled, request blocked

## 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

Returns a JSON object confirming the redemption, including the transaction hash on Base L2, the number of ERC-20 reward tokens redeemed, and the updated remaining reward balance for the user's wallet.

## 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-redeem-my-reward-ade89e66/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)
