Overview
When an AI agent discovers your listing through Hub and the interaction results in a completed transaction, ezForge records a referral linking the discovery event to the transaction. Listing owners can view their referral history, track commission amounts, and dispute any attributed commission through these endpoints.Referral commission tracking requires a transaction-capable MCP server (bookings, orders, or purchases). All listing tiers (Basic, Featured, Premium) generate commissions. Ready servers receive referral token integration automatically.
Commission rates
Basic listing owners receive a commission-free ramp on the first $500/month of transaction volume. Featured and Premium listings do not receive this ramp.
Referral lifecycle
Authentication: All referral endpoints require session authentication (dashboard login). Hub API key auth is not supported.
Rate limits:
List referral history
Response
200:
Errors:
Dispute a commission
attributed referral for manual review by the ezForge team. Only the listing owner may dispute, and only referrals in attributed status can be disputed — referrals that are already paid, expired, or disputed will return an error.
Authentication: Session cookie (dashboard login).
Path parameters:
Request body: None required.
Response
200:
Using referral tokens
Referral tokens (hub_ref_{ulid}) are automatically included in Hub search results and listing detail responses when accessed via a Hub API key. Pass the token from your agent’s transaction context to the Stripe PaymentIntent metadata field hub_referral_id to trigger attribution.
payment_intent.succeeded webhooks and automatically matches the token, computes the commission, and updates the referral status. No additional integration is required for Ready servers — referral token injection is handled automatically.
See Analytics for commission tracking within the Hub dashboard.