A2P Platform Integration
Resonance acts as the loyalty layer for agentic commerce. Platforms discover our capabilities and plug loyalty/discount functionality into their checkout flows.
UCP (Universal Commerce Protocol)
Discovery
curl https://agent.rsnc.network/.well-known/ucp
Returns our capability manifest:
loyalty.check— Check user reward balance across brandsloyalty.earn— Record purchases to earn cashbackdiscount.list— Browse available discounts and perksdiscount.apply— Calculate optimal deal stack with discount codescommerce.route— Find the best brand for a purchasecommerce.compare— Compare cashback rates across brands
Discount Extension
UCP agents can use our discount capabilities at checkout:
- Call
discount.listto get available discounts for the user - Present discounts in the cart UI
- Call
discount.applyto calculate the optimal stack - Apply returned
discount_codevalues at checkout - Call
loyalty.earnpost-purchase to record cashback
Auth for UCP
- HMAC — For agent/brand identity (who is calling)
- OAuth 2.0 Bearer — For user identity linking (whose rewards to check)
Both can be used simultaneously on a single request.
ACP (Agentic Commerce Protocol)
Resonance integrates as a sidecar to ACP checkout flows:
Pre-Checkout
Shopping Agent → Resonance (route_purchase / stack_deals)
→ Returns optimal brand + discount codes
Shopping Agent → ACP Merchant (UpdateCheckoutRequest with discount codes)
Post-Checkout
ACP Merchant → Webhook → Resonance (track_purchase)
→ Cashback recorded for user
Discount Codes
Perks carry discount_code values configured by brands. When stack_deals returns applicable perks, the discount codes are included in the response for the shopping agent to pass through to the ACP checkout.
Shopify Agents
Resonance integrates as a Discount Extension alongside Shopify's Catalog and Checkout MCPs:
- Catalog MCP discovers products
- Resonance Agent provides loyalty discounts via
stack_deals/browse_perks - Checkout MCP applies discount codes at checkout
- Resonance Agent records the purchase via
track_purchase
Integration Steps
- Discover Resonance via
/.well-known/ucpor/.well-known/a2a/agent-card - Use MCP tools (
rsnc_agent_stack_deals,rsnc_agent_browse_perks) or A2A skills (apply_loyalty,best_deals) - Apply returned discount codes in Shopify Cart
- Post-purchase: call
track_purchaseto record cashback
Transports
All platform integrations support three transports:
| Transport | URL | Best For |
|---|---|---|
| REST (A2A) | https://agent.rsnc.network/tasks/send | Simple HTTP integration |
| MCP | https://agent.rsnc.network/mcp | Rich tool calling with resources & prompts |
| Discovery | https://agent.rsnc.network/.well-known/ucp | Platform auto-discovery |