commit 620cd7fb6eb6cf51896778a50c0666c5b79dad67 parent 0ee34d489a1b529a6d5df6f77f60ce48863b47f8 Author: Joel Häberli <haebu@rubigen.ch> Date: Wed, 24 Apr 2024 10:27:09 +0200 fix: rename api from ../confirm to ../check Diffstat:
| M | core/api-terminal.rst | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git 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