diff options
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> => |