diff options
author | Sebastian <sebasjm@gmail.com> | 2023-04-03 12:13:13 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-04-03 12:13:13 -0300 |
commit | 543795f7fcc310343f9b113837ba4750c740a1fe (patch) | |
tree | 01f1d18b3ec8e6b68ccc179338fa69a1eb5e9063 /packages/taler-util/src/taler-types.ts | |
parent | defdfd769749354ec3aba9436a3bcb5cd39bdd83 (diff) | |
download | wallet-core-543795f7fcc310343f9b113837ba4750c740a1fe.tar.xz |
save posConfirmation after payment
Diffstat (limited to 'packages/taler-util/src/taler-types.ts')
-rw-r--r-- | packages/taler-util/src/taler-types.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index 6e7df2c04..48eb49d22 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -961,6 +961,7 @@ export class ExchangeWithdrawBatchResponse { export interface MerchantPayResponse { sig: string; + pos_confirmation?: string; } export interface ExchangeMeltRequest { @@ -1490,6 +1491,7 @@ export const codecForWithdrawBatchResponse = export const codecForMerchantPayResponse = (): Codec<MerchantPayResponse> => buildCodecForObject<MerchantPayResponse>() .property("sig", codecForString()) + .property("pos_confirmation", codecOptional(codecForString())) .build("MerchantPayResponse"); export const codecForExchangeMeltResponse = (): Codec<ExchangeMeltResponse> => |