View Issue Details

IDProjectCategoryView StatusLast Update
0006066Talerbank API (C)public2021-08-24 14:23
ReporterChristian Grothoff Assigned ToMS Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionreopened 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.7.1Fixed in Version0.8 
Summary0006066: bank should have an API to ask it for the currency it uses
DescriptionThis will be needed for Apps where the user configures a bank connection via URL, username and password and we then need to use the withdraw APIs with a currency. Right now, the app has to magically know the currency or ask the user, both of which is inconvenient. We likely should keep the API endpoint name generic, as there might be other things (especially protocol version) to include in the future as well.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2020-02-04 20:49

manager   ~0015306

bank API specification was updated.

Christian Grothoff

2020-02-04 21:04

manager   ~0015307

taler_bank_lib.h and the fakebank support /config as of e6d6987e..42bc3174

Christian Grothoff

2020-02-04 21:05

manager   ~0015308

Marcello: could you please implement the new "/config" endpoint in nexus and the Python bank? Specification is already done, you only need to return {"version":"0:0:0","currency":"$CURRENCY"} for now.

MS

2020-07-21 10:17

reporter   ~0016492

Implemented.

Python bank: 7b85b8731693216f967668e5444cbc85e1f6d995
Nexus: 71201a801ddc58a06392941f808c3ca5148edeea

Note that Nexus does not read configuration values from any files yet,
therefore the currency is hard-coded to "EUR".

grote

2020-07-31 12:30

reporter   ~0016535

The test bank currently gives this response:

% curl "https://bank.test.taler.net/config"
{"version": "0.0.0", "currency": "TESTKUDOS"}

which fails parsing, because "0.0.0" != "0:0:0"

MS

2020-07-31 16:01

reporter   ~0016537

Fixed here: 32652cc335b140c1e5aaa2f2b13089cc53c3932c

Issue History

Date ModifiedUsernameFieldChange
2020-01-26 09:35Christian GrothoffNew Issue
2020-01-26 09:35Christian GrothoffStatusnew => assigned
2020-01-26 09:35Christian GrothoffAssigned To => Christian Grothoff
2020-02-04 20:49Christian GrothoffNote Added: 0015306
2020-02-04 21:04Christian GrothoffNote Added: 0015307
2020-02-04 21:04Christian GrothoffAssigned ToChristian Grothoff => Marcello Stanisci
2020-02-04 21:05Christian GrothoffNote Added: 0015308
2020-07-16 13:20Christian GrothoffAssigned ToMarcello Stanisci => MS
2020-07-21 10:17MSNote Added: 0016492
2020-07-21 10:19MSStatusassigned => informing
2020-07-21 10:19MSResolutionopen => fixed
2020-07-24 09:56Christian GrothoffFixed in Version => 0.8
2020-07-31 12:30groteStatusinforming => feedback
2020-07-31 12:30groteResolutionfixed => reopened
2020-07-31 12:30groteNote Added: 0016535
2020-07-31 16:01MSNote Added: 0016537
2020-07-31 16:01MSStatusfeedback => informing
2021-08-24 14:23Christian GrothoffStatusinforming => closed