summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-02-06 19:46:01 +0100
committerChristian Grothoff <christian@grothoff.org>2016-02-06 19:46:01 +0100
commitd7b13177d5b73c9bad90fc2828ae4ee1da788f77 (patch)
tree1f8d91fa26dc2558764d655b878c57f1efbd63a5
parent48d7b73e77f4567ce9dba6ee1f2024e9c001d4c8 (diff)
downloaddocs-d7b13177d5b73c9bad90fc2828ae4ee1da788f77.tar.gz
docs-d7b13177d5b73c9bad90fc2828ae4ee1da788f77.tar.bz2
docs-d7b13177d5b73c9bad90fc2828ae4ee1da788f77.zip
document test wireformat
-rw-r--r--wireformats.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/wireformats.rst b/wireformats.rst
index f759bf62..be090596 100644
--- a/wireformats.rst
+++ b/wireformats.rst
@@ -12,6 +12,26 @@ The information required for wire transfer depends on the type of wire transfer
used. Since the wire transfers differ for each region, we document here the
ones currently supported by the mint.
+TEST
+----
+
+The TEST wire format is used for testing and for integration with Taler's
+simple "bank" system which in the future might be useful to setup a bank
+for a local / regional currency or accounting system. Using the TEST
+wire format in combination with the Taler's bank, it is thus possible to
+fully test the Taler system without using real currencies. The wire
+format for "TEST" is very simple, in that it only specifies an account
+number in a field "account_number". The account number given must be
+a positive 53-bit integer. Additional fields may be present, but are
+not required.
+
+For the merchant or mint to receive deposits through TEST, the deposit
+request must thus contain a JSON object with the following fields:
+
+ * `type`: the string constant `"TEST"`
+ * `account_number`: the account number of the merchant at the bank
+
+
SEPA
----