monetization - speced/respec GitHub Wiki
Type: boolean | string | MonetizationOptions
Default: ReSpec's payment pointer
Adds a Web Monetization <meta> payment pointer tag to the document. By default uses ReSpec's own payment pointer. Stripped from saved HTML unless removeOnSave: false is set.
var respecConfig = {
monetization: "$wallet.example.com/my-wallet",
};var respecConfig = {
monetization: false,
};var respecConfig = {
monetization: {
paymentPointer: "$wallet.example.com/my-wallet",
removeOnSave: false,
},
};| Option | Type | Default | Description |
|---|---|---|---|
paymentPointer |
string |
ReSpec's pointer | The payment pointer URL |
removeOnSave |
boolean |
true |
Strip the meta tag when saving to static HTML |
- Web Monetization is an emerging payment standard for the web
- Setting
falsedisables monetization and removes the default ReSpec pointer