diff --git a/fep/0ea0/fep-0ea0.md b/fep/0ea0/fep-0ea0.md index 3834f7c..c2ec5fd 100644 --- a/fep/0ea0/fep-0ea0.md +++ b/fep/0ea0/fep-0ea0.md @@ -1,26 +1,27 @@ --- slug: "0ea0" -authors: silverpill +authors: silverpill <@silverpill@mitra.social> +type: implementation status: DRAFT dateReceived: 2023-04-18 trackingIssue: https://codeberg.org/fediverse/fep/issues/88 -discussionsTo: https://codeberg.org/fediverse/fep/issues/88 +discussionsTo: https://socialhub.activitypub.rocks/t/fep-0ea0-payment-links/3121 --- # FEP-0ea0: Payment Links ## Summary -This FEP describes a way to attach payment information to [ActivityPub](https://www.w3.org/TR/activitypub/) actors and objects. That information might be a link to donation page, a link for buying an artwork, or anything else that can be represented with a URI. +This FEP describes a way to attach payment information to [ActivityPub] actors and objects. That information might be a link to donation page, a link for buying an artwork, or anything else that can be represented with a URI. ## History [PeerTube](https://docs.joinpeertube.org/api/activitypub#video) videos may have `support` property, which contains a text explaining how to support the content creator. -[FEP-8c3f: Web Monetization](https://codeberg.org/fediverse/fep/src/branch/main/fep/8c3f/fep-8c3f.md) was published in 2022. The ensuing discussion on SocialHub forum led to the creation of Payment Links proposal. +[FEP-8c3f: Web Monetization][FEP-8c3f] was published in 2022. The ensuing discussion on SocialHub forum led to the creation of this proposal. ## Requirements -The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC-2119](https://tools.ietf.org/html/rfc2119.html). +The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC-2119]. ## Payment links @@ -28,8 +29,8 @@ Payment link is an object with the following properties: - `type` (REQUIRED): the type MUST be `Link`. - `name` (RECOMMENDED): the `name` property SHOULD contain a human-readable description of the payment link. -- `href` (REQUIRED): the `href` property MUST contain a payment URI. This can be a URL of a website, or any other kind of URI, such as [payto URI](https://datatracker.ietf.org/doc/html/rfc8905). -- `rel` (REQUIRED): the `rel` property MUST contain the string `payment` or an array containing that string. The `payment` relation type is defined in [Link Relations Registry](https://www.iana.org/assignments/link-relations/link-relations.xhtml). +- `href` (REQUIRED): the `href` property MUST contain a payment URI. This can be a URL of a website, or any other kind of URI, such as ['payto' URI][RFC-8905]. +- `rel` (REQUIRED): the `rel` property MUST contain the string `payment` or an array containing that string. The `payment` relation type is defined in [Link Relations Registry][LinkRelations]. Payment links MUST be added to `attachment` array of an actor or an object. @@ -86,9 +87,17 @@ Implementers may treat payment links attached to actor object in the same way as ## References -- [ActivityPub] Christine Lemmer Webber, Jessica Tallon, [ActivityPub](https://www.w3.org/TR/activitypub/), 2018 -- [FEP-8c3f: Web Monetization] Diogo Peralta Cordeiro, Phablulo Joel, [FEP-8c3f: Web Monetization](https://codeberg.org/fediverse/fep/src/branch/main/fep/8c3f/fep-8c3f.md), 2022 -- [Link Relations Registry] IANA, [Link Relations](https://www.iana.org/assignments/link-relations/link-relations.xhtml), 2005 +- Christine Lemmer-Webber, Jessica Tallon, Erin Shepherd, Amy Guy, Evan Prodromou, [ActivityPub], 2018 +- Diogo Peralta Cordeiro, Phablulo Joel, [FEP-8c3f: Web Monetization][FEP-8c3f], 2022 +- S. Bradner, [Key words for use in RFCs to Indicate Requirement Levels][RFC-2119], 1997 +- F. Dold, C. Grothoff, [The 'payto' URI Scheme for Payments][RFC-8905], 2020 +- IANA, [Link Relations][LinkRelations], 2005 + +[ActivityPub]: https://www.w3.org/TR/activitypub/ +[FEP-8c3f]: https://codeberg.org/fediverse/fep/src/branch/main/fep/8c3f/fep-8c3f.md +[RFC-2119]: https://datatracker.ietf.org/doc/html/rfc2119.html +[RFC-8905]: https://datatracker.ietf.org/doc/html/rfc8905 +[LinkRelations]: https://www.iana.org/assignments/link-relations/link-relations.xhtml ## Copyright