aboutsummaryrefslogtreecommitdiff
path: root/payto-payment-target-types
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-04 21:29:55 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-04 21:29:55 +0200
commitcfef4ea550cfbf70d3adee6e0b1cd4fbe1adfdbe (patch)
tree631a13f7091186dd1d8a93332f5813357944583a /payto-payment-target-types
downloadgana-cfef4ea550cfbf70d3adee6e0b1cd4fbe1adfdbe.tar.gz
gana-cfef4ea550cfbf70d3adee6e0b1cd4fbe1adfdbe.zip
launch registry with entry for payto payment target types
Diffstat (limited to 'payto-payment-target-types')
-rw-r--r--payto-payment-target-types/Makefile2
-rw-r--r--payto-payment-target-types/POLICY16
-rw-r--r--payto-payment-target-types/README10
-rw-r--r--payto-payment-target-types/registry.rec29
4 files changed, 57 insertions, 0 deletions
diff --git a/payto-payment-target-types/Makefile b/payto-payment-target-types/Makefile
new file mode 100644
index 0000000..8364f52
--- /dev/null
+++ b/payto-payment-target-types/Makefile
@@ -0,0 +1,2 @@
1check:
2 recfix --check registry.rec
diff --git a/payto-payment-target-types/POLICY b/payto-payment-target-types/POLICY
new file mode 100644
index 0000000..82b1188
--- /dev/null
+++ b/payto-payment-target-types/POLICY
@@ -0,0 +1,16 @@
1Each registry entry should contain three values: the "Name" of the
2payment method, an optional "Contact" for the payment method, and
3a "Reference" with links to further information about the payment
4method.
5
6The "Name" must be unique in the entire registry. The value must be a
7case insensitive ASCII string and is restricted to alphanumeric
8characters, dots and dashes.
9
10Adding records is possible after expert review, using a
11first-come-first-served policy for unique "Name" allocation.
12Experts are responsible to ensure that the chosen "Name" is
13appropriate for the payment method.
14
15The current contact(s) for expert review are reachable at
16payto-registry@taler.net.
diff --git a/payto-payment-target-types/README b/payto-payment-target-types/README
new file mode 100644
index 0000000..1a3b817
--- /dev/null
+++ b/payto-payment-target-types/README
@@ -0,0 +1,10 @@
1This registry is the payment target type registry for payto:// URIs.
2
3payto:// URIs include the necessary information for making wire
4payments to a recipient. As there are many banking standards globally
5with different address formats (such as UPI in India, ACH in USA, IBAN
6in Europe), a payto:// URI begins with a string describing the method
7used to identify the recipient. This registry is used to ensure that
8the strings used in payment target types are well-defined and to
9ideally allow payto:// implementors to find out details about the
10respective payment system.
diff --git a/payto-payment-target-types/registry.rec b/payto-payment-target-types/registry.rec
new file mode 100644
index 0000000..2489bfb
--- /dev/null
+++ b/payto-payment-target-types/registry.rec
@@ -0,0 +1,29 @@
1# -*- mode: rec -*-
2#
3# Registry for payment target types
4#
5# TODO: reference payto:// RFC for 'void' once the RFC has been published
6#
7
8%rec: PaymentTargetType
9%typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/
10%type: Name Name_t
11%key: Name
12%allowed: Contact
13%allowed: Reference
14%sort: Name Contact Reference
15
16Name: ach
17
18Name: bic
19
20Name: iban
21
22Name: upi
23
24Name: bitcoin
25
26Name: ilp
27
28Name: void
29Reference: N/A