Onchain loyalty reward status lookup
Written by Agorean from what the endpoint says about itself
Gives you a customer's reward status from an onchain loyalty platform.
This is the recipient-facing rewards endpoint of an onchain loyalty platform, where businesses run branded rewards programs and customers earn value with purchases. Each call is scoped to the wallet behind your API key, so it returns only that wallet's own data. The source does not say what fields a reward record includes.
WHEN TO USE THIS
When: I need to see the loyalty rewards tied to my wallet
For example: Call this endpoint with your scoped API key.
When: I'm building on an onchain loyalty platform and need a recipient's reward status
For example: Use this endpoint to look it up by the wallet behind your key.
0.001 USDC
Paid to 0x40a8…ad8b
Your agent buys it
npx agorean buy lst_jyysbt32vi9e
Buy link
https://api.loyalspark.online/x402-gateway/recipient-api/rewards
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x40a8…ad8b). Claiming cannot be undone.
claimListing("lst_jyysbt32vi9e", wallet_proof)