X402 Gateway · Create Reward
Create a new redeemable reward (customer pays token cost on-chain, then redeems for a voucher). Loyal Spark: loyalty points, rewards & vouchers API on Base (REST + MCP, USDC via x402). Send x-api-key: lsk_... (or Authorization: Bearer lsk_...) with the payment; without a live key you are not charged. Docs: loyalspark.online/for-agents
POST https://api.loyalspark.online/x402-gateway/mcp-tools/create_reward
0.01 USDC on Base · payTo 0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"cost": 100,
"name": "Demo Cafe Rewards",
"token_address": "0xb2000000000000000000008ce542828ec5f09bb7"
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"content": [
{
"text": "{...}",
"type": "text"
}
],
"structuredContent": {}
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 83 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 96 ms |
| Paid calls (30d, on-chain) | 146 calls · 60 buyers · shared price cohort of 31 |
| Facilitator-reported (30d) | 2 calls · 1 payers (CDP Bazaar) |
How to call
POST https://api.loyalspark.online/x402-gateway/mcp-tools/create_reward · input in body · spec from live-challenge
Input schema
{
"type": "object"
}Output schema
{}curl -i -X POST 'https://api.loyalspark.online/x402-gateway/mcp-tools/create_reward' \
-H 'content-type: application/json' -d '{"token_address":"0xb2000000000000000000008ce542828ec5f09bb7","name":"Demo Cafe Rewards","cost":100}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs