aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index ec4929c33..69ed64446 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -1943,6 +1943,11 @@ export interface TipRecord {
* Identifier for the tip, chosen by the merchant.
*/
tipId: string;
+
+ /**
+ * URL to go to once the tip has been accepted.
+ */
+ nextUrl: string;
}
@@ -2007,6 +2012,9 @@ export class GetTipPlanchetsRequest {
@Checkable.String
exchangeUrl: string;
+ @Checkable.String
+ nextUrl: string;
+
static checked: (obj: any) => GetTipPlanchetsRequest;
}
@@ -2027,5 +2035,8 @@ export class TipToken {
@Checkable.Value(AmountJson)
amount: AmountJson;
+ @Checkable.String
+ next_url: string;
+
static checked: (obj: any) => TipToken;
}