summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-03 16:34:54 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-03 16:34:54 +0100
commiteeac613362e0813ecb63b9241ecc3d8243cea977 (patch)
treeaeaeafb5f483f5c283647ae7b84958bc3071e467
parentbb93581b8955e1cdf5c21bcbcfb342b87b0128f1 (diff)
downloaddocs-eeac613362e0813ecb63b9241ecc3d8243cea977.tar.gz
docs-eeac613362e0813ecb63b9241ecc3d8243cea977.tar.bz2
docs-eeac613362e0813ecb63b9241ecc3d8243cea977.zip
document other status codes
-rw-r--r--core/api-wire.rst4
1 files changed, 4 insertions, 0 deletions
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