Web Monetization Vocabulary

Unofficial Draft

More details about this document
Latest published version:
none
Latest editor's draft:
https://webmonetization.org/vocabulary-TODO/
History:
Commit history
Editor:
Jeremiah Lee (Interledger Foundation)
Feedback:
GitHub wicg/webmonetization (pull requests, new issue, open issues)

Abstract

This specification describes the Web Monetization vocabulary. It is intended to be used in the context of the .

Status of This Document

This is a preview

Do not attempt to implement this version of the specification. Do not reference this version as authoritative in any way. Instead, see https://webmonetization.org/vocabulary-TODO/ for the Editor's draft.

This document is a draft of a potential specification. It has no official standing of any kind and does not represent the support or consensus of any standards organization.

Warning

This specification is a work in progress within the community on the best shape it should take.

The specification reflects the desired end-state as currently anticipated and agreed to between the contributors. The specification is being prepared here, in this format, to collect the input of the Web community and prepare the work to ultimately follow the W3C standards track should it have the necessary support to do so.

Comments regarding this document are welcome. GitHub Issues are preferred for discussion of this specification.

Introduction

This document defines how to include a payment pointer in the Activity and Actor types in the . servers and clients MAY use this vocabulary for facilitating payments with a user’s provider.

Conventions

Following the convention of the Activity Vocabulary, the "Domain" indicates the type of Object the property term applies to. The "Range" indicates the type of value the property term can have. Properties marked as being "Functional" can have only one value. Items not marked as "Functional" can have multiple values.

PaymentPointer Type

Payment pointers are a standardized identifier for payment accounts. A PaymentPointer MUST be represented in its resolved syntax as an IRI [RFC3987].

Class Description Example
PaymentPointer URI: https://interledger.org/ns#PaymentPointer
Notes:

A PaymentPointer is a subtype of Link that references an Open Payments API entry point identified by a URL.

The rel property is set to monetization and mediaType property set to application/json.

The name, hreflang, height, width, preview properties are inappropriate for this resource.

Extends: Link
Properties: Inherits href from Link.

Monetization Property

The monetization property associates a PaymentPointer with a creator or a piece of content. It is analogous to using the link type monetization for including payment pointers in HTML documents.

Term Description Examples
monetization URI: https://interledger.org/ns#
Notes: Defines the intended recipient of a payment. The property MUST only have one value.

Domain: Activity | Actor
Range: PaymentPointer
Functional: True

Conformance

As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative.

The key words MAY and MUST in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.