summaryrefslogtreecommitdiff
path: root/design-documents
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-12-07 20:41:58 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2023-12-07 20:42:03 +0100
commit95490a3234556594957a270ff0d051961b4b0ebc (patch)
tree0c2de630f0f18228821f3341e0b0a60e751a01fb /design-documents
parente06eebdae47e9443fb7e9db6e5ce3de03a6bc10e (diff)
downloaddocs-95490a3234556594957a270ff0d051961b4b0ebc.tar.gz
docs-95490a3234556594957a270ff0d051961b4b0ebc.tar.bz2
docs-95490a3234556594957a270ff0d051961b4b0ebc.zip
[dd 28] added motivation
Diffstat (limited to 'design-documents')
-rw-r--r--design-documents/028-deposit-policies.rst23
1 files changed, 21 insertions, 2 deletions
diff --git a/design-documents/028-deposit-policies.rst b/design-documents/028-deposit-policies.rst
index 956945ee..1bdf4801 100644
--- a/design-documents/028-deposit-policies.rst
+++ b/design-documents/028-deposit-policies.rst
@@ -41,7 +41,19 @@ The policies shall be implemented as *extensions* to the exchange (see
Motivation
**********
-TODO
+GNU Taler's initial set of API's (withdraw, deposit, refresh) support most
+payment situations in which customers pay for goods and services within an
+otherwise unconditioned transaction. (A notable exception from this the
+ability to provide refunds, which will be re-factored into a policy extension).
+
+However, in many payments depend on additional conditions to be met. GNU Taler
+already supports payments with age restriction applied, but there are other
+scenarious that we want to support.
+
+Our aim is to provide an API for extensions of GNU Taler that implement
+particular policies and policy-handling for payments (also called *conditioned
+payments*).
+
Background and Requirements
***************************
@@ -56,9 +68,16 @@ TODO, explain:
- C-structs for policy extensions (esp. the handlers)
- Naming conventions for policy extensions
- Deadlines and -handling
-- API-endpoints (``/extensions/policy_...``)
- Typical choreography of a deposit with policy and its fulfillment
+
+API-Endpoints of the Exchange
+=============================
+
+TODO
+
+
+
Database-schema
===============