Revenue Attribution
Attribute revenue with Polar Checkout API
Before proceeding, confirm that you have linked your Polar account.
Flowsery routes Polar events by reading metadata.website_id.
JavaScript
const result = await polar.checkouts.create({
products: [...],
metadata: {
website_id: 'flid_******',
},
});Supported Polar webhook events
checkout.updatedsubscription.updatedorder.refunded
When the Polar payload contains customer.email, Flowsery can use it for attribution matching.