DEV Community

loading...

Discussion on: Announcing the Grant For The Web Hackathon on DEV

Collapse
bullrich profile image
Javyer

Hello! I'm a little bit confused about the Web Monetization API.

When do you pay? How do you add funds?

It's only session based from what I read, does that means that every time I hit reload on a website with monetization I'm paying them more money?

Can I decide which websites I pay or the default configuration is just "pay everyone some money"?

I'm trying to understand how people wouldn't abuse this system if it automatically pays the website with the meta tag.

Collapse
sharafian profile image
Ben Sharafian

Hi Jayver,

The Web Monetization API pays based on time using 'streaming payments'. Rather than sending one large payment when you load the page, Web Monetization works through many tiny micropayments, sent each second that you spend on a web monetized page.

The default configuration is to pay everyone some money, but the amounts are small and based on time so a site can't just siphon off all your funds. The rate that Coil pays, for example, is $0.00001 per second. If a tab is not visible then it won't be paid, to prevent payment from occurring while the user's attention is not on the page.

Forem Open with the Forem app