View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008770 | Taler | specification | public | 2024-04-24 19:12 | 2024-04-27 00:19 |
Reporter | sebasjm | Assigned To | |||
Priority | normal | Severity | text | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | git (master) | ||||
Target Version | post-1.0 | ||||
Summary | 0008770: add taler error code in merchant/exchange spec | ||||
Description | all REST API and wallet API call should also describe the TalerErrorCode in case of unsuccessful call. It will be more appreciated in merchant since it will have a direct impact in merchant backoffice https://docs.taler.net/core/api-merchant.html but also it will be nice to have in the exchange https://docs.taler.net/core/api-exchange.html example of expected rest api definition: https://docs.taler.net/core/api-bank-integration.html#post--withdrawal-operation-$WITHDRAWAL_ID 409 Conflict: TALER_EC_BANK_WITHDRAWAL_OPERATION_RESERVE_SELECTION_CONFLICT: The wallet selected a different exchange or reserve public key under the same withdrawal ID. TALER_EC_BANK_DUPLICATE_RESERVE_PUB_SUBJECT: the reserve public key is already used. TALER_EC_BANK_UNKNOWN_ACCOUNT: the selected exchange account was not found. in this way we know, not just the http status code but the EC and we can handle better in the UI (showing custom message or doing some custom logic) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-04-24 19:12 | sebasjm | New Issue | |
2024-04-24 19:12 | sebasjm | Status | new => assigned |
2024-04-24 19:12 | sebasjm | Assigned To | => Christian Grothoff |
2024-04-27 00:18 | Christian Grothoff | Severity | minor => text |
2024-04-27 00:19 | Christian Grothoff | Assigned To | Christian Grothoff => |
2024-04-27 00:19 | Christian Grothoff | Status | assigned => confirmed |
2024-04-27 00:19 | Christian Grothoff | Target Version | 0.11 => |
2024-04-27 00:19 | Christian Grothoff | Note Added: 0022310 | |
2024-04-27 00:19 | Christian Grothoff | Product Version | 0.11 => git (master) |
2024-04-27 00:19 | Christian Grothoff | Target Version | => post-1.0 |