commit fc89f030e20fdc830892c3e0219d82b72c484bb9
parent bb21dbf3a97083964a0172b4e6516eb34cbd48d5
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 16 Jun 2021 22:10:00 +0200
clarify merchant api
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -2110,10 +2110,11 @@ Informing the backend about incoming wire transfers
resolve it. So in that respect, 202 is the right status code as more
work remains to be done for a final resolution.)
:http:statuscode:`404 Not found`:
- The instance is unknown to the exchange.
+ The instance or account are unknown to the exchange.
:http:statuscode:`409 Conflict`:
The wire transfer identifier is already known to us, but for a different amount,
- wire method or exchange.
+ wire method or exchange, or the amount reported by the exchange differs from
+ the amount reported by the merchant.
:http:statuscode:`502 Bad gateway`:
The exchange returned an error when we asked it about the ``GET /transfer`` status
for this wire transfer. Details of the exchange error are returned.