From 0f6e408aee074a3df5438d79abf43bb4a9286b39 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 8 Jan 2020 14:33:56 +0100 Subject: return proper HTTP status code --- core/api-wire-plugin-bank.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/api-wire-plugin-bank.rst b/core/api-wire-plugin-bank.rst index 7209e988..c25841de 100644 --- a/core/api-wire-plugin-bank.rst +++ b/core/api-wire-plugin-bank.rst @@ -52,6 +52,9 @@ Making Transactions the recipient's account. The body is a `TransactionResponse` :status 400 Bad Request: The bank replies a `BankError` object. :status 406 Not Acceptable: The request had wrong currency; the bank replies a `BankError` object. + :status 409 Conflict: + A transaction with the same ``transaction_uid`` but different transaction details + has been submitted before. **Details:** -- cgit v1.2.3