commit 2ed6b8febaaae03d4fb17ddf6e7359cca0a5e392 parent 5b02803a90f624a12d562fa3cd284b1cd1ffe597 Author: Florian Dold <florian@dold.me> Date: Mon, 4 Aug 2025 17:55:11 +0200 merchant: version table, generic responses Diffstat:
| M | core/api-merchant.rst | | | 22 | ++++++++++++++++++++++ |
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -25,6 +25,16 @@ Merchant Backend RESTful API ============================ +--------------- +Version History +--------------- + +The current protocol version is ``v20``. + +Version history: + +* ``v21`` (in development): Adds self-provisioning + ----------------------- Base URLs and Instances ----------------------- @@ -88,6 +98,18 @@ https://merchant-backend.example.com/private Unavailabe endpoints (will return 404): https://merchant-backend.example.com/instances/myinst/private/instances +----------------- +Generic Responses +----------------- + +.. http:any:: * + + :http:statuscode:`403 Forbidden`: + * ``TALER_EC_GENERIC_FORBIDDEN``: Missing permissions. + * ``TALER_EC_MERCHANT_ACCOUNT_TWOFA_UNCONFIRMED``: The account + needs to confirm authentication factors before it can proceed + with the request. + -------------- Authentication --------------