From be77ee284a819f7932831bd85e88c47c655addb2 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 7 Sep 2020 15:54:22 +0530 Subject: dynamic pay request timeout --- packages/taler-integrationtests/src/harness.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'packages/taler-integrationtests/src') diff --git a/packages/taler-integrationtests/src/harness.ts b/packages/taler-integrationtests/src/harness.ts index 90a618e17..620b89e76 100644 --- a/packages/taler-integrationtests/src/harness.ts +++ b/packages/taler-integrationtests/src/harness.ts @@ -1215,6 +1215,30 @@ export namespace MerchantPrivateApi { talerRefundUri: resp.data.taler_refund_uri, }; } + + export async function createTippingReserve(merchantService: MerchantServiceInterface, + + req: CreateMerchantTippingReserveRequest, + ): Promise {} +} + +export interface CreateMerchantTippingReserveRequest { + // Amount that the merchant promises to put into the reserve + initial_balance: AmountString; + + // Exchange the merchant intends to use for tipping + exchange_url: string; + + // Desired wire method, for example "iban" or "x-taler-bank" + wire_method: string; +} + +export interface CreateMerchantTippingReserveConfirmation { + // Public key identifying the reserve + reserve_pub: string; + + // Wire account of the exchange where to transfer the funds + payto_url: string; } export class MerchantService implements MerchantServiceInterface { -- cgit v1.2.3