Saltearse al contenido
Web Monetization logo Web Monetization
GitHub

paymentPointer

Esta página aún no está disponible en tu idioma.

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