taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit eeac613362e0813ecb63b9241ecc3d8243cea977
parent bb93581b8955e1cdf5c21bcbcfb342b87b0128f1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  3 Mar 2020 16:34:54 +0100

document other status codes

Diffstat:
Mcore/api-wire.rst | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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