diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-04 21:29:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-04 21:29:55 +0200 |
commit | cfef4ea550cfbf70d3adee6e0b1cd4fbe1adfdbe (patch) | |
tree | 631a13f7091186dd1d8a93332f5813357944583a /payto-payment-target-types | |
download | gana-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/Makefile | 2 | ||||
-rw-r--r-- | payto-payment-target-types/POLICY | 16 | ||||
-rw-r--r-- | payto-payment-target-types/README | 10 | ||||
-rw-r--r-- | payto-payment-target-types/registry.rec | 29 |
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 @@ | |||
1 | check: | ||
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 @@ | |||
1 | Each registry entry should contain three values: the "Name" of the | ||
2 | payment method, an optional "Contact" for the payment method, and | ||
3 | a "Reference" with links to further information about the payment | ||
4 | method. | ||
5 | |||
6 | The "Name" must be unique in the entire registry. The value must be a | ||
7 | case insensitive ASCII string and is restricted to alphanumeric | ||
8 | characters, dots and dashes. | ||
9 | |||
10 | Adding records is possible after expert review, using a | ||
11 | first-come-first-served policy for unique "Name" allocation. | ||
12 | Experts are responsible to ensure that the chosen "Name" is | ||
13 | appropriate for the payment method. | ||
14 | |||
15 | The current contact(s) for expert review are reachable at | ||
16 | payto-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 @@ | |||
1 | This registry is the payment target type registry for payto:// URIs. | ||
2 | |||
3 | payto:// URIs include the necessary information for making wire | ||
4 | payments to a recipient. As there are many banking standards globally | ||
5 | with different address formats (such as UPI in India, ACH in USA, IBAN | ||
6 | in Europe), a payto:// URI begins with a string describing the method | ||
7 | used to identify the recipient. This registry is used to ensure that | ||
8 | the strings used in payment target types are well-defined and to | ||
9 | ideally allow payto:// implementors to find out details about the | ||
10 | respective 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 | |||
16 | Name: ach | ||
17 | |||
18 | Name: bic | ||
19 | |||
20 | Name: iban | ||
21 | |||
22 | Name: upi | ||
23 | |||
24 | Name: bitcoin | ||
25 | |||
26 | Name: ilp | ||
27 | |||
28 | Name: void | ||
29 | Reference: N/A | ||