diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/api-terminal.rst | 5 |
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 |