# Reward partners based on custom metadata

You can now customize partner rewards based on any custom metadata you attach to your tracking events. 

- Published: July 30, 2026
- Authors: [Pedro Ladeira](https://dub.co/authors/pedro), [Kiran Krishnan](https://dub.co/authors/kiran)
- Source: https://dub.co/changelog/reward-metadata-conditions

In addition to our [built-in reward conditions](https://dub.co/help/article/partner-rewards#adding-reward-conditions), you can now customize partner rewards based on any arbitrary `metadata` you attach to your tracking events.

Some examples include:

- [Billing cycle reward tiers](https://dub.co/help/article/partner-rewards#annual-vs-monthly-billing) (e.g. higher rewards for annual plans vs. monthly plans)
- Custom sale types (e.g. different reward percentages for `trade` vs `deposit` events)
- [Company size tiers](https://dub.co/help/article/partner-rewards#company-size-tiers) (e.g. higher pay-per-lead rewards for leads from larger companies)

The `metadata` prop is supported via our [`/track/lead`](https://dub.co/docs/api-reference/track/lead) and [`/track/sale`](https://dub.co/docs/api-reference/track/sale) API endpoints. If you're using our [Stripe integration](https://dub.co/docs/integrations/stripe), the sale metadata is automatically pulled from:

- Stripe [`checkout.session` metadata](https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-metadata) for one-time/subscription checkouts
- Stripe [`invoice` metadata](https://docs.stripe.com/api/invoices/object#invoice_object-metadata) for recurring invoice payments

Learn more about how to [customize your partner rewards based on arbitrary metadata](https://dub.co/help/article/partner-rewards#metadata-conditions).

See [the full changelog](https://dub.co/changelog.md).
