@spritz-finance/api-client 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,84 +8,6 @@ declare enum Environment {
8
8
 
9
9
  type Headers = Record<string, string | null | undefined>;
10
10
 
11
- type GraphQLVariables = Record<string, unknown>;
12
- interface QueryParams<V extends GraphQLVariables | undefined = GraphQLVariables> {
13
- query: DocumentNode;
14
- variables?: V | undefined;
15
- }
16
- type HTTPMethod = 'get' | 'post' | 'put' | 'patch' | 'delete';
17
- declare class SpritzClient {
18
- private baseGraphURL;
19
- private baseRestURL;
20
- private baseRestApiURL;
21
- private timeout;
22
- private apiKey;
23
- private integrationKey;
24
- private integratorSecret;
25
- constructor({ environment, timeout, // 5 minutes
26
- apiKey, integrationKey, integratorSecret, }: {
27
- environment: Environment;
28
- timeout?: number | undefined;
29
- integrationKey: string | undefined;
30
- integratorSecret: string | undefined;
31
- apiKey: string | undefined;
32
- });
33
- query<Q, V extends GraphQLVariables | undefined = GraphQLVariables>({ query, variables, }: QueryParams<V>): Promise<Q>;
34
- request<Response, Request extends GraphQLVariables = GraphQLVariables>({ method, path, body, }: {
35
- method: HTTPMethod;
36
- path: string;
37
- body?: Request | undefined;
38
- }): Promise<Response>;
39
- restApi<Response, Request extends GraphQLVariables = GraphQLVariables>({ method, path, body, query, }: {
40
- method: HTTPMethod;
41
- path: string;
42
- body?: Request | undefined;
43
- query?: Record<string, string | number | boolean | undefined>;
44
- }): Promise<Response>;
45
- sendQuery({ query: documentNodeQuery, variables: inputVariables, }: QueryParams<GraphQLVariables>): Promise<{
46
- response: Response;
47
- controller: AbortController;
48
- headers: {
49
- traceId: string | null;
50
- requestId: string | null;
51
- };
52
- }>;
53
- sendRequest({ method, path, body, }: {
54
- method: HTTPMethod;
55
- path: string;
56
- body: GraphQLVariables | undefined;
57
- }): Promise<{
58
- response: Response;
59
- controller: AbortController;
60
- headers: {
61
- traceId: string | null;
62
- requestId: string | null;
63
- };
64
- }>;
65
- sendRestApiRequest({ method, path, body, query, }: {
66
- method: HTTPMethod;
67
- path: string;
68
- body: GraphQLVariables | undefined;
69
- query?: Record<string, string | number | boolean | undefined>;
70
- }): Promise<{
71
- response: Response;
72
- controller: AbortController;
73
- headers: {
74
- traceId: string | null;
75
- requestId: string | null;
76
- };
77
- }>;
78
- private sendHTTPRequest;
79
- private getResponseHeaders;
80
- private fetchWithTimeout;
81
- private buildGraphRequest;
82
- private buildRestRequest;
83
- private defaultHeaders;
84
- private calculateContentLength;
85
- protected authHeaders(): Headers;
86
- private makeStatusError;
87
- }
88
-
89
11
  /**
90
12
  * This file was auto-generated by openapi-typescript.
91
13
  * Do not make direct changes to the file.
@@ -1967,6 +1889,26 @@ interface paths {
1967
1889
  patch?: never;
1968
1890
  trace?: never;
1969
1891
  };
1892
+ "/v1/sandbox/funding-sources/{fundingSourceId}": {
1893
+ parameters: {
1894
+ query?: never;
1895
+ header?: never;
1896
+ path?: never;
1897
+ cookie?: never;
1898
+ };
1899
+ get?: never;
1900
+ put?: never;
1901
+ post?: never;
1902
+ /**
1903
+ * Remove a funding source (sandbox only)
1904
+ * @description Permanently removes an ACH debit funding source for the authenticated user. **Only available in sandbox environments** — returns 403 in production. Intended for resetting funding sources during integration testing.
1905
+ */
1906
+ delete: operations["deleteV1SandboxFunding-sourcesByFundingSourceId"];
1907
+ options?: never;
1908
+ head?: never;
1909
+ patch?: never;
1910
+ trace?: never;
1911
+ };
1970
1912
  }
1971
1913
  interface operations {
1972
1914
  "getV1Auto-ramp-accounts": {
@@ -2773,7 +2715,7 @@ interface operations {
2773
2715
  "application/json": {
2774
2716
  /**
2775
2717
  * @description Destination account ID
2776
- * @example 6a05da63c358f286e124b9fc
2718
+ * @example 6a0d5f1ac3aa49d4f16d0721
2777
2719
  */
2778
2720
  accountId: string;
2779
2721
  /**
@@ -2801,7 +2743,7 @@ interface operations {
2801
2743
  "application/x-www-form-urlencoded": {
2802
2744
  /**
2803
2745
  * @description Destination account ID
2804
- * @example 6a05da63c358f286e124b9fc
2746
+ * @example 6a0d5f1ac3aa49d4f16d0721
2805
2747
  */
2806
2748
  accountId: string;
2807
2749
  /**
@@ -2829,7 +2771,7 @@ interface operations {
2829
2771
  "multipart/form-data": {
2830
2772
  /**
2831
2773
  * @description Destination account ID
2832
- * @example 6a05da63c358f286e124b9fc
2774
+ * @example 6a0d5f1ac3aa49d4f16d0721
2833
2775
  */
2834
2776
  accountId: string;
2835
2777
  /**
@@ -2876,7 +2818,7 @@ interface operations {
2876
2818
  /**
2877
2819
  * Format: date-time
2878
2820
  * @description When the quote was created
2879
- * @example 2026-05-14T14:21:23.458Z
2821
+ * @example 2026-05-20T07:13:30.894Z
2880
2822
  */
2881
2823
  createdAt: string;
2882
2824
  /** @description What the user pays — total USD cost and token used. */
@@ -2915,7 +2857,7 @@ interface operations {
2915
2857
  rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
2916
2858
  /**
2917
2859
  * @description Destination account ID
2918
- * @example 6a05da63c358f286e124b9fd
2860
+ * @example 6a0d5f1ac3aa49d4f16d0722
2919
2861
  */
2920
2862
  accountId: string;
2921
2863
  };
@@ -3122,7 +3064,7 @@ interface operations {
3122
3064
  /**
3123
3065
  * Format: date-time
3124
3066
  * @description When the quote was created
3125
- * @example 2026-05-14T14:21:23.458Z
3067
+ * @example 2026-05-20T07:13:30.894Z
3126
3068
  */
3127
3069
  createdAt: string;
3128
3070
  /** @description What the user pays — total USD cost and token used. */
@@ -3161,7 +3103,7 @@ interface operations {
3161
3103
  rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
3162
3104
  /**
3163
3105
  * @description Destination account ID
3164
- * @example 6a05da63c358f286e124b9fd
3106
+ * @example 6a0d5f1ac3aa49d4f16d0722
3165
3107
  */
3166
3108
  accountId: string;
3167
3109
  };
@@ -3658,7 +3600,7 @@ interface operations {
3658
3600
  currency: string;
3659
3601
  /**
3660
3602
  * @description Destination account ID
3661
- * @example 6a05da63c358f286e124b9fe
3603
+ * @example 6a0d5f1ac3aa49d4f16d0723
3662
3604
  */
3663
3605
  accountId: string;
3664
3606
  accountName: (string | null) | null;
@@ -3874,7 +3816,7 @@ interface operations {
3874
3816
  currency: string;
3875
3817
  /**
3876
3818
  * @description Destination account ID
3877
- * @example 6a05da63c358f286e124b9fe
3819
+ * @example 6a0d5f1ac3aa49d4f16d0723
3878
3820
  */
3879
3821
  accountId: string;
3880
3822
  accountName: (string | null) | null;
@@ -7083,11 +7025,31 @@ interface operations {
7083
7025
  */
7084
7026
  bankAccountId: string;
7085
7027
  /**
7086
- * @description Institution name used for funding source display
7028
+ * @description Institution name used for funding source display. Prefer `institution.name` when present; this field will be removed in a future release.
7087
7029
  * @example Plaid Test Bank
7088
7030
  * @example null
7089
7031
  */
7090
7032
  institutionName: string | null;
7033
+ /** @description Branding metadata for the institution backing the funding source, or null when no institution data is available. */
7034
+ institution: {
7035
+ /**
7036
+ * @description Display name for the institution
7037
+ * @example Chase
7038
+ */
7039
+ name: string;
7040
+ /**
7041
+ * @description Absolute URL to the institution's logo (PNG). Null when the institution has no logo on file.
7042
+ * @example https://assets.platform.spritz.finance/institutions/ins_109508.png
7043
+ * @example null
7044
+ */
7045
+ logoUrl: string | null;
7046
+ /**
7047
+ * @description Hex color (e.g. `#1e88e5`) representing the institution's brand. Null when unavailable.
7048
+ * @example #1e88e5
7049
+ * @example null
7050
+ */
7051
+ primaryColor: string | null;
7052
+ } | null;
7091
7053
  /**
7092
7054
  * @description Last 4 digits of the linked bank account number
7093
7055
  * @example 6789
@@ -7446,11 +7408,31 @@ interface operations {
7446
7408
  */
7447
7409
  bankAccountId: string;
7448
7410
  /**
7449
- * @description Institution name used for funding source display
7411
+ * @description Institution name used for funding source display. Prefer `institution.name` when present; this field will be removed in a future release.
7450
7412
  * @example Plaid Test Bank
7451
7413
  * @example null
7452
7414
  */
7453
7415
  institutionName: string | null;
7416
+ /** @description Branding metadata for the institution backing the funding source, or null when no institution data is available. */
7417
+ institution: {
7418
+ /**
7419
+ * @description Display name for the institution
7420
+ * @example Chase
7421
+ */
7422
+ name: string;
7423
+ /**
7424
+ * @description Absolute URL to the institution's logo (PNG). Null when the institution has no logo on file.
7425
+ * @example https://assets.platform.spritz.finance/institutions/ins_109508.png
7426
+ * @example null
7427
+ */
7428
+ logoUrl: string | null;
7429
+ /**
7430
+ * @description Hex color (e.g. `#1e88e5`) representing the institution's brand. Null when unavailable.
7431
+ * @example #1e88e5
7432
+ * @example null
7433
+ */
7434
+ primaryColor: string | null;
7435
+ } | null;
7454
7436
  /**
7455
7437
  * @description Last 4 digits of the linked bank account number
7456
7438
  * @example 6789
@@ -8171,7 +8153,7 @@ interface operations {
8171
8153
  content: {
8172
8154
  "application/json": {
8173
8155
  /**
8174
- * @description Plaid OAuth redirect target. For web, use a URL. For iOS, use a universal link. For Android, use the package name.
8156
+ * @description Plaid OAuth target. For web or iOS, pass an https:// URL (web return URL or iOS universal link). For Android, pass the package name (e.g. com.example.app) — values without an https:// prefix are forwarded to Plaid as android_package_name with redirect_uri left blank, per Plaid's per-platform requirements.
8175
8157
  * @example https://app.example.com/plaid/oauth-return
8176
8158
  * @example com.example.app
8177
8159
  */
@@ -8179,7 +8161,7 @@ interface operations {
8179
8161
  } | Record<string, never>;
8180
8162
  "application/x-www-form-urlencoded": {
8181
8163
  /**
8182
- * @description Plaid OAuth redirect target. For web, use a URL. For iOS, use a universal link. For Android, use the package name.
8164
+ * @description Plaid OAuth target. For web or iOS, pass an https:// URL (web return URL or iOS universal link). For Android, pass the package name (e.g. com.example.app) — values without an https:// prefix are forwarded to Plaid as android_package_name with redirect_uri left blank, per Plaid's per-platform requirements.
8183
8165
  * @example https://app.example.com/plaid/oauth-return
8184
8166
  * @example com.example.app
8185
8167
  */
@@ -8187,7 +8169,7 @@ interface operations {
8187
8169
  } | Record<string, never>;
8188
8170
  "multipart/form-data": {
8189
8171
  /**
8190
- * @description Plaid OAuth redirect target. For web, use a URL. For iOS, use a universal link. For Android, use the package name.
8172
+ * @description Plaid OAuth target. For web or iOS, pass an https:// URL (web return URL or iOS universal link). For Android, pass the package name (e.g. com.example.app) — values without an https:// prefix are forwarded to Plaid as android_package_name with redirect_uri left blank, per Plaid's per-platform requirements.
8191
8173
  * @example https://app.example.com/plaid/oauth-return
8192
8174
  * @example com.example.app
8193
8175
  */
@@ -11598,7 +11580,7 @@ interface operations {
11598
11580
  accessToken: string;
11599
11581
  /**
11600
11582
  * @description The internal ID of the authorized user
11601
- * @example 6a05da63c358f286e124ba06
11583
+ * @example 6a0d5f1bc3aa49d4f16d072b
11602
11584
  */
11603
11585
  userId: string;
11604
11586
  /**
@@ -11614,7 +11596,7 @@ interface operations {
11614
11596
  /**
11615
11597
  * Format: date-time
11616
11598
  * @description ISO 8601 timestamp when token expires
11617
- * @example 2026-05-14T15:21:23.651Z
11599
+ * @example 2026-05-20T08:13:31.080Z
11618
11600
  */
11619
11601
  expiresAt: string;
11620
11602
  };
@@ -11789,7 +11771,7 @@ interface operations {
11789
11771
  /**
11790
11772
  * Format: date-time
11791
11773
  * @description ISO 8601 timestamp of when the integrator was created
11792
- * @example 2026-05-14T14:21:23.650Z
11774
+ * @example 2026-05-20T07:13:31.080Z
11793
11775
  */
11794
11776
  createdAt: string;
11795
11777
  };
@@ -11960,7 +11942,7 @@ interface operations {
11960
11942
  depositId: string;
11961
11943
  /**
11962
11944
  * @description Spritz user ID associated with the returned deposit
11963
- * @example 6a05da63c358f286e124ba05
11945
+ * @example 6a0d5f1bc3aa49d4f16d072a
11964
11946
  */
11965
11947
  userId: string;
11966
11948
  /**
@@ -12148,7 +12130,7 @@ interface operations {
12148
12130
  depositId: string;
12149
12131
  /**
12150
12132
  * @description Spritz user ID associated with the returned deposit
12151
- * @example 6a05da63c358f286e124ba05
12133
+ * @example 6a0d5f1bc3aa49d4f16d072a
12152
12134
  */
12153
12135
  userId: string;
12154
12136
  /**
@@ -12317,7 +12299,7 @@ interface operations {
12317
12299
  "application/json": {
12318
12300
  /**
12319
12301
  * @description Unique identifier for the webhook
12320
- * @example 6a05da63c358f286e124ba07
12302
+ * @example 6a0d5f1bc3aa49d4f16d072c
12321
12303
  */
12322
12304
  id: string;
12323
12305
  /** @description List of event types this webhook is subscribed to */
@@ -12524,7 +12506,7 @@ interface operations {
12524
12506
  "application/json": {
12525
12507
  /**
12526
12508
  * @description Unique identifier for the webhook
12527
- * @example 6a05da63c358f286e124ba07
12509
+ * @example 6a0d5f1bc3aa49d4f16d072c
12528
12510
  */
12529
12511
  id: string;
12530
12512
  /** @description List of event types this webhook is subscribed to */
@@ -12860,7 +12842,7 @@ interface operations {
12860
12842
  "application/json": {
12861
12843
  /**
12862
12844
  * @description Unique identifier for the webhook
12863
- * @example 6a05da63c358f286e124ba07
12845
+ * @example 6a0d5f1bc3aa49d4f16d072c
12864
12846
  */
12865
12847
  id: string;
12866
12848
  /** @description List of event types this webhook is subscribed to */
@@ -13235,7 +13217,7 @@ interface operations {
13235
13217
  /**
13236
13218
  * Format: date-time
13237
13219
  * @description ISO 8601 timestamp when the old secret will expire. Only present if a grace period was specified.
13238
- * @example 2026-05-14T14:26:23.651Z
13220
+ * @example 2026-05-20T07:18:31.080Z
13239
13221
  */
13240
13222
  oldSecretExpiresAt?: string;
13241
13223
  };
@@ -13382,7 +13364,7 @@ interface operations {
13382
13364
  "application/json": {
13383
13365
  /**
13384
13366
  * @description Unique identifier for the user
13385
- * @example 6a05da63c358f286e124ba03
13367
+ * @example 6a0d5f1bc3aa49d4f16d0728
13386
13368
  */
13387
13369
  id: string;
13388
13370
  email: (string | null) | null;
@@ -13390,7 +13372,7 @@ interface operations {
13390
13372
  /**
13391
13373
  * Format: date-time
13392
13374
  * @description ISO 8601 timestamp of when the user was created
13393
- * @example 2026-05-14T14:21:23.645Z
13375
+ * @example 2026-05-20T07:13:31.075Z
13394
13376
  */
13395
13377
  signedUpAt: string;
13396
13378
  timezone: (string | null) | null;
@@ -13720,7 +13702,7 @@ interface operations {
13720
13702
  "application/json": {
13721
13703
  /**
13722
13704
  * @description Unique identifier for the user
13723
- * @example 6a05da63c358f286e124ba03
13705
+ * @example 6a0d5f1bc3aa49d4f16d0728
13724
13706
  */
13725
13707
  id: string;
13726
13708
  email: (string | null) | null;
@@ -13728,7 +13710,7 @@ interface operations {
13728
13710
  /**
13729
13711
  * Format: date-time
13730
13712
  * @description ISO 8601 timestamp of when the user was created
13731
- * @example 2026-05-14T14:21:23.645Z
13713
+ * @example 2026-05-20T07:13:31.075Z
13732
13714
  */
13733
13715
  signedUpAt: string;
13734
13716
  timezone: (string | null) | null;
@@ -14130,7 +14112,7 @@ interface operations {
14130
14112
  "application/json": {
14131
14113
  /**
14132
14114
  * @description Unique identifier for the user
14133
- * @example 6a05da63c358f286e124ba03
14115
+ * @example 6a0d5f1bc3aa49d4f16d0728
14134
14116
  */
14135
14117
  id: string;
14136
14118
  email: (string | null) | null;
@@ -14138,7 +14120,7 @@ interface operations {
14138
14120
  /**
14139
14121
  * Format: date-time
14140
14122
  * @description ISO 8601 timestamp of when the user was created
14141
- * @example 2026-05-14T14:21:23.645Z
14123
+ * @example 2026-05-20T07:13:31.075Z
14142
14124
  */
14143
14125
  signedUpAt: string;
14144
14126
  timezone: (string | null) | null;
@@ -21858,10 +21840,204 @@ interface operations {
21858
21840
  };
21859
21841
  };
21860
21842
  };
21843
+ "deleteV1SandboxFunding-sourcesByFundingSourceId": {
21844
+ parameters: {
21845
+ query?: never;
21846
+ header?: never;
21847
+ path: {
21848
+ fundingSourceId: string;
21849
+ };
21850
+ cookie?: never;
21851
+ };
21852
+ requestBody?: never;
21853
+ responses: {
21854
+ /** @description Confirmation that a funding source was removed */
21855
+ 200: {
21856
+ headers: {
21857
+ [name: string]: unknown;
21858
+ };
21859
+ content: {
21860
+ "application/json": {
21861
+ /**
21862
+ * @description Opaque public identifier for the removed funding source
21863
+ * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
21864
+ */
21865
+ id: string;
21866
+ /**
21867
+ * @description Always true for a removed funding source response
21868
+ * @constant
21869
+ */
21870
+ deleted: true;
21871
+ };
21872
+ };
21873
+ };
21874
+ /** @description Response for status 401 */
21875
+ 401: {
21876
+ headers: {
21877
+ [name: string]: unknown;
21878
+ };
21879
+ content: {
21880
+ "application/json": {
21881
+ /**
21882
+ * @description A URI reference that identifies the problem type
21883
+ * @default about:blank
21884
+ * @example urn:problem-type:auth:unauthorized
21885
+ * @example urn:problem-type:auth:token-expired
21886
+ */
21887
+ type: string;
21888
+ /**
21889
+ * @description A short, human-readable summary of the problem type
21890
+ * @example Unauthorized
21891
+ * @example Token Expired
21892
+ */
21893
+ title: string;
21894
+ /**
21895
+ * @description The HTTP status code
21896
+ * @example 401
21897
+ * @example 403
21898
+ */
21899
+ status: number;
21900
+ /**
21901
+ * @description A human-readable explanation specific to this occurrence
21902
+ * @example Bearer token required
21903
+ * @example Invalid token
21904
+ */
21905
+ detail?: string;
21906
+ /** @description A URI reference that identifies the specific occurrence */
21907
+ instance?: string;
21908
+ /**
21909
+ * @description The authentication realm
21910
+ * @example API
21911
+ */
21912
+ realm?: string;
21913
+ /**
21914
+ * @description The required scope for this resource
21915
+ * @example read:users
21916
+ * @example write:orders
21917
+ */
21918
+ scope?: string;
21919
+ };
21920
+ };
21921
+ };
21922
+ /** @description Response for status 403 */
21923
+ 403: {
21924
+ headers: {
21925
+ [name: string]: unknown;
21926
+ };
21927
+ content: {
21928
+ "application/json": {
21929
+ /**
21930
+ * @description A URI reference that identifies the problem type
21931
+ * @default about:blank
21932
+ * @example urn:problem-type:auth:unauthorized
21933
+ * @example urn:problem-type:system:internal-error
21934
+ */
21935
+ type: string;
21936
+ /**
21937
+ * @description A short, human-readable summary of the problem type
21938
+ * @example Unauthorized
21939
+ * @example Internal Server Error
21940
+ */
21941
+ title: string;
21942
+ /**
21943
+ * @description The HTTP status code
21944
+ * @example 400
21945
+ * @example 401
21946
+ * @example 404
21947
+ * @example 500
21948
+ */
21949
+ status: number;
21950
+ /** @description A human-readable explanation specific to this occurrence */
21951
+ detail?: string;
21952
+ /**
21953
+ * @description A URI reference that identifies the specific occurrence
21954
+ * @example /errors/1234567890
21955
+ */
21956
+ instance?: string;
21957
+ };
21958
+ };
21959
+ };
21960
+ /** @description Response for status 404 */
21961
+ 404: {
21962
+ headers: {
21963
+ [name: string]: unknown;
21964
+ };
21965
+ content: {
21966
+ "application/json": {
21967
+ /**
21968
+ * @description A URI reference that identifies the problem type
21969
+ * @default about:blank
21970
+ */
21971
+ type: string;
21972
+ /** @description A short, human-readable summary of the problem type */
21973
+ title: string;
21974
+ /**
21975
+ * @description The HTTP status code
21976
+ * @example 404
21977
+ */
21978
+ status: number;
21979
+ /** @description A human-readable explanation specific to this occurrence */
21980
+ detail?: string;
21981
+ /** @description A URI reference that identifies the specific occurrence */
21982
+ instance?: string;
21983
+ /**
21984
+ * @description The type of resource that was not found
21985
+ * @example user
21986
+ * @example account
21987
+ * @example transaction
21988
+ */
21989
+ resourceType: string;
21990
+ /** @description The identifier of the resource that was not found */
21991
+ resourceId: string;
21992
+ };
21993
+ };
21994
+ };
21995
+ /** @description Response for status 500 */
21996
+ 500: {
21997
+ headers: {
21998
+ [name: string]: unknown;
21999
+ };
22000
+ content: {
22001
+ "application/json": {
22002
+ /**
22003
+ * @description A URI reference that identifies the problem type
22004
+ * @default about:blank
22005
+ * @example urn:problem-type:auth:unauthorized
22006
+ * @example urn:problem-type:system:internal-error
22007
+ */
22008
+ type: string;
22009
+ /**
22010
+ * @description A short, human-readable summary of the problem type
22011
+ * @example Unauthorized
22012
+ * @example Internal Server Error
22013
+ */
22014
+ title: string;
22015
+ /**
22016
+ * @description The HTTP status code
22017
+ * @example 400
22018
+ * @example 401
22019
+ * @example 404
22020
+ * @example 500
22021
+ */
22022
+ status: number;
22023
+ /** @description A human-readable explanation specific to this occurrence */
22024
+ detail?: string;
22025
+ /**
22026
+ * @description A URI reference that identifies the specific occurrence
22027
+ * @example /errors/1234567890
22028
+ */
22029
+ instance?: string;
22030
+ };
22031
+ };
22032
+ };
22033
+ };
22034
+ };
21861
22035
  }
21862
22036
 
22037
+ type RestPath = keyof paths;
21863
22038
  type HttpMethod = 'get' | 'post' | 'put' | 'patch' | 'delete';
21864
- type Extract200<P extends keyof paths, M extends HttpMethod & keyof paths[P]> = paths[P][M] extends {
22039
+ type RestMethod<P extends RestPath> = HttpMethod & keyof paths[P];
22040
+ type Extract200<P extends RestPath, M extends RestMethod<P>> = paths[P][M] extends {
21865
22041
  responses: {
21866
22042
  200: {
21867
22043
  content: {
@@ -21870,7 +22046,7 @@ type Extract200<P extends keyof paths, M extends HttpMethod & keyof paths[P]> =
21870
22046
  };
21871
22047
  };
21872
22048
  } ? R : never;
21873
- type Extract201<P extends keyof paths, M extends HttpMethod & keyof paths[P]> = paths[P][M] extends {
22049
+ type Extract201<P extends RestPath, M extends RestMethod<P>> = paths[P][M] extends {
21874
22050
  responses: {
21875
22051
  201: {
21876
22052
  content: {
@@ -21880,9 +22056,9 @@ type Extract201<P extends keyof paths, M extends HttpMethod & keyof paths[P]> =
21880
22056
  };
21881
22057
  } ? R : never;
21882
22058
  /** Extract the success (200/201) JSON response body for a path + method */
21883
- type PathResponse<P extends keyof paths, M extends HttpMethod & keyof paths[P]> = Extract200<P, M> extends never ? Extract201<P, M> : Extract200<P, M> | Extract201<P, M>;
22059
+ type PathResponse<P extends RestPath, M extends RestMethod<P>> = Extract200<P, M> extends never ? Extract201<P, M> : Extract200<P, M> | Extract201<P, M>;
21884
22060
  /** Extract the JSON request body for a path + method */
21885
- type PathRequestBody<P extends keyof paths, M extends HttpMethod & keyof paths[P]> = paths[P][M] extends {
22061
+ type PathRequestBody<P extends RestPath, M extends RestMethod<P>> = paths[P][M] extends {
21886
22062
  requestBody: {
21887
22063
  content: {
21888
22064
  'application/json': infer B;
@@ -21890,18 +22066,105 @@ type PathRequestBody<P extends keyof paths, M extends HttpMethod & keyof paths[P
21890
22066
  };
21891
22067
  } ? B : never;
21892
22068
  /** Extract query parameters for a path + method */
21893
- type PathQuery<P extends keyof paths, M extends HttpMethod & keyof paths[P]> = paths[P][M] extends {
22069
+ type PathQuery<P extends RestPath, M extends RestMethod<P>> = paths[P][M] extends {
21894
22070
  parameters: {
21895
22071
  query?: infer Q;
21896
22072
  };
21897
22073
  } ? Q : never;
21898
22074
  /** Extract path parameters for a path + method */
21899
- type PathParams<P extends keyof paths, M extends HttpMethod & keyof paths[P]> = paths[P][M] extends {
22075
+ type PathParams<P extends RestPath, M extends RestMethod<P>> = paths[P][M] extends {
21900
22076
  parameters: {
21901
22077
  path: infer PP;
21902
22078
  };
21903
22079
  } ? PP : never;
21904
22080
 
22081
+ type RestQueryValue = string | number | boolean | undefined;
22082
+ type RestQuery = Record<string, RestQueryValue>;
22083
+ type RestRoute<P extends RestPath = RestPath, M extends RestMethod<P> = RestMethod<P>> = {
22084
+ method: M;
22085
+ path: string;
22086
+ body?: PathRequestBody<P, M>;
22087
+ query?: RestQuery;
22088
+ };
22089
+
22090
+ type GraphQLVariables = Record<string, unknown>;
22091
+ interface QueryParams<V extends GraphQLVariables | undefined = GraphQLVariables> {
22092
+ query: DocumentNode;
22093
+ variables?: V | undefined;
22094
+ }
22095
+ declare class SpritzClient {
22096
+ private baseGraphURL;
22097
+ private baseRestURL;
22098
+ private baseRestApiURL;
22099
+ private timeout;
22100
+ private apiKey;
22101
+ private integrationKey;
22102
+ private integratorSecret;
22103
+ constructor({ environment, timeout, // 5 minutes
22104
+ apiKey, integrationKey, integratorSecret, }: {
22105
+ environment: Environment;
22106
+ timeout?: number | undefined;
22107
+ integrationKey: string | undefined;
22108
+ integratorSecret: string | undefined;
22109
+ apiKey: string | undefined;
22110
+ });
22111
+ query<Q, V extends GraphQLVariables | undefined = GraphQLVariables>({ query, variables, }: QueryParams<V>): Promise<Q>;
22112
+ request<Response, Request extends GraphQLVariables = GraphQLVariables>({ method, path, body, }: {
22113
+ method: HttpMethod;
22114
+ path: string;
22115
+ body?: Request | undefined;
22116
+ }): Promise<Response>;
22117
+ restApi<P extends RestPath, M extends RestMethod<P>>(route: RestRoute<P, M>): Promise<PathResponse<P, M>>;
22118
+ restApi<Response, Request = unknown>({ method, path, body, query, }: {
22119
+ method: HttpMethod;
22120
+ path: string;
22121
+ body?: Request | undefined;
22122
+ query?: RestQuery;
22123
+ }): Promise<Response>;
22124
+ sendQuery({ query: documentNodeQuery, variables: inputVariables, }: QueryParams<GraphQLVariables>): Promise<{
22125
+ response: Response;
22126
+ controller: AbortController;
22127
+ headers: {
22128
+ traceId: string | null;
22129
+ requestId: string | null;
22130
+ };
22131
+ }>;
22132
+ sendRequest({ method, path, body, }: {
22133
+ method: HttpMethod;
22134
+ path: string;
22135
+ body: GraphQLVariables | undefined;
22136
+ }): Promise<{
22137
+ response: Response;
22138
+ controller: AbortController;
22139
+ headers: {
22140
+ traceId: string | null;
22141
+ requestId: string | null;
22142
+ };
22143
+ }>;
22144
+ sendRestApiRequest({ method, path, body, query, }: {
22145
+ method: HttpMethod;
22146
+ path: string;
22147
+ body: unknown | undefined;
22148
+ query?: RestQuery;
22149
+ }): Promise<{
22150
+ response: Response;
22151
+ controller: AbortController;
22152
+ headers: {
22153
+ traceId: string | null;
22154
+ requestId: string | null;
22155
+ };
22156
+ }>;
22157
+ private sendHTTPRequest;
22158
+ private getResponseHeaders;
22159
+ private fetchWithTimeout;
22160
+ private buildGraphRequest;
22161
+ private buildRestRequest;
22162
+ private defaultHeaders;
22163
+ private calculateContentLength;
22164
+ protected authHeaders(): Headers;
22165
+ private makeStatusError;
22166
+ }
22167
+
21905
22168
  type AchDebitReturnListResponse = PathResponse<'/v1/integrator/ach-debit/returns', 'get'>;
21906
22169
  type AchDebitReturn = AchDebitReturnListResponse['data'][number];
21907
22170
  type AchDebitReturnListQuery = PathQuery<'/v1/integrator/ach-debit/returns', 'get'>;
@@ -23815,6 +24078,11 @@ declare class FundingSourceService {
23815
24078
  id: string;
23816
24079
  bankAccountId: string;
23817
24080
  institutionName: string | null;
24081
+ institution: {
24082
+ name: string;
24083
+ logoUrl: string | null;
24084
+ primaryColor: string | null;
24085
+ } | null;
23818
24086
  accountNumberLast4: string | null;
23819
24087
  accountType: "checking" | "savings" | "business" | "unknown";
23820
24088
  status: "pending" | "active" | "review_required" | "ineligible" | "disabled";
@@ -23826,6 +24094,11 @@ declare class FundingSourceService {
23826
24094
  id: string;
23827
24095
  bankAccountId: string;
23828
24096
  institutionName: string | null;
24097
+ institution: {
24098
+ name: string;
24099
+ logoUrl: string | null;
24100
+ primaryColor: string | null;
24101
+ } | null;
23829
24102
  accountNumberLast4: string | null;
23830
24103
  accountType: "checking" | "savings" | "business" | "unknown";
23831
24104
  status: "pending" | "active" | "review_required" | "ineligible" | "disabled";
@@ -23855,6 +24128,7 @@ declare class InstitutionService {
23855
24128
  type BypassKycRequest = PathRequestBody<'/v1/sandbox/bypass-kyc', 'post'>;
23856
24129
  type CreateDepositWithReturnRequest = PathRequestBody<'/v1/sandbox/deposits/direct', 'post'>;
23857
24130
  type CreateDepositWithReturnResponse = PathResponse<'/v1/sandbox/deposits/direct', 'post'>;
24131
+ type DeleteFundingSourceResponse = PathResponse<'/v1/sandbox/funding-sources/{fundingSourceId}', 'delete'>;
23858
24132
  declare class SandboxService {
23859
24133
  private client;
23860
24134
  constructor(client: SpritzClient);
@@ -23912,6 +24186,16 @@ declare class SandboxService {
23912
24186
  releaseFailureReason: string | null;
23913
24187
  payoutTxHash: string | null;
23914
24188
  }>;
24189
+ /**
24190
+ * Permanently remove an ACH debit funding source for the authenticated user.
24191
+ * Intended for resetting funding sources during integration testing.
24192
+ *
24193
+ * Only available in sandbox environments — returns 403 in production.
24194
+ */
24195
+ deleteFundingSource(fundingSourceId: string): Promise<{
24196
+ id: string;
24197
+ deleted: true;
24198
+ }>;
23915
24199
  }
23916
24200
 
23917
24201
  interface CreateOnrampPayment_createOnrampPayment_depositInstructions {
@@ -24539,4 +24823,4 @@ declare class InternalServerError extends APIError {
24539
24823
  }
24540
24824
 
24541
24825
  export { APIConnectionError, APIConnectionTimeoutError, APIError, APIUserAbortError, AmountMode, AuthenticationError, BadRequestError, BankAccountSubType, BankAccountType, BillType, CardFeatureType, ConflictError, DebitCardNetwork, Environment, InternalServerError, NotFoundError, OfframpFeatureType, OnrampFeatureType, PayableAccountType, PaymentDeliveryMethod, PaymentNetwork, DirectPaymentStatus as PaymentRequestStatus, PaymentStatus, PermissionDeniedError, RateLimitError, RequirementType, SpritzApiClient, SpritzApiError, UnprocessableEntityError, VirtualCardType, onrampSupportedTokens };
24542
- export type { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountPayments_paymentsForAccount_transaction, AchDebitReturn, AchDebitReturnListQuery, AchDebitReturnListResponse, BankAccount, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountFragment_paymentAddresses, BankAccountInput, BankAccountList, BillFragment, BillFragment_billAccountDetails, BillFragment_dataSync, BillFragment_institution, BillFragment_paymentAddresses, BypassKycRequest, CategoryAccess, ClientOptions, CompleteLinkingRequest, CompleteLinkingResponse, CreateBankAccountInput, CreateBankAccountResponse, CreateDepositRequest, CreateDepositWithReturnRequest, CreateDepositWithReturnResponse, CreateDirectPaymentInput, CreateOnrampPaymentInput, CreatePaymentRequestInput, CreateVirtualAccountInput, CreateWebhookParams, CurrentUser, CurrentUser_me, CurrentUser_verification, CurrentUser_verification_identity, CurrentUser_verification_identity_verificationMetadata, CurrentUser_verification_identity_verificationMetadata_details, DebitCardFragment, DebitCardInput, DeleteBankAccountResponse, Deposit, FullBridgeUser, FundingSource, FundingSourceDepositLimits, GetSolanaPayParams, GetSolanaPayParamsVariables, GetSolanaPayParams_solanaParams, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, IntegratorWebhook, KycStatus, LinkTokenResponse, OnRamp, OnRampDetail, OnRampListQuery, OnRampListResponse, OnrampPaymentFragment, OnrampPaymentFragment_depositInstructions, OnrampPayments, OnrampPayments_onrampPayments, OnrampPayments_onrampPayments_depositInstructions, PathParams, PathQuery, PathRequestBody, PathResponse, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_dataSync, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_billAccountDetails, PayableAccountFragment_Bill_dataSync, PayableAccountFragment_Bill_institution, PayableAccountFragment_DebitCard, PayableAccountFragment_DebitCard_dataSync, PayableAccountFragment_DebitCard_institution, PayableAccountFragment_VirtualCard, PayableAccountFragment_VirtualCard_billingInfo, PayableAccountFragment_VirtualCard_billingInfo_address, PayableAccountFragment_VirtualCard_dataSync, PayableAccountFragment_VirtualCard_institution, PayableAccountInstitutionFragment, Payment, PaymentFragment, PaymentFragment_transaction, PaymentLimits, PaymentLimitsResponse, PaymentLimitsVariables, PaymentLimits_paymentLimits, PaymentRequestFragment, PaymentRequestPayment, PaymentRequestPaymentVariables, PaymentRequestPayment_paymentForPaymentRequest, PaymentRequestPayment_paymentForPaymentRequest_transaction, PaymentVariables, Payment_payment, Payment_payment_transaction, PopularBillInstitutions, PopularBillInstitutionsVariables, PopularBillInstitutions_popularUSBillInstitutions, PrepareDepositRequest, PrepareDepositResponse, Requirement, operations as RestApiOperations, paths as RestApiPaths, SearchUSBillInstitutions, SearchUSBillInstitutionsVariables, SearchUSBillInstitutions_searchUSBillInstitutions, TokenBalanceFragment, UpdateWebhookParams, UpdateWebhookSecretResponse, UserAccess, UserAccessCapabilities, UserAccess_bridgeUser, UserAccess_me, UserAccess_verification, UserAccess_verification_identity, UserAccess_verification_identity_verificationMetadata, UserAccess_verification_identity_verificationMetadata_details, UserBankAccounts, UserBankAccounts_bankAccounts, UserBankAccounts_bankAccounts_bankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_bankAccounts_institution, UserBankAccounts_bankAccounts_paymentAddresses, UserBills, UserBills_bills, UserBills_bills_billAccountDetails, UserBills_bills_dataSync, UserBills_bills_institution, UserBills_bills_paymentAddresses, UserDebitCards, UserDebitCards_debitCards, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_dataSync, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_billAccountDetails, UserPayableAccounts_payableAccounts_Bill_dataSync, UserPayableAccounts_payableAccounts_Bill_institution, UserPayableAccounts_payableAccounts_DebitCard, UserPayableAccounts_payableAccounts_DebitCard_dataSync, UserPayableAccounts_payableAccounts_DebitCard_institution, UserPayableAccounts_payableAccounts_VirtualCard, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address, UserPayableAccounts_payableAccounts_VirtualCard_dataSync, UserPayableAccounts_payableAccounts_VirtualCard_institution, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, UserVerification_verification_identity_verificationMetadata, UserVerification_verification_identity_verificationMetadata_details, UserVirtualDebitCard, UserVirtualDebitCard_virtualDebitCard, UserVirtualDebitCard_virtualDebitCard_billingInfo, UserVirtualDebitCard_virtualDebitCard_billingInfo_address, UserVirtualDebitCard_virtualDebitCard_paymentAddresses, VerificationFragment, VerificationFragment_identity, VerificationFragment_identity_verificationMetadata, VerificationFragment_identity_verificationMetadata_details, VirtualAccountFragment, VirtualAccountFragment_depositInstructions, VirtualAccounts, VirtualAccounts_virtualAccounts, VirtualAccounts_virtualAccounts_depositInstructions, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, VirtualDebitCardFragment_paymentAddresses, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances, WebhookEvent };
24826
+ export type { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountPayments_paymentsForAccount_transaction, AchDebitReturn, AchDebitReturnListQuery, AchDebitReturnListResponse, BankAccount, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountFragment_paymentAddresses, BankAccountInput, BankAccountList, BillFragment, BillFragment_billAccountDetails, BillFragment_dataSync, BillFragment_institution, BillFragment_paymentAddresses, BypassKycRequest, CategoryAccess, ClientOptions, CompleteLinkingRequest, CompleteLinkingResponse, CreateBankAccountInput, CreateBankAccountResponse, CreateDepositRequest, CreateDepositWithReturnRequest, CreateDepositWithReturnResponse, CreateDirectPaymentInput, CreateOnrampPaymentInput, CreatePaymentRequestInput, CreateVirtualAccountInput, CreateWebhookParams, CurrentUser, CurrentUser_me, CurrentUser_verification, CurrentUser_verification_identity, CurrentUser_verification_identity_verificationMetadata, CurrentUser_verification_identity_verificationMetadata_details, DebitCardFragment, DebitCardInput, DeleteBankAccountResponse, DeleteFundingSourceResponse, Deposit, FullBridgeUser, FundingSource, FundingSourceDepositLimits, GetSolanaPayParams, GetSolanaPayParamsVariables, GetSolanaPayParams_solanaParams, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, IntegratorWebhook, KycStatus, LinkTokenResponse, OnRamp, OnRampDetail, OnRampListQuery, OnRampListResponse, OnrampPaymentFragment, OnrampPaymentFragment_depositInstructions, OnrampPayments, OnrampPayments_onrampPayments, OnrampPayments_onrampPayments_depositInstructions, PathParams, PathQuery, PathRequestBody, PathResponse, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_dataSync, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_billAccountDetails, PayableAccountFragment_Bill_dataSync, PayableAccountFragment_Bill_institution, PayableAccountFragment_DebitCard, PayableAccountFragment_DebitCard_dataSync, PayableAccountFragment_DebitCard_institution, PayableAccountFragment_VirtualCard, PayableAccountFragment_VirtualCard_billingInfo, PayableAccountFragment_VirtualCard_billingInfo_address, PayableAccountFragment_VirtualCard_dataSync, PayableAccountFragment_VirtualCard_institution, PayableAccountInstitutionFragment, Payment, PaymentFragment, PaymentFragment_transaction, PaymentLimits, PaymentLimitsResponse, PaymentLimitsVariables, PaymentLimits_paymentLimits, PaymentRequestFragment, PaymentRequestPayment, PaymentRequestPaymentVariables, PaymentRequestPayment_paymentForPaymentRequest, PaymentRequestPayment_paymentForPaymentRequest_transaction, PaymentVariables, Payment_payment, Payment_payment_transaction, PopularBillInstitutions, PopularBillInstitutionsVariables, PopularBillInstitutions_popularUSBillInstitutions, PrepareDepositRequest, PrepareDepositResponse, Requirement, operations as RestApiOperations, paths as RestApiPaths, SearchUSBillInstitutions, SearchUSBillInstitutionsVariables, SearchUSBillInstitutions_searchUSBillInstitutions, TokenBalanceFragment, UpdateWebhookParams, UpdateWebhookSecretResponse, UserAccess, UserAccessCapabilities, UserAccess_bridgeUser, UserAccess_me, UserAccess_verification, UserAccess_verification_identity, UserAccess_verification_identity_verificationMetadata, UserAccess_verification_identity_verificationMetadata_details, UserBankAccounts, UserBankAccounts_bankAccounts, UserBankAccounts_bankAccounts_bankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_bankAccounts_institution, UserBankAccounts_bankAccounts_paymentAddresses, UserBills, UserBills_bills, UserBills_bills_billAccountDetails, UserBills_bills_dataSync, UserBills_bills_institution, UserBills_bills_paymentAddresses, UserDebitCards, UserDebitCards_debitCards, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_dataSync, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_billAccountDetails, UserPayableAccounts_payableAccounts_Bill_dataSync, UserPayableAccounts_payableAccounts_Bill_institution, UserPayableAccounts_payableAccounts_DebitCard, UserPayableAccounts_payableAccounts_DebitCard_dataSync, UserPayableAccounts_payableAccounts_DebitCard_institution, UserPayableAccounts_payableAccounts_VirtualCard, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address, UserPayableAccounts_payableAccounts_VirtualCard_dataSync, UserPayableAccounts_payableAccounts_VirtualCard_institution, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, UserVerification_verification_identity_verificationMetadata, UserVerification_verification_identity_verificationMetadata_details, UserVirtualDebitCard, UserVirtualDebitCard_virtualDebitCard, UserVirtualDebitCard_virtualDebitCard_billingInfo, UserVirtualDebitCard_virtualDebitCard_billingInfo_address, UserVirtualDebitCard_virtualDebitCard_paymentAddresses, VerificationFragment, VerificationFragment_identity, VerificationFragment_identity_verificationMetadata, VerificationFragment_identity_verificationMetadata_details, VirtualAccountFragment, VirtualAccountFragment_depositInstructions, VirtualAccounts, VirtualAccounts_virtualAccounts, VirtualAccounts_virtualAccounts_depositInstructions, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, VirtualDebitCardFragment_paymentAddresses, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances, WebhookEvent };