From eeac613362e0813ecb63b9241ecc3d8243cea977 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 Mar 2020 16:34:54 +0100 Subject: document other status codes --- core/api-wire.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/api-wire.rst') diff --git a/core/api-wire.rst b/core/api-wire.rst index ee6a25ec..5fdb405e 100644 --- a/core/api-wire.rst +++ b/core/api-wire.rst @@ -53,6 +53,7 @@ Making Transactions The request has been correctly handled, so the funds have been transferred to the recipient's account. The body is a `TransferResponse` :status 400 Bad Request: The bank replies with an `ErrorDetail` object. + :status 401 Unauthorized: Authentication failed, likely the credentials are wrong. :status 409 Conflict: A transaction with the same ``transaction_uid`` but different transaction details has been submitted before. @@ -291,6 +292,9 @@ exposed by bank gateways in production. :status 200 OK: The request has been correctly handled, so the funds have been transferred to the recipient's account. The body is a `AddIncomingResponse` + :status 400 Bad Request: The request is malformed. The bank replies with an `ErrorDetail` object. + :status 401 Unauthorized: Authentication failed, likely the credentials are wrong. + :status 404 Not found: The user name is unknown. The bank replies with an `ErrorDetail` object. .. ts:def:: AddIncomingRequest -- cgit v1.2.3