diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-04 13:22:23 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-04 13:22:23 +0100 |
commit | 09c7be80fd53318c9d3287b9952d70714d415e21 (patch) | |
tree | 7e4757c5cb710548a054e2c320949f3eb8d9397a /src/talerTypes.ts | |
parent | 202d51c6a2aea6c24af00605dd76b4fc37e42630 (diff) | |
download | wallet-core-09c7be80fd53318c9d3287b9952d70714d415e21.tar.xz |
fix /pay API
Diffstat (limited to 'src/talerTypes.ts')
-rw-r--r-- | src/talerTypes.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/talerTypes.ts b/src/talerTypes.ts index 5ba5af17f..27bf7b43b 100644 --- a/src/talerTypes.ts +++ b/src/talerTypes.ts @@ -264,6 +264,11 @@ export interface CoinPaySig { * The amount that is subtracted from this coin with this payment. */ contribution: AmountJson; + + /** + * URL of the exchange this coin was withdrawn from. + */ + exchange_url: string; } @@ -461,9 +466,9 @@ export interface PayReq { order_id: string; /** - * Exchange that the coins are from (base URL). + * Mode for /pay (pay or refund) */ - exchange: string; + mode: string; } |