x402 List

x402 Protocol Service Directory

Loyal Spark

Blockchain PAYMENT-READY imported

payment-ready until 2026-09-11

imported from the x402 Bazaar, not submitted by the operator · own this service? claim it · or ask to be removed

Paid API for onchain loyalty programs on Base: loyalty token deployment, minting to customer wallets, rewards catalog, vouchers and P2P exchange, usable by agents over REST or MCP.

Pay from $0.001 to $0.01 per request in USDC on Base, settled onchain via the x402 protocol, no signup, no API key needed.

measured since 2026-04-17 (start of our harvest window) · $571.74 all-time · settled via coinbase

BASE URL https://api.loyalspark.online ENDPOINTS 10 NETWORK Base ASSET USDC MEMBER SINCE 2026-07-20 MONITORED SINCE 2026-07-20

VERDICT

ranking generation 3

strong 96/100 #2 of 41 in Blockchain by measured score

What the score read on this service: status online, 99.8% uptime 30d, 458ms response p95, x402 compliance 14 of 14, $0.001 price against the category, on-chain traction measured. Each of those is measured, and each is published in full below.

The score comes from our own monitoring, never from reviews, operator claims, or a language model: reliability, x402 compliance, price against the category, a deterministic risk flag, and a small on-chain traction term, weighted by ranking generation 3. It is not placement anyone can buy: the paid verify tier is reported beside it and is not one of its inputs. Every component below stays published and read-only.

It is a score inside Blockchain, and only there: price and speed are scored against the whole category field, every listing in it that carries no danger flag, the scored service included, which here means 41 listings, this one among them. That set is wider than the 41 the position above is counted against, because a listing we have measured too little of to rank still sits in the field the price and the speed are normalized over. The same service in a different field would read differently. The same engine answers GET /api/v1/best, and asked for a different pool (the whole directory, or another filter) it returns a different number for this service under this same ranking generation. Neither is more correct: they answer different questions, and the methodology states which is which.

Bands on the 0 to 100 measured score: strong at 93 and above, solid from 75, mixed from 55, weak below 55. Price and speed are scored against the whole category field, every listing in it that carries no danger flag, the scored service included, so the score places a service in its own field.

ALTERNATIVES IN BLOCKCHAIN

Other Blockchain services in this directory, ordered by the same measured score. The figures are ours: 30-day uptime from our own probes, 30-day settlement volume read on-chain (a conservative undercount, and null where we cannot measure it, never a zero).

Ranked alternative x402 services in the same category, with band, measured score, 30-day uptime and 30-day on-chain settlement volume
SERVICE BAND SCORE UPTIME 30D VOL 30D
Utilia Solana Preflight strong 96 99.9% ---
OneSource strong 96 100% $72.01
GenTech Labs x402 Gateway strong 95 99.9% ---
paypi — Solana intelligence for AI agents strong 94 100% ---
Testnet ETH Merchant solid 89 100% ---
5 of 40 other ranked services in Blockchain · see the whole category

ASSESSMENT

updated 6h ago

The parts the verdict above is computed from, each with its proof. Click any chip. Measured values stay read-only; unknown is honest, and an unknown is never counted as a zero.

reliability 99.8%
uptime 24h
100%
uptime 7d
100%
uptime 30d
99.8%
uptime 90d
99.9%
response p95
458ms
avg response
209ms
total checks
2,743

Measured on the unpaid 402 handshake, not the paid call. A service can 402 correctly and still fail after payment.

compliance A (14/14)

14 of 14 x402 conformance checks pass. Full checklist below.

jump to compliance checklist

price $0.001 to $0.01 (p19 in Blockchain)
price (min)
$0.001
price (max)
$0.01
category percentile (min)
p19 in Blockchain
category percentile (max)
p29 in Blockchain
endpoints / prices
10 / 3
model
tiered
stability
100%
risk clean

No deterministic risk flag. Risk fires only on an exact blocklist match, or a reserved-brand name with a mismatched verified payTo. Never from low uptime, a high price, or a model guess.

domain age
319d
registrar
PDR Ltd. d/b/a PublicDomainRegistry.com
hosting
custom
domain created
2025-10-17

Identity facts, not a risk score.

traction $136.736 30d · 93 buyers
volume 30d
$136.736
buyers 30d
93
settlements 30d
18,807
measured since
2026-04-17 (start of our harvest window)
last settlement
2026-09-04
top buyer share
2% of 30d volume
trend 7d vs 30d
0.97x the 30d daily rate
networks
eip155:8453
volume all-time
$571.74
settlements all-time
84,045
median settlement 30d
$0.01
max settlement 30d
$0.05
settled via
coinbase ($136.74, 18,807 tx)

Conservative undercount: only USDC settlements via facilitators we measure are counted. A measured floor, not an estimate.

Top buyer share is a concentration signal, not part of the ranking score.

CHANGES

1 in 30d

Payout, price, and schema changes detected on this service's x402 wire. A payout rotation at an unchanged price shows up here even when nothing else moves. Full feed at /changes.

changes schema changed 18h ago (1 in 30d)

schema changed · 18h ago

schema removed GET /x402-gateway/recipient-api/balance exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/balance?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed GET /x402-gateway/recipient-api/balances exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/balances?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed GET /x402-gateway/recipient-api/offers exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/offers?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed GET /x402-gateway/recipient-api/rewards exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/rewards?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed GET /x402-gateway/recipient-api/vouchers exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/vouchers?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed POST /x402-gateway/recipient-api/accept-offer exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/accept-offer?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed POST /x402-gateway/recipient-api/cancel-offer exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/cancel-offer?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed POST /x402-gateway/recipient-api/prepare-transfer exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/prepare-transfer?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed POST /x402-gateway/recipient-api/redeem-reward exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/redeem-reward?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema removed POST /x402-gateway/recipient-api/workflow/prepare-reward-redemption exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/workflow/prepare-reward-redemption?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added GET /x402-gateway/recipient-api/balance exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/balance?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added GET /x402-gateway/recipient-api/balances exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/balances?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added GET /x402-gateway/recipient-api/offers exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/offers?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added GET /x402-gateway/recipient-api/rewards exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/rewards?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added GET /x402-gateway/recipient-api/vouchers exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/vouchers?method=GET {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added POST /x402-gateway/recipient-api/accept-offer exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/accept-offer?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added POST /x402-gateway/recipient-api/cancel-offer exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/cancel-offer?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added POST /x402-gateway/recipient-api/prepare-transfer exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/prepare-transfer?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added POST /x402-gateway/recipient-api/redeem-reward exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/redeem-reward?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

schema added POST /x402-gateway/recipient-api/workflow/prepare-reward-redemption exact eip155:8453 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 USDC 2 application/json 300 https://api.loyalspark.online/x402-gateway/recipient-api/workflow/prepare-reward-redemption?method=POST {"brand":"Loyal Spark","builderCode":"bc_wdmnog7m","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","documentation":"https://loyalspark.online/for-agents","name":"USD Coin","provider":"Loyal Spark","version":"2","website":"https://loyalspark.online"}

see all changes for this service

WHAT IT DOES

ai-derived

Loyal Spark is an onchain loyalty platform that allows businesses to create and manage reward programs, while customers can earn, track, and redeem rewards through blockchain transactions.

category
blockchain-loyalty
in
body
blockchainloyaltyrewardsvouchersoffersbalanceredemption

AI-generated summary. The measured data is never altered by it.

ENDPOINTS

Service endpoints with HTTP method, path, description, pricing, and network
METHOD PATH DESCRIPTION PRICE NETWORK ASSET 402 CHANNEL
POST /x402-gateway/recipient-api/accept-offer Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.01 Base USDC header
GET /x402-gateway/recipient-api/balance Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.001 Base USDC header
GET /x402-gateway/recipient-api/balances Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.001 Base USDC header
POST /x402-gateway/recipient-api/cancel-offer Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.005 Base USDC header
GET /x402-gateway/recipient-api/offers Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.001 Base USDC header
POST /x402-gateway/recipient-api/prepare-transfer Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.005 Base USDC header
POST /x402-gateway/recipient-api/redeem-reward Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.01 Base USDC header
GET /x402-gateway/recipient-api/rewards Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.001 Base USDC header
GET /x402-gateway/recipient-api/vouchers Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.001 Base USDC header
POST /x402-gateway/recipient-api/workflow/prepare-reward-redemption Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest. $0.005 Base USDC header
10 endpoints

REQUEST / RESPONSE EXAMPLE

An unpaid request to POST /x402-gateway/recipient-api/accept-offer returns HTTP 402 with the payment terms. Settle onchain via your facilitator, then retry with the X-Payment header.

// request
curl -i -X POST 'https://api.loyalspark.online/x402-gateway/recipient-api/accept-offer'
// 402 response (captured by monitor) · 10 payloads · click to expand
[
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "1000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/rewards?method=GET",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "type": "http",
                "method": "GET",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "queryParams": {
                  "token_address": "0x0000000000000000000000000000000000000001"
                }
              },
              "output": {
                "type": "json",
                "schema": {
                  "type": "object",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "required": [
                    "rewards"
                  ],
                  "properties": {
                    "rewards": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                },
                "example": {
                  "rewards": []
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "token_address"
                ],
                "properties": {
                  "token_address": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "description": "EVM address on Base (eip155:8453)."
                  }
                },
                "additionalProperties": false
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method"
                  ],
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "HEAD",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "GET",
            "bodyType": "query",
            "description": "HTTP GET https://api.loyalspark.online/x402-gateway/recipient-api/rewards?method=GET — x402-gateway /recipient-api/rewards. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "token_address"
              ],
              "properties": {
                "token_address": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "description": "EVM address on Base (eip155:8453)."
                }
              },
              "additionalProperties": false
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "rewards"
              ],
              "properties": {
                "rewards": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "1000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/rewards?method=GET",
      "method": "GET",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "queryParams": {
              "token_address": "0x0000000000000000000000000000000000000001"
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "rewards"
              ],
              "properties": {
                "rewards": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            },
            "example": {
              "rewards": []
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "token_address"
            ],
            "properties": {
              "token_address": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "description": "EVM address on Base (eip155:8453)."
              }
            },
            "additionalProperties": false
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "1000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/vouchers?method=GET",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "type": "http",
                "method": "GET",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "queryParams": {
                  "token_address": "0x0000000000000000000000000000000000000001"
                }
              },
              "output": {
                "type": "json",
                "schema": {
                  "type": "object",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "required": [
                    "vouchers"
                  ],
                  "properties": {
                    "vouchers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                },
                "example": {
                  "vouchers": []
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "limit": {
                    "type": "string",
                    "pattern": "^[0-9]+$"
                  },
                  "status": {
                    "type": "string"
                  },
                  "token_address": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "description": "EVM address on Base (eip155:8453)."
                  }
                },
                "additionalProperties": false
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method"
                  ],
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "HEAD",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "GET",
            "bodyType": "query",
            "description": "HTTP GET https://api.loyalspark.online/x402-gateway/recipient-api/vouchers?method=GET — x402-gateway /recipient-api/vouchers. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "limit": {
                  "type": "string",
                  "pattern": "^[0-9]+$"
                },
                "status": {
                  "type": "string"
                },
                "token_address": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "description": "EVM address on Base (eip155:8453)."
                }
              },
              "additionalProperties": false
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "vouchers"
              ],
              "properties": {
                "vouchers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "1000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/vouchers?method=GET",
      "method": "GET",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "queryParams": {
              "token_address": "0x0000000000000000000000000000000000000001"
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "vouchers"
              ],
              "properties": {
                "vouchers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            },
            "example": {
              "vouchers": []
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "string",
                "pattern": "^[0-9]+$"
              },
              "status": {
                "type": "string"
              },
              "token_address": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "description": "EVM address on Base (eip155:8453)."
              }
            },
            "additionalProperties": false
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "5000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/cancel-offer?method=POST",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "body": {},
                "type": "http",
                "method": "POST",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "bodyType": "json"
              },
              "output": {
                "type": "json",
                "example": {
                  "ok": true,
                  "resource": "recipient-api/cancel-offer"
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "offer_id"
                ],
                "properties": {
                  "offer_id": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "additionalProperties": true
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method",
                    "bodyType",
                    "body"
                  ],
                  "properties": {
                    "body": {
                      "type": "object"
                    },
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "POST",
                        "PUT",
                        "PATCH"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "bodyType": {
                      "enum": [
                        "json",
                        "form-data",
                        "text"
                      ],
                      "type": "string"
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "POST",
            "bodyType": "json",
            "description": "HTTP POST https://api.loyalspark.online/x402-gateway/recipient-api/cancel-offer?method=POST — x402-gateway /recipient-api/cancel-offer. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "offer_id"
              ],
              "properties": {
                "offer_id": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "additionalProperties": true
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema"
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "5000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/cancel-offer?method=POST",
      "method": "POST",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {},
            "type": "http",
            "method": "POST",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "bodyType": "json"
          },
          "output": {
            "type": "json",
            "example": {
              "ok": true,
              "resource": "recipient-api/cancel-offer"
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "offer_id"
            ],
            "properties": {
              "offer_id": {
                "type": "string",
                "format": "uuid"
              }
            },
            "additionalProperties": true
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "properties": {
                "body": {
                  "type": "object"
                },
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "1000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/balances?method=GET",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "type": "http",
                "method": "GET",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "queryParams": {
                  "token_address": "0x0000000000000000000000000000000000000001"
                }
              },
              "output": {
                "type": "json",
                "schema": {
                  "type": "object",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "required": [
                    "balances"
                  ],
                  "properties": {
                    "balances": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                },
                "example": {
                  "balances": []
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {},
                "additionalProperties": false
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method"
                  ],
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "HEAD",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "GET",
            "bodyType": "query",
            "description": "HTTP GET https://api.loyalspark.online/x402-gateway/recipient-api/balances?method=GET — x402-gateway /recipient-api/balances. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {},
              "additionalProperties": false
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "balances"
              ],
              "properties": {
                "balances": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "1000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/balances?method=GET",
      "method": "GET",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "queryParams": {
              "token_address": "0x0000000000000000000000000000000000000001"
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "balances"
              ],
              "properties": {
                "balances": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            },
            "example": {
              "balances": []
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {},
            "additionalProperties": false
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "5000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/workflow/prepare-reward-redemption?method=POST",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "body": {},
                "type": "http",
                "method": "POST",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "bodyType": "json"
              },
              "output": {
                "type": "json",
                "example": {
                  "ok": true,
                  "resource": "recipient-api/workflow/prepare-reward-redemption"
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "description": "JSON body for POST /recipient-api/workflow/prepare-reward-redemption. See https://loyalspark.online/openapi.json for the full schema.",
                "additionalProperties": true
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method",
                    "bodyType",
                    "body"
                  ],
                  "properties": {
                    "body": {
                      "type": "object"
                    },
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "POST",
                        "PUT",
                        "PATCH"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "bodyType": {
                      "enum": [
                        "json",
                        "form-data",
                        "text"
                      ],
                      "type": "string"
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "POST",
            "bodyType": "json",
            "description": "HTTP POST https://api.loyalspark.online/x402-gateway/recipient-api/workflow/prepare-reward-redemption?method=POST — x402-gateway /recipient-api/workflow/prepare-reward-redemption. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "description": "JSON body for POST /recipient-api/workflow/prepare-reward-redemption. See https://loyalspark.online/openapi.json for the full schema.",
              "additionalProperties": true
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema"
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "5000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/workflow/prepare-reward-redemption?method=POST",
      "method": "POST",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {},
            "type": "http",
            "method": "POST",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "bodyType": "json"
          },
          "output": {
            "type": "json",
            "example": {
              "ok": true,
              "resource": "recipient-api/workflow/prepare-reward-redemption"
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "description": "JSON body for POST /recipient-api/workflow/prepare-reward-redemption. See https://loyalspark.online/openapi.json for the full schema.",
            "additionalProperties": true
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "properties": {
                "body": {
                  "type": "object"
                },
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "10000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/redeem-reward?method=POST",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "body": {},
                "type": "http",
                "method": "POST",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "bodyType": "json"
              },
              "output": {
                "type": "json",
                "example": {
                  "ok": true,
                  "resource": "recipient-api/redeem-reward"
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "reward_id",
                  "transaction_hash"
                ],
                "properties": {
                  "reward_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "transaction_hash": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{64}$"
                  }
                },
                "additionalProperties": true
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method",
                    "bodyType",
                    "body"
                  ],
                  "properties": {
                    "body": {
                      "type": "object"
                    },
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "POST",
                        "PUT",
                        "PATCH"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "bodyType": {
                      "enum": [
                        "json",
                        "form-data",
                        "text"
                      ],
                      "type": "string"
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "POST",
            "bodyType": "json",
            "description": "HTTP POST https://api.loyalspark.online/x402-gateway/recipient-api/redeem-reward?method=POST — x402-gateway /recipient-api/redeem-reward. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "reward_id",
                "transaction_hash"
              ],
              "properties": {
                "reward_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "transaction_hash": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{64}$"
                }
              },
              "additionalProperties": true
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema"
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "10000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/redeem-reward?method=POST",
      "method": "POST",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {},
            "type": "http",
            "method": "POST",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "bodyType": "json"
          },
          "output": {
            "type": "json",
            "example": {
              "ok": true,
              "resource": "recipient-api/redeem-reward"
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "reward_id",
              "transaction_hash"
            ],
            "properties": {
              "reward_id": {
                "type": "string",
                "format": "uuid"
              },
              "transaction_hash": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{64}$"
              }
            },
            "additionalProperties": true
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "properties": {
                "body": {
                  "type": "object"
                },
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "10000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/accept-offer?method=POST",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "body": {},
                "type": "http",
                "method": "POST",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "bodyType": "json"
              },
              "output": {
                "type": "json",
                "example": {
                  "ok": true,
                  "resource": "recipient-api/accept-offer"
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "offer_id"
                ],
                "properties": {
                  "offer_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "onchain_offer_id": {
                    "type": "number",
                    "description": "On-chain escrow offer id (phase 1, when known)."
                  },
                  "transaction_hash": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{64}$",
                    "description": "Phase 2: hash of the confirmed escrow fillOffer transaction on Base."
                  }
                },
                "description": "Two-phase: call without transaction_hash to reserve the offer (status active -> accepted) and receive approve + fillOffer escrow calldata; call again with transaction_hash of the confirmed fillOffer tx to finalize (accepted -> completed).",
                "additionalProperties": true
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method",
                    "bodyType",
                    "body"
                  ],
                  "properties": {
                    "body": {
                      "type": "object"
                    },
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "POST",
                        "PUT",
                        "PATCH"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "bodyType": {
                      "enum": [
                        "json",
                        "form-data",
                        "text"
                      ],
                      "type": "string"
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "POST",
            "bodyType": "json",
            "description": "HTTP POST https://api.loyalspark.online/x402-gateway/recipient-api/accept-offer?method=POST — x402-gateway /recipient-api/accept-offer. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "offer_id"
              ],
              "properties": {
                "offer_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "onchain_offer_id": {
                  "type": "number",
                  "description": "On-chain escrow offer id (phase 1, when known)."
                },
                "transaction_hash": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{64}$",
                  "description": "Phase 2: hash of the confirmed escrow fillOffer transaction on Base."
                }
              },
              "description": "Two-phase: call without transaction_hash to reserve the offer (status active -> accepted) and receive approve + fillOffer escrow calldata; call again with transaction_hash of the confirmed fillOffer tx to finalize (accepted -> completed).",
              "additionalProperties": true
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema"
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "10000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/accept-offer?method=POST",
      "method": "POST",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {},
            "type": "http",
            "method": "POST",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "bodyType": "json"
          },
          "output": {
            "type": "json",
            "example": {
              "ok": true,
              "resource": "recipient-api/accept-offer"
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "offer_id"
            ],
            "properties": {
              "offer_id": {
                "type": "string",
                "format": "uuid"
              },
              "onchain_offer_id": {
                "type": "number",
                "description": "On-chain escrow offer id (phase 1, when known)."
              },
              "transaction_hash": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{64}$",
                "description": "Phase 2: hash of the confirmed escrow fillOffer transaction on Base."
              }
            },
            "description": "Two-phase: call without transaction_hash to reserve the offer (status active -> accepted) and receive approve + fillOffer escrow calldata; call again with transaction_hash of the confirmed fillOffer tx to finalize (accepted -> completed).",
            "additionalProperties": true
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "properties": {
                "body": {
                  "type": "object"
                },
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "1000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/balance?method=GET",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "type": "http",
                "method": "GET",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "queryParams": {
                  "token_address": "0x0000000000000000000000000000000000000001"
                }
              },
              "output": {
                "type": "json",
                "example": {
                  "ok": true,
                  "resource": "recipient-api/balance"
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "token_address"
                ],
                "properties": {
                  "token_address": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "description": "EVM address on Base (eip155:8453)."
                  }
                },
                "additionalProperties": false
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method"
                  ],
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "HEAD",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "GET",
            "bodyType": "query",
            "description": "HTTP GET https://api.loyalspark.online/x402-gateway/recipient-api/balance?method=GET — x402-gateway /recipient-api/balance. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "token_address"
              ],
              "properties": {
                "token_address": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "description": "EVM address on Base (eip155:8453)."
                }
              },
              "additionalProperties": false
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema"
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "1000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/balance?method=GET",
      "method": "GET",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "queryParams": {
              "token_address": "0x0000000000000000000000000000000000000001"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "ok": true,
              "resource": "recipient-api/balance"
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "token_address"
            ],
            "properties": {
              "token_address": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "description": "EVM address on Base (eip155:8453)."
              }
            },
            "additionalProperties": false
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "1000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/offers?method=GET",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "type": "http",
                "method": "GET",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "queryParams": {
                  "token_address": "0x0000000000000000000000000000000000000001"
                }
              },
              "output": {
                "type": "json",
                "schema": {
                  "type": "object",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "required": [
                    "offers"
                  ],
                  "properties": {
                    "offers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                },
                "example": {
                  "offers": []
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "token_address": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "description": "EVM address on Base (eip155:8453)."
                  }
                },
                "additionalProperties": false
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method"
                  ],
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "GET",
                        "HEAD",
                        "DELETE"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "GET",
            "bodyType": "query",
            "description": "HTTP GET https://api.loyalspark.online/x402-gateway/recipient-api/offers?method=GET — x402-gateway /recipient-api/offers. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "token_address": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "description": "EVM address on Base (eip155:8453)."
                }
              },
              "additionalProperties": false
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "offers"
              ],
              "properties": {
                "offers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "1000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/offers?method=GET",
      "method": "GET",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "queryParams": {
              "token_address": "0x0000000000000000000000000000000000000001"
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "offers"
              ],
              "properties": {
                "offers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            },
            "example": {
              "offers": []
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "token_address": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "description": "EVM address on Base (eip155:8453)."
              }
            },
            "additionalProperties": false
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "X-PAYMENT header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "brand": "Loyal Spark",
          "version": "2",
          "website": "https://loyalspark.online",
          "provider": "Loyal Spark",
          "builderCode": "bc_wdmnog7m",
          "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
          "documentation": "https://loyalspark.online/for-agents"
        },
        "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
        "amount": "5000",
        "scheme": "exact",
        "network": "eip155:8453",
        "mimeType": "application/json",
        "resource": "https://api.loyalspark.online/x402-gateway/recipient-api/prepare-transfer?method=POST",
        "extensions": {
          "bazaar": {
            "info": {
              "input": {
                "body": {},
                "type": "http",
                "method": "POST",
                "headers": {
                  "x-api-key": "rwk_..."
                },
                "bodyType": "json"
              },
              "output": {
                "type": "json",
                "example": {
                  "ok": true,
                  "resource": "recipient-api/prepare-transfer"
                }
              },
              "inputSchema": {
                "type": "object",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "required": [
                  "token_address",
                  "to",
                  "amount"
                ],
                "properties": {
                  "to": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "description": "EVM address on Base (eip155:8453)."
                  },
                  "amount": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "token_address": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "description": "EVM address on Base (eip155:8453)."
                  }
                },
                "additionalProperties": true
              }
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "input"
              ],
              "properties": {
                "input": {
                  "type": "object",
                  "required": [
                    "type",
                    "method",
                    "bodyType",
                    "body"
                  ],
                  "properties": {
                    "body": {
                      "type": "object"
                    },
                    "type": {
                      "type": "string",
                      "const": "http"
                    },
                    "method": {
                      "enum": [
                        "POST",
                        "PUT",
                        "PATCH"
                      ],
                      "type": "string"
                    },
                    "headers": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "bodyType": {
                      "enum": [
                        "json",
                        "form-data",
                        "text"
                      ],
                      "type": "string"
                    },
                    "queryParams": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "output": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "example": {}
                  }
                },
                "inputSchema": {
                  "type": "object"
                }
              }
            }
          },
          "builder-code": {
            "info": {
              "a": "bc_wdmnog7m"
            },
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "a": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "App builder code"
                },
                "s": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-z0-9_]{1,32}$"
                  },
                  "description": "Service builder codes"
                },
                "w": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "description": "Wallet builder code"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "outputSchema": {
          "input": {
            "type": "http",
            "method": "POST",
            "bodyType": "json",
            "description": "HTTP POST https://api.loyalspark.online/x402-gateway/recipient-api/prepare-transfer?method=POST — x402-gateway /recipient-api/prepare-transfer. Authenticate with header x-api-key: rwk_....",
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "required": [
                "token_address",
                "to",
                "amount"
              ],
              "properties": {
                "to": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "description": "EVM address on Base (eip155:8453)."
                },
                "amount": {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                "token_address": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "description": "EVM address on Base (eip155:8453)."
                }
              },
              "additionalProperties": true
            }
          },
          "output": {
            "type": "json",
            "schema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema"
            },
            "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
          }
        },
        "maxAmountRequired": "5000",
        "maxTimeoutSeconds": 300
      }
    ],
    "resource": {
      "url": "https://api.loyalspark.online/x402-gateway/recipient-api/prepare-transfer?method=POST",
      "method": "POST",
      "mimeType": "application/json"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {},
            "type": "http",
            "method": "POST",
            "headers": {
              "x-api-key": "rwk_..."
            },
            "bodyType": "json"
          },
          "output": {
            "type": "json",
            "example": {
              "ok": true,
              "resource": "recipient-api/prepare-transfer"
            }
          },
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "token_address",
              "to",
              "amount"
            ],
            "properties": {
              "to": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "description": "EVM address on Base (eip155:8453)."
              },
              "amount": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "token_address": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "description": "EVM address on Base (eip155:8453)."
              }
            },
            "additionalProperties": true
          }
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "object",
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "properties": {
                "body": {
                  "type": "object"
                },
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {}
              }
            },
            "inputSchema": {
              "type": "object"
            }
          }
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "x402Version": 2
  }
]

OVER TIME

All charts use the 90d selector; each series spans only the dates it has data for. Every series is also served as JSON at /api/v1/services/loyal-spark/price, /scores, /volume and /buyers. On-chain volume and distinct buyers are measured over the service's settlement address and are a conservative undercount (only settlements that reach a measured facilitator are counted). The on-chain series roll up hourly, so the latest day can be up to about an hour behind; distinct buyers are counted per payout address, so a service that settles to more than one address is an upper bound.

UPTIME
07-20 · uptime 100.0% · 145ms avg07-21 · uptime 100.0% · 91ms avg07-22 · uptime 100.0% · 94ms avg07-23 · uptime 100.0% · 63ms avg07-24 · uptime 100.0% · 77ms avg07-25 · uptime 100.0% · 123ms avg07-26 · uptime 100.0% · 169ms avg07-27 · uptime 100.0% · 126ms avg07-28 · uptime 100.0% · 116ms avg07-29 · uptime 100.0% · 185ms avg07-30 · uptime 100.0% · 220ms avg07-31 · uptime 100.0% · 211ms avg08-01 · uptime 100.0% · 236ms avg08-02 · uptime 100.0% · 193ms avg08-03 · uptime 100.0% · 213ms avg08-04 · uptime 100.0% · 168ms avg08-05 · uptime 100.0% · 201ms avg08-06 · uptime 100.0% · 108ms avg08-07 · uptime 100.0% · 130ms avg08-08 · uptime 100.0% · 162ms avg08-09 · uptime 100.0% · 186ms avg08-10 · uptime 100.0% · 146ms avg08-11 · uptime 95.6% · 259ms avg08-12 · uptime 100.0% · 259ms avg08-13 · uptime 100.0% · 222ms avg08-14 · uptime 100.0% · 193ms avg08-15 · uptime 100.0% · 245ms avg08-16 · uptime 100.0% · 251ms avg08-17 · uptime 100.0% · 248ms avg08-18 · uptime 100.0% · 238ms avg08-19 · uptime 100.0% · 231ms avg08-20 · uptime 100.0% · 206ms avg08-21 · uptime 100.0% · 153ms avg08-22 · uptime 100.0% · 161ms avg08-23 · uptime 100.0% · 127ms avg08-24 · uptime 100.0% · 208ms avg08-25 · uptime 100.0% · 211ms avg08-26 · uptime 100.0% · 219ms avg08-27 · uptime 100.0% · 186ms avg08-28 · uptime 100.0% · 210ms avg08-29 · uptime 100.0% · 255ms avg08-30 · uptime 100.0% · 170ms avg08-31 · uptime 100.0% · 245ms avg09-01 · uptime 100.0% · 303ms avg09-02 · uptime 100.0% · 285ms avg09-03 · uptime 100.0% · 230ms avg09-04 · uptime 100.0% · 302ms avg07-2009-04
90d UPTIME 99.9%
RESPONSE TIME
07-20 · 145ms avg07-20 · 145ms avg07-21 · 91ms avg07-21 · 91ms avg07-22 · 94ms avg07-22 · 94ms avg07-23 · 63ms avg07-23 · 63ms avg07-24 · 77ms avg07-24 · 77ms avg07-25 · 123ms avg07-25 · 123ms avg07-26 · 169ms avg07-26 · 169ms avg07-27 · 126ms avg07-27 · 126ms avg07-28 · 116ms avg07-28 · 116ms avg07-29 · 185ms avg07-29 · 185ms avg07-30 · 220ms avg07-30 · 220ms avg07-31 · 211ms avg07-31 · 211ms avg08-01 · 236ms avg08-01 · 236ms avg08-02 · 193ms avg08-02 · 193ms avg08-03 · 213ms avg08-03 · 213ms avg08-04 · 168ms avg08-04 · 168ms avg08-05 · 201ms avg08-05 · 201ms avg08-06 · 108ms avg08-06 · 108ms avg08-07 · 130ms avg08-07 · 130ms avg08-08 · 162ms avg08-08 · 162ms avg08-09 · 186ms avg08-09 · 186ms avg08-10 · 146ms avg08-10 · 146ms avg08-11 · 259ms avg08-11 · 259ms avg08-12 · 259ms avg08-12 · 259ms avg08-13 · 222ms avg08-13 · 222ms avg08-14 · 193ms avg08-14 · 193ms avg08-15 · 245ms avg08-15 · 245ms avg08-16 · 251ms avg08-16 · 251ms avg08-17 · 248ms avg08-17 · 248ms avg08-18 · 238ms avg08-18 · 238ms avg08-19 · 231ms avg08-19 · 231ms avg08-20 · 206ms avg08-20 · 206ms avg08-21 · 153ms avg08-21 · 153ms avg08-22 · 161ms avg08-22 · 161ms avg08-23 · 127ms avg08-23 · 127ms avg08-24 · 208ms avg08-24 · 208ms avg08-25 · 211ms avg08-25 · 211ms avg08-26 · 219ms avg08-26 · 219ms avg08-27 · 186ms avg08-27 · 186ms avg08-28 · 210ms avg08-28 · 210ms avg08-29 · 255ms avg08-29 · 255ms avg08-30 · 170ms avg08-30 · 170ms avg08-31 · 245ms avg08-31 · 245ms avg09-01 · 303ms avg09-01 · 303ms avg09-02 · 285ms avg09-02 · 285ms avg09-03 · 230ms avg09-03 · 230ms avg09-04 · 302ms avg09-04 · 302ms avg07-2009-04
AVG RESP 210ms
PRICE (captured 402, USD)
07-20 · $0.00309-04 · $0.003$0.00307-2009-04

Median across 10 endpoints. Use the selector to isolate one.

SUB-SCORES (uptime + x402 compliance)
07-20 uptime: 100.0% compliance: 100% checks07-21 uptime: 100.0% compliance: 100% checks07-22 uptime: 100.0% compliance: 100% checks07-23 uptime: 100.0% compliance: 100% checks07-24 uptime: 100.0% compliance: 100% checks07-25 uptime: 100.0% compliance: 100% checks07-26 uptime: 100.0% compliance: 100% checks07-27 uptime: 100.0% compliance: 100% checks07-28 uptime: 100.0% compliance: 100% checks07-29 uptime: 100.0% compliance: 100% checks07-30 uptime: 100.0% compliance: 100% checks07-31 uptime: 100.0% compliance: 100% checks08-01 uptime: 100.0% compliance: 100% checks08-02 uptime: 100.0% compliance: 100% checks08-03 uptime: 100.0% compliance: 100% checks08-04 uptime: 100.0% compliance: 100% checks08-05 uptime: 100.0% compliance: 100% checks08-06 uptime: 100.0% compliance: 100% checks08-07 uptime: 100.0% compliance: 100% checks08-08 uptime: 100.0% compliance: 100% checks08-09 uptime: 100.0% compliance: 100% checks08-10 uptime: 100.0% compliance: 100% checks08-11 uptime: 99.8% compliance: 100% checks08-12 uptime: 99.8% compliance: 100% checks08-13 uptime: 99.8% compliance: 100% checks08-14 uptime: 99.8% compliance: 100% checks08-15 uptime: 99.8% compliance: 100% checks08-16 uptime: 99.8% compliance: 100% checks08-17 uptime: 99.8% compliance: 100% checks08-18 uptime: 99.8% compliance: 100% checks08-19 uptime: 99.9% compliance: 100% checks08-20 uptime: 99.9% compliance: 100% checks08-21 uptime: 99.9% compliance: 100% checks08-22 uptime: 99.9% compliance: 100% checks08-23 uptime: 99.9% compliance: 100% checks08-24 uptime: 99.9% compliance: 100% checks08-25 uptime: 99.9% compliance: 100% checks08-26 uptime: 99.9% compliance: 100% checks08-27 uptime: 99.9% compliance: 100% checks08-28 uptime: 99.9% compliance: 100% checks08-29 uptime: 99.9% compliance: 100% checks08-30 uptime: 99.9% compliance: 100% checks08-31 uptime: 99.9% compliance: 100% checks09-01 uptime: 99.9% compliance: 100% checks09-02 uptime: 99.9% compliance: 100% checks09-03 uptime: 99.9% compliance: 100% checks09-04 uptime: 99.8% compliance: 100% checksuptimecompliance07-2009-04

checklist grew 11->14 on 2026-07-28; a step here is a metric change, not a regression

PILLARS OVER TIME (measured)

Measured site and economics pillars from the assessment history, so the latest value shown elsewhere on this page reads as a point on a trend rather than a permanent state.

VOLUME (on-chain settlement, USD)
06-07 · $306-08 · $406-09 · $406-10 · $506-11 · $506-12 · $606-13 · $506-14 · $506-15 · $506-16 · $506-17 · $506-18 · $606-19 · $606-20 · $606-21 · $606-22 · $506-23 · $506-24 · $606-25 · $506-26 · $506-27 · $606-28 · $606-29 · $506-30 · $607-01 · $407-02 · $507-03 · $507-04 · $507-05 · $507-06 · $607-07 · $507-08 · $507-09 · $407-10 · $407-11 · $407-12 · $807-13 · $907-14 · $807-15 · $807-16 · $907-17 · $807-18 · $907-19 · $607-20 · $407-21 · $407-22 · $607-23 · $607-24 · $707-25 · $507-26 · $207-27 · $507-28 · $507-29 · $507-30 · $407-31 · $508-01 · $508-02 · $408-03 · $508-04 · $408-05 · $408-06 · $308-07 · $508-08 · $508-09 · $508-10 · $408-11 · $508-12 · $508-13 · $508-14 · $408-15 · $508-16 · $508-17 · $408-18 · $508-19 · $508-20 · $508-21 · $508-22 · $408-23 · $408-24 · $508-25 · $508-26 · $508-27 · $508-28 · $508-29 · $508-30 · $408-31 · $409-01 · $509-02 · $409-03 · $409-04 · $4peak $906-0709-04
DISTINCT BUYERS
06-07 · 65 buyers06-08 · 66 buyers06-09 · 67 buyers06-10 · 66 buyers06-11 · 66 buyers06-12 · 67 buyers06-13 · 66 buyers06-14 · 66 buyers06-15 · 66 buyers06-16 · 67 buyers06-17 · 66 buyers06-18 · 68 buyers06-19 · 68 buyers06-20 · 68 buyers06-21 · 68 buyers06-22 · 67 buyers06-23 · 68 buyers06-24 · 67 buyers06-25 · 67 buyers06-26 · 67 buyers06-27 · 67 buyers06-28 · 67 buyers06-29 · 67 buyers06-30 · 67 buyers07-01 · 68 buyers07-02 · 67 buyers07-03 · 67 buyers07-04 · 67 buyers07-05 · 67 buyers07-06 · 66 buyers07-07 · 67 buyers07-08 · 66 buyers07-09 · 65 buyers07-10 · 66 buyers07-11 · 66 buyers07-12 · 68 buyers07-13 · 67 buyers07-14 · 70 buyers07-15 · 68 buyers07-16 · 67 buyers07-17 · 70 buyers07-18 · 69 buyers07-19 · 68 buyers07-20 · 67 buyers07-21 · 66 buyers07-22 · 68 buyers07-23 · 69 buyers07-24 · 67 buyers07-25 · 68 buyers07-26 · 67 buyers07-27 · 71 buyers07-28 · 67 buyers07-29 · 69 buyers07-30 · 68 buyers07-31 · 68 buyers08-01 · 67 buyers08-02 · 67 buyers08-03 · 67 buyers08-04 · 67 buyers08-05 · 68 buyers08-06 · 65 buyers08-07 · 69 buyers08-08 · 68 buyers08-09 · 68 buyers08-10 · 69 buyers08-11 · 66 buyers08-12 · 68 buyers08-13 · 69 buyers08-14 · 67 buyers08-15 · 68 buyers08-16 · 69 buyers08-17 · 68 buyers08-18 · 68 buyers08-19 · 66 buyers08-20 · 68 buyers08-21 · 66 buyers08-22 · 67 buyers08-23 · 67 buyers08-24 · 68 buyers08-25 · 67 buyers08-26 · 71 buyers08-27 · 67 buyers08-28 · 67 buyers08-29 · 66 buyers08-30 · 67 buyers08-31 · 70 buyers09-01 · 70 buyers09-02 · 69 buyers09-03 · 69 buyers09-04 · 67 buyerspeak 71 buyers06-0709-04

COMPLIANCE

14/14 checks pass · grade A

last 402 captured 2026-09-04 · last up 2026-09-04

  • 402 payload captured
  • accepts[] array present
  • payTo address recoverable
  • payTo at accepts[0].payTo (conformant shape)
  • payTo is a valid on-chain address
  • atomic price declared
  • atomic price in a sane range
  • asset (token) address declared
  • network resolves to CAIP-2
  • payment scheme declared
  • served over HTTPS
  • declares the current x402 version (2)
  • EIP-712 domain parameters present on every EVM entry
  • x402 v2 envelope delivered in the payment-required header

SITE PILLARS

  • homepage reachable
  • openapi doc
  • pricing page
  • llms.txt
  • robots.txt
  • terms page
recent checks (18) live · click to expand
TIME STATUS RESP CAUSE
● OK 230ms
● OK 306ms
● OK 292ms
● OK 228ms
● SLOW 396ms
● OK 232ms
● SLOW 448ms
● SLOW 341ms
● SLOW 835ms
● SLOW 422ms
● OK 236ms
● SLOW 375ms
● SLOW 436ms
● OK 154ms
● OK 216ms
● OK 308ms
● SLOW 337ms
● OK 185ms

EMBED THIS BADGE

Show that Loyal Spark is monitored on x402-list. Paste this on your site or README, it links back to this live listing.

Loyal Spark listed on x402-list
status
Loyal Spark uptime on x402-list
live uptime
// HTML
<a href="https://x402-list.com/services/loyal-spark?utm_source=badge&utm_medium=referral&utm_campaign=embed">
  <img src="https://x402-list.com/badge/loyal-spark.svg" alt="Loyal Spark listed on x402-list" height="28">
</a>
// Markdown
[![Loyal Spark on x402-list](https://x402-list.com/badge/loyal-spark.svg)](https://x402-list.com/services/loyal-spark?utm_source=badge&utm_medium=referral&utm_campaign=embed)
// HTML · live uptime variant
<a href="https://x402-list.com/services/loyal-spark?utm_source=badge&utm_medium=referral&utm_campaign=embed">
  <img src="https://x402-list.com/badge/loyal-spark.svg?data=uptime" alt="Loyal Spark uptime on x402-list" height="28">
</a>

RUN THIS SERVICE?

Keep this listing accurate: propose changes to the name, description, website, category or add new endpoints to monitor. Ownership is verified with a domain proof and every change is reviewed manually; measured data stays read-only.

[ update this listing ]

Earn the verified tier: x402list pays a real call to this endpoint and, if it delivers, the service is delivery-verified. The fee covers the cost of the probe, not the badge; there is no refund if the call does not deliver. Agent and API only, no in-browser signing. See /api.

[ verify this service ($0.25) ]

To request delisting, email info@x402-list.com or update your listing at /services/loyal-spark/update.