diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-03 19:22:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-03 19:22:26 +0100 |
commit | e41f6e4aaf3abf95f3da98409259d246aac93283 (patch) | |
tree | acc3a99a23045b37abf17d4dbebd8be377ef7697 /core/api-wire.rst | |
parent | eeac613362e0813ecb63b9241ecc3d8243cea977 (diff) | |
download | docs-e41f6e4aaf3abf95f3da98409259d246aac93283.tar.gz docs-e41f6e4aaf3abf95f3da98409259d246aac93283.tar.bz2 docs-e41f6e4aaf3abf95f3da98409259d246aac93283.zip |
add missing http status codes
Diffstat (limited to 'core/api-wire.rst')
-rw-r--r-- | core/api-wire.rst | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/core/api-wire.rst b/core/api-wire.rst index 5fdb405e..98e07419 100644 --- a/core/api-wire.rst +++ b/core/api-wire.rst @@ -52,8 +52,9 @@ Making Transactions :status 200 OK: 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 400 Bad Request: Request malformed. The bank replies with an `ErrorDetail` object. :status 401 Unauthorized: Authentication failed, likely the credentials are wrong. + :status 404 Not found: The endpoint is wrong or the user name is unknown. The bank replies with an `ErrorDetail` object. :status 409 Conflict: A transaction with the same ``transaction_uid`` but different transaction details has been submitted before. @@ -156,6 +157,9 @@ Querying the transaction history **Response** :status 200 OK: JSON object of type `IncomingHistory`. + :status 400 Bad Request: Request malformed. The bank replies with an `ErrorDetail` object. + :status 401 Unauthorized: Authentication failed, likely the credentials are wrong. + :status 404 Not found: The endpoint is wrong or the user name is unknown. The bank replies with an `ErrorDetail` object. .. ts:def:: IncomingHistory @@ -235,6 +239,9 @@ Querying the transaction history **Response** :status 200 OK: JSON object of type `OutgoingHistory`. + :status 400 Bad Request: Request malformed. The bank replies with an `ErrorDetail` object. + :status 401 Unauthorized: Authentication failed, likely the credentials are wrong. + :status 404 Not found: The endpoint is wrong or the user name is unknown. The bank replies with an `ErrorDetail` object. .. ts:def:: OutgoingHistory @@ -294,7 +301,7 @@ exposed by bank gateways in production. 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. + :status 404 Not found: The endpoint is wrong or the user name is unknown. The bank replies with an `ErrorDetail` object. .. ts:def:: AddIncomingRequest |