Aller au contenu
Web Monetization logo Web Monetization
GitHub

paymentPointer

Ce contenu n’est pas encore disponible dans votre langue.

The monetization event’s paymentPointer attribute returns the URL representing the payment endpoint used by the incoming Web Monetization payment. The returned value is the value it was initialized with.

Example

<link rel="monetization" href="https://wallet.example/alice" />
<script>
const link = document.querySelector(link[rel=monetization’]);
link.addEventListener(“monetization”, (event) => {
console.log(event.paymentPointer)})
</script>

Specifications