View Issue Details

IDProjectCategoryView StatusLast Update
0011262Talerspecificationpublic2026-03-18 20:29
Reportersebasjm Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Target Versionpost-2.0 
Summary0011262: exchange should return a country information in the account section
DescriptionContext: in the wallet and merchant backoffice SPA when the user needs to make a wire transfer using standard QR spec (EPC / SPC / EMV)

We want to show a country flag (or other type of icon) so the user knows what type of app should use to make the wire transfer.
Right now we only support Swiss banks in prod but exchange may run other type of country fiat currency or crypto.

This information should be in the account sections.

Maybe:

```
interface ExchangeWireAccount {
...

  // Country code based on ISO 3166-1 alpha 2
  bank_country?: string;
}
```
Additional Information
From Chat:

> Of course we can (and should) add the flag of the country where the Exchange is located, especially for currencies used in multiple countries, such as €.

> Feature request: the Exchange struct should provide this flag as Unicode (e.g. flag of Germany = U+1F1E9 U+1F1EA, Switzerland = U+1F1E8 U+1F1ED, Hungary = U+1F1ED U+1F1FA).

> Since it might take some time until the Exchange data is providing this, wallet-core should in the meantime add a flag field to the getTrustedExchanges result.

> This sounds like it would violate the data/display thing common in UIs. The exchange should provide ISO 6709 or country and what is rendered should be up to the UI / localization / App

TagsNo tags attached.

Relationships

related to 0011176 resolvedsebasjm QR code for orders should have a Taler logo (first: design document, then implementation) 

Activities

sebasjm

2026-03-18 19:29

developer   ~0028168

this also needs to reach the merchant backoffice SPA and after the exchange add the information about the account the merchant backend should return it also here

https://docs.taler.net/core/api-merchant.html#get--management-instances-$INSTANCE-kyc

inside MerchantAccountKycRedirect interface.

maybe we can add all that into the payto_uri info?

So adding "bank_label" and "bank_country" params in the payto may be enough

sebasjm

2026-03-18 20:18

developer   ~0028175

The original problem was due to a confusion

> The Swiss flag is supposed be rendered inside the SPC QR code. Based on the type of the QR code that wallet-core gives you.

So right now there is no need to change the spec to show a flag on the QR code. But I think it __may__ still be a good idea so I leave it open but very low priority.
image.png (40,030 bytes)   
image.png (40,030 bytes)   

Issue History

Date Modified Username Field Change
2026-03-18 19:25 sebasjm New Issue
2026-03-18 19:29 sebasjm Note Added: 0028168
2026-03-18 19:45 sebasjm Relationship added related to 0011176
2026-03-18 20:18 sebasjm Note Added: 0028175
2026-03-18 20:18 sebasjm File Added: image.png
2026-03-18 20:29 Christian Grothoff Status new => acknowledged
2026-03-18 20:29 Christian Grothoff Target Version => post-2.0