Skip to main content

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

Returns a cursor-paginated list of referrals for all Hub listings owned by the authenticated user, ordered by referral ID ascending (chronological). All listing tiers generate commissions; Basic listings receive a commission-free ramp on the first $500/month of facilitated volume (see commission rates above). Authentication: Session cookie (dashboard login). Query parameters: Response 200:
Response fields: Errors:

Dispute a commission

Flags an 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:
Errors:

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.
ezForge listens for 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.