summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJoel Häberli <haebu@rubigen.ch>2024-04-24 10:27:09 +0200
committerJoel Häberli <haebu@rubigen.ch>2024-04-24 10:27:09 +0200
commit620cd7fb6eb6cf51896778a50c0666c5b79dad67 (patch)
tree4da3d5a6a7b89a9a5dfdd2384d9bf23bb43c5122 /core
parent0ee34d489a1b529a6d5df6f77f60ce48863b47f8 (diff)
downloaddocs-master.tar.gz
docs-master.tar.bz2
docs-master.zip
fix: rename api from ../confirm to ../checkHEADmaster
Diffstat (limited to 'core')
-rw-r--r--core/api-terminal.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/api-terminal.rst b/core/api-terminal.rst
index be2e81aa..45b35e93 100644
--- a/core/api-terminal.rst
+++ b/core/api-terminal.rst
@@ -42,8 +42,7 @@ payment service (or a bank) to realize the service.
Authentication
--------------
-Most requests require the client to authenticate using a bearer token.
-The bearer token is expected to be part of the service configuration.
+Terminals must authenticate against all terminal API using basic auth according to `HTTP basic auth <https://tools.ietf.org/html/rfc7617>`_.
Config
@@ -235,7 +234,7 @@ Config
}
-.. http:post:: /withdrawals/$WITHDRAWAL_ID/confirm
+.. http:post:: /withdrawals/$WITHDRAWAL_ID/check
Endpoint for providers to notify the terminal backend about a payment having
happened. This will cause the bank to validate the transaction and allow