# Loyal Spark Check Voucher Status

> Loyal Spark Check Voucher 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).

Checks the current status of a loyalty voucher on the Loyal Spark onchain loyalty protocol running on Base L2

## Facts

- Endpoint: POST https://api.loyalspark.online/x402-gateway/mcp-tools/check_voucher_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-check-voucher-status-629f4b8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qckfUfaxUjU2PAVwfW6rK

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-check-voucher-status-629f4b8d -d '<json body>'
```

Example prompt: Can you check the current status of my Loyal Spark voucher with code SPARK-7842XQ — I want to know if it's still valid and hasn't been redeemed yet?

## When to prefer this

Use this endpoint when you need to verify the current redemption or validity state of a specific loyalty voucher issued by the Loyal Spark protocol on Base L2, before attempting to redeem, trade, or display it to a user. Prefer this over a generic blockchain state query when working within the Loyal Spark loyalty ecosystem.

## Known failure modes

- Voucher ID not found — returns error indicating the voucher does not exist on Base L2
- Invalid voucher code format — returns validation error
- Payment not received — x402 payment of $0.01 USDC required per call, returns 402 if unpaid
- Network or RPC error querying Base L2 state — returns 500 or timeout
- Voucher belongs to a different program or chain — may return not-found or mismatch error

## 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 containing the voucher's current status (e.g. active, redeemed, expired, invalid), along with any relevant metadata such as expiry date, redemption timestamp, associated loyalty program, and token balance or value tied to the voucher.

## 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-check-voucher-status-629f4b8d/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)
