@spritz-finance/api-client 0.20.0 → 0.22.0

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.
@@ -1,13 +1,13 @@
1
1
  import { DocumentNode } from 'graphql';
2
2
  import { VersionedTransaction } from '@solana/web3.js';
3
3
 
4
+ type Headers = Record<string, string | null | undefined>;
5
+
4
6
  declare enum Environment {
5
7
  Sandbox = "staging",
6
8
  Production = "production"
7
9
  }
8
10
 
9
- type Headers = Record<string, string | null | undefined>;
10
-
11
11
  /**
12
12
  * This file was auto-generated by openapi-typescript.
13
13
  * Do not make direct changes to the file.
@@ -29,7 +29,20 @@ interface paths {
29
29
  put?: never;
30
30
  /**
31
31
  * Create an auto-ramp account
32
- * @description Creates a new auto-ramp account for the authenticated user. The account is a virtual bank account that automatically converts fiat deposits to crypto. The address must be valid for the specified network, and the network/token combination must be supported for your region.
32
+ * @description Creates an auto-ramp account for the authenticated user. The account is a
33
+ * virtual bank account that automatically converts fiat deposits to crypto. The
34
+ * address must be valid for the specified network, and the network/token
35
+ * combination must be supported for your region.
36
+ *
37
+ * **Idempotent per (`address`, `network`, `token`).** If the user already
38
+ * has an account for that combination, the request returns that account with
39
+ * `201` instead of creating another. Store the returned `id`; do not treat a
40
+ * `201` as proof that a new account was created.
41
+ *
42
+ * **Conflict** (`409`): branch on the problem `code`, not the title or detail.
43
+ * `AUTO_RAMP_ACCOUNT_CREATE_IN_PROGRESS` (`retryable: true`) means another
44
+ * request is creating an account for the same `address`, `network`, and
45
+ * `token`. Retry after a short delay to receive the same account.
33
46
  */
34
47
  post: operations["postV1Auto-ramp-accounts"];
35
48
  delete?: never;
@@ -440,9 +453,9 @@ interface paths {
440
453
  * | `us` | United States | `routingNumber`, `accountNumber` | ACH, RTP, Wire |
441
454
  * | `ca` | Canada | `institutionNumber`, `transitNumber`, `accountNumber` | EFT |
442
455
  * | `uk` | United Kingdom | `sortCode`, `accountNumber` | FPS |
443
- * | `iban` | Europe / SEPA | `iban`, `bic` | SEPA |
456
+ * | `iban` | Europe / SEPA | `iban` | SEPA |
444
457
  *
445
- * For `iban` accounts the beneficiary's address is required. When `ownership` is
458
+ * For `iban` accounts `bic` is optional. The beneficiary's address is required. When `ownership` is
446
459
  * `personal` it is taken from your verified identity; when `thirdParty` you must
447
460
  * supply `accountHolder.address`, including its `country`.
448
461
  *
@@ -607,7 +620,7 @@ interface paths {
607
620
  };
608
621
  /**
609
622
  * List deposits
610
- * @description Returns the authenticated user's ACH debit deposits newest first. Use nextCursor to retrieve subsequent pages and reconcile asynchronous debit, release, settlement, return, and failure states.
623
+ * @description Returns the authenticated user's ACH debit deposits newest first. Use nextCursor to retrieve subsequent pages and reconcile asynchronous debit, release, settlement, return, and failure states. Readable whenever the integrator has ACH debit enabled, including while ACH debit is paused, halted, or not offered to this user.
611
624
  */
612
625
  get: operations["getV1Deposits"];
613
626
  put?: never;
@@ -627,7 +640,7 @@ interface paths {
627
640
  };
628
641
  /**
629
642
  * Get a deposit
630
- * @description Returns the latest ACH debit and crypto release state for a deposit owned by the authenticated user.
643
+ * @description Returns the latest ACH debit and crypto release state for a deposit owned by the authenticated user. Readable whenever the integrator has ACH debit enabled, including while ACH debit is paused, halted, or not offered to this user.
631
644
  */
632
645
  get: operations["getV1DepositsByDepositId"];
633
646
  put?: never;
@@ -649,7 +662,7 @@ interface paths {
649
662
  put?: never;
650
663
  /**
651
664
  * Prepare a direct deposit authorization
652
- * @description Creates the canonical ACH authorization message for a deposit targeting a raw wallet address. Integrators can include the public client IP their edge observed to receive a short-lived submissionToken for direct client submission. During migration, an integrator can omit clientNetwork and submit through its HMAC-authenticated backend by including clientIp on create. Authorization is derived from the verified ACH funding source; no wallet signature is required.
665
+ * @description Creates the canonical ACH authorization message for a deposit targeting a raw wallet address. Integrators can include the public client IP their edge observed to receive a short-lived submissionToken for direct client submission. During migration, an integrator can omit clientNetwork and submit through its HMAC-authenticated backend by including clientIp on create. Authorization is derived from the verified ACH funding source; no wallet signature is required. Availability errors: 403 with code `ach_debit_temporarily_unavailable` means ACH debit is temporarily paused for this user (rollout pause) — offer another deposit method and do not retry. 409 with code `ach_debit_program_halted` means ACH debit is temporarily halted for this program (master stop, book halt, or integrator halt); 409 with code `ach_debit_new_user_paused` means new users temporarily cannot start ACH debit deposits. Both 409s are temporary: offer another method and retry later. The funding source's deposit-limits response reports the same stops as `rail_halted` / `new_user_admission_paused`, and the capability reports `not_available` while they last.
653
666
  */
654
667
  post: operations["postV1DepositsDirectPrepare"];
655
668
  delete?: never;
@@ -669,7 +682,7 @@ interface paths {
669
682
  put?: never;
670
683
  /**
671
684
  * Create a direct deposit
672
- * @description Authorizes and creates a deposit against a raw wallet address prepared via /direct/prepare. Integrators should send the preparation's short-lived submissionToken to the authorizing client and call this endpoint directly from that client; the capability can submit only its bound preparation. During migration, integrators can continue submitting with HMAC backend authentication but must include the public clientIp observed by their edge. Authorization is derived from the verified ACH funding source; no wallet signature is required. Idempotency-Key is required; reuse the same key and body after a timeout to recover the original response without creating another deposit.
685
+ * @description Authorizes and creates a deposit against a raw wallet address prepared via /direct/prepare. Integrators should send the preparation's short-lived submissionToken to the authorizing client and call this endpoint directly from that client; the capability can submit only its bound preparation. During migration, integrators can continue submitting with HMAC backend authentication but must include the public clientIp observed by their edge. Authorization is derived from the verified ACH funding source; no wallet signature is required. Idempotency-Key is required; reuse the same key and body after a timeout to recover the original response without creating another deposit. Availability errors: 403 with code `ach_debit_temporarily_unavailable` means ACH debit is temporarily paused for this user (rollout pause) — offer another deposit method and do not retry. 409 with code `ach_debit_program_halted` means ACH debit is temporarily halted for this program (master stop, book halt, or integrator halt); 409 with code `ach_debit_new_user_paused` means new users temporarily cannot start ACH debit deposits. Both 409s are temporary: offer another method and retry later. The funding source's deposit-limits response reports the same stops as `rail_halted` / `new_user_admission_paused`, and the capability reports `not_available` while they last.
673
686
  */
674
687
  post: operations["postV1DepositsDirect"];
675
688
  delete?: never;
@@ -689,7 +702,7 @@ interface paths {
689
702
  put?: never;
690
703
  /**
691
704
  * Check ACH debit eligibility
692
- * @description Once an email is eligible, it remains eligible. A false response may be transient, so re-check rather than caching it. Call this endpoint before showing a bank deposit option. Once the user exists, the capabilities returned by GET /v1/users/me remain the source of truth.
705
+ * @description Once an email is eligible, it remains eligible. While ACH debit is temporarily halted or paused for new users, the answer is false, even for an email that was eligible before, and nothing is recorded. A false response may be transient, so re-check rather than caching it. Call this endpoint before showing a bank deposit option. Once the user exists, the capabilities returned by GET /v1/users/me remain the source of truth.
693
706
  */
694
707
  post: operations["postV1Ach-debitEligibility"];
695
708
  delete?: never;
@@ -1250,6 +1263,26 @@ interface paths {
1250
1263
  patch?: never;
1251
1264
  trace?: never;
1252
1265
  };
1266
+ "/v1/connect/sessions/{sessionId}/preview": {
1267
+ parameters: {
1268
+ query?: never;
1269
+ header?: never;
1270
+ path?: never;
1271
+ cookie?: never;
1272
+ };
1273
+ get?: never;
1274
+ put?: never;
1275
+ /**
1276
+ * Preview a connect session before sign-in
1277
+ * @description Returns who is asking and which account the session is for, so the hosted page can render before sign-in. Requires the scoped returnToken from the authorization URL fragment; a session ID alone grants no authority. Read-only. Invalid or expired tokens return 404.
1278
+ */
1279
+ post: operations["postV1ConnectSessionsBySessionIdPreview"];
1280
+ delete?: never;
1281
+ options?: never;
1282
+ head?: never;
1283
+ patch?: never;
1284
+ trace?: never;
1285
+ };
1253
1286
  "/v1/integrator/connect/sessions": {
1254
1287
  parameters: {
1255
1288
  query?: never;
@@ -1321,7 +1354,7 @@ interface paths {
1321
1354
  put?: never;
1322
1355
  /**
1323
1356
  * Approve connect session
1324
- * @description Approves the Spritz Connect session and returns a callback URI containing the authorization code.
1357
+ * @description Approves the Spritz Connect session and returns a callback URI containing the authorization code. When the session was created with an email, the signed-in account must have that email; otherwise returns 403 CONNECT_ACCOUNT_MISMATCH and the session stays pending.
1325
1358
  */
1326
1359
  post: operations["postV1ConnectSessionsBySessionIdApprove"];
1327
1360
  delete?: never;
@@ -1393,7 +1426,7 @@ interface paths {
1393
1426
  *
1394
1427
  * The response includes the user's API key (`ak_...`), which is returned only once at creation - store it securely.
1395
1428
  *
1396
- * **Conflict**: If a user with the given email already exists, the request fails with `409 Conflict`. In that case, use Spritz Connect (`POST /v1/integrator/connect/sessions`) to have the existing user authorize this integrator. A concurrent request to create a user with the same email also returns `409 Conflict`; retry shortly.
1429
+ * **Conflict** (`409`): branch on the problem `code`, not the title or detail. `USER_ALREADY_EXISTS` means the email already has a Spritz account: use Spritz Connect (`POST /v1/integrator/connect/sessions`) with the same `email` to have the existing user authorize this integrator; the hosted page shows that email and only that account can approve. `USER_CREATE_IN_PROGRESS` (`retryable: true`) means another request is already creating a user with this email; retry shortly.
1397
1430
  */
1398
1431
  post: operations["postV1IntegratorUsers"];
1399
1432
  delete?: never;
@@ -3043,6 +3076,75 @@ interface operations {
3043
3076
  };
3044
3077
  };
3045
3078
  };
3079
+ /** @description Response for status 400 */
3080
+ 400: {
3081
+ headers: {
3082
+ [name: string]: unknown;
3083
+ };
3084
+ content: {
3085
+ "application/problem+json": {
3086
+ /**
3087
+ * @description A URI reference that identifies the problem type
3088
+ * @default about:blank
3089
+ * @example urn:problem-type:auth:unauthorized
3090
+ */
3091
+ type: string;
3092
+ /**
3093
+ * @description A short, human-readable summary of the problem type
3094
+ * @example Unauthorized
3095
+ */
3096
+ title: string;
3097
+ /**
3098
+ * @description The HTTP status code
3099
+ * @example 400
3100
+ */
3101
+ status: number;
3102
+ /** @description A human-readable explanation specific to this occurrence */
3103
+ detail?: string;
3104
+ /**
3105
+ * @description A URI reference that identifies the specific occurrence
3106
+ * @example /errors/1234567890
3107
+ */
3108
+ instance?: string;
3109
+ /**
3110
+ * @description Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.
3111
+ * @example transaction_limit
3112
+ */
3113
+ code?: string;
3114
+ /**
3115
+ * @description The offending request field, present alongside `code`.
3116
+ * @example amountUsd
3117
+ */
3118
+ field?: string;
3119
+ /**
3120
+ * @description Whether retrying the same request later may succeed without changing its inputs.
3121
+ * @example true
3122
+ */
3123
+ retryable?: boolean;
3124
+ /**
3125
+ * @description Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.
3126
+ * @example 5
3127
+ */
3128
+ retryAfter?: number;
3129
+ /** @enum {string} */
3130
+ suggestedAction?: "auto_ramp" | "wait_for_settlement";
3131
+ /**
3132
+ * Format: date-time
3133
+ * @description Earliest known time the current temporary condition may clear.
3134
+ */
3135
+ clearsAt?: string | null;
3136
+ /**
3137
+ * Format: date-time
3138
+ * @description When a temporarily ineligible funding source may become available again.
3139
+ */
3140
+ availableAt?: string | null;
3141
+ /** @description Whether the current funding-source restriction will not clear automatically. */
3142
+ permanent?: boolean;
3143
+ } & {
3144
+ [key: string]: unknown;
3145
+ };
3146
+ };
3147
+ };
3046
3148
  /** @description Response for status 401 */
3047
3149
  401: {
3048
3150
  headers: {
@@ -3086,6 +3188,75 @@ interface operations {
3086
3188
  };
3087
3189
  };
3088
3190
  };
3191
+ /** @description Response for status 403 */
3192
+ 403: {
3193
+ headers: {
3194
+ [name: string]: unknown;
3195
+ };
3196
+ content: {
3197
+ "application/problem+json": {
3198
+ /**
3199
+ * @description A URI reference that identifies the problem type
3200
+ * @default about:blank
3201
+ * @example urn:problem-type:auth:unauthorized
3202
+ */
3203
+ type: string;
3204
+ /**
3205
+ * @description A short, human-readable summary of the problem type
3206
+ * @example Unauthorized
3207
+ */
3208
+ title: string;
3209
+ /**
3210
+ * @description The HTTP status code
3211
+ * @example 400
3212
+ */
3213
+ status: number;
3214
+ /** @description A human-readable explanation specific to this occurrence */
3215
+ detail?: string;
3216
+ /**
3217
+ * @description A URI reference that identifies the specific occurrence
3218
+ * @example /errors/1234567890
3219
+ */
3220
+ instance?: string;
3221
+ /**
3222
+ * @description Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.
3223
+ * @example transaction_limit
3224
+ */
3225
+ code?: string;
3226
+ /**
3227
+ * @description The offending request field, present alongside `code`.
3228
+ * @example amountUsd
3229
+ */
3230
+ field?: string;
3231
+ /**
3232
+ * @description Whether retrying the same request later may succeed without changing its inputs.
3233
+ * @example true
3234
+ */
3235
+ retryable?: boolean;
3236
+ /**
3237
+ * @description Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.
3238
+ * @example 5
3239
+ */
3240
+ retryAfter?: number;
3241
+ /** @enum {string} */
3242
+ suggestedAction?: "auto_ramp" | "wait_for_settlement";
3243
+ /**
3244
+ * Format: date-time
3245
+ * @description Earliest known time the current temporary condition may clear.
3246
+ */
3247
+ clearsAt?: string | null;
3248
+ /**
3249
+ * Format: date-time
3250
+ * @description When a temporarily ineligible funding source may become available again.
3251
+ */
3252
+ availableAt?: string | null;
3253
+ /** @description Whether the current funding-source restriction will not clear automatically. */
3254
+ permanent?: boolean;
3255
+ } & {
3256
+ [key: string]: unknown;
3257
+ };
3258
+ };
3259
+ };
3089
3260
  /** @description Response for status 404 */
3090
3261
  404: {
3091
3262
  headers: {
@@ -3119,6 +3290,75 @@ interface operations {
3119
3290
  };
3120
3291
  };
3121
3292
  };
3293
+ /** @description Response for status 409 */
3294
+ 409: {
3295
+ headers: {
3296
+ [name: string]: unknown;
3297
+ };
3298
+ content: {
3299
+ "application/problem+json": {
3300
+ /**
3301
+ * @description A URI reference that identifies the problem type
3302
+ * @default about:blank
3303
+ * @example urn:problem-type:auth:unauthorized
3304
+ */
3305
+ type: string;
3306
+ /**
3307
+ * @description A short, human-readable summary of the problem type
3308
+ * @example Unauthorized
3309
+ */
3310
+ title: string;
3311
+ /**
3312
+ * @description The HTTP status code
3313
+ * @example 400
3314
+ */
3315
+ status: number;
3316
+ /** @description A human-readable explanation specific to this occurrence */
3317
+ detail?: string;
3318
+ /**
3319
+ * @description A URI reference that identifies the specific occurrence
3320
+ * @example /errors/1234567890
3321
+ */
3322
+ instance?: string;
3323
+ /**
3324
+ * @description Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.
3325
+ * @example transaction_limit
3326
+ */
3327
+ code?: string;
3328
+ /**
3329
+ * @description The offending request field, present alongside `code`.
3330
+ * @example amountUsd
3331
+ */
3332
+ field?: string;
3333
+ /**
3334
+ * @description Whether retrying the same request later may succeed without changing its inputs.
3335
+ * @example true
3336
+ */
3337
+ retryable?: boolean;
3338
+ /**
3339
+ * @description Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.
3340
+ * @example 5
3341
+ */
3342
+ retryAfter?: number;
3343
+ /** @enum {string} */
3344
+ suggestedAction?: "auto_ramp" | "wait_for_settlement";
3345
+ /**
3346
+ * Format: date-time
3347
+ * @description Earliest known time the current temporary condition may clear.
3348
+ */
3349
+ clearsAt?: string | null;
3350
+ /**
3351
+ * Format: date-time
3352
+ * @description When a temporarily ineligible funding source may become available again.
3353
+ */
3354
+ availableAt?: string | null;
3355
+ /** @description Whether the current funding-source restriction will not clear automatically. */
3356
+ permanent?: boolean;
3357
+ } & {
3358
+ [key: string]: unknown;
3359
+ };
3360
+ };
3361
+ };
3122
3362
  /** @description Response for status 500 */
3123
3363
  500: {
3124
3364
  headers: {
@@ -3983,7 +4223,7 @@ interface operations {
3983
4223
  /**
3984
4224
  * Format: date-time
3985
4225
  * @description Creation timestamp
3986
- * @example 2026-09-23T08:12:57.990Z
4226
+ * @example 2026-10-08T15:15:02.544Z
3987
4227
  */
3988
4228
  createdAt?: string;
3989
4229
  }[];
@@ -4148,7 +4388,7 @@ interface operations {
4148
4388
  "application/json": {
4149
4389
  /**
4150
4390
  * @description Destination account ID
4151
- * @example 6ab38a093ae8393c020db77f
4391
+ * @example 6ac7b3760f2ad32d458d1b1f
4152
4392
  */
4153
4393
  accountId: string;
4154
4394
  /**
@@ -4176,7 +4416,7 @@ interface operations {
4176
4416
  "application/x-www-form-urlencoded": {
4177
4417
  /**
4178
4418
  * @description Destination account ID
4179
- * @example 6ab38a093ae8393c020db77f
4419
+ * @example 6ac7b3760f2ad32d458d1b1f
4180
4420
  */
4181
4421
  accountId: string;
4182
4422
  /**
@@ -4204,7 +4444,7 @@ interface operations {
4204
4444
  "multipart/form-data": {
4205
4445
  /**
4206
4446
  * @description Destination account ID
4207
- * @example 6ab38a093ae8393c020db77f
4447
+ * @example 6ac7b3760f2ad32d458d1b1f
4208
4448
  */
4209
4449
  accountId: string;
4210
4450
  /**
@@ -4251,7 +4491,7 @@ interface operations {
4251
4491
  /**
4252
4492
  * Format: date-time
4253
4493
  * @description When the quote was created
4254
- * @example 2026-09-23T08:12:57.968Z
4494
+ * @example 2026-10-08T15:15:02.532Z
4255
4495
  */
4256
4496
  createdAt: string;
4257
4497
  /** @description Exact USD value collected by Spritz and the token route used to fund it. The exact token quantity is returned by the transaction endpoint. */
@@ -4290,7 +4530,7 @@ interface operations {
4290
4530
  rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
4291
4531
  /**
4292
4532
  * @description Destination account ID
4293
- * @example 6ab38a093ae8393c020db780
4533
+ * @example 6ac7b3760f2ad32d458d1b20
4294
4534
  */
4295
4535
  accountId: string;
4296
4536
  /** @description True when this quote does not lock the destination amount. EUR quotes remain estimates; actual settlement is reported by the off-ramp resource. */
@@ -4547,7 +4787,7 @@ interface operations {
4547
4787
  /**
4548
4788
  * Format: date-time
4549
4789
  * @description When the quote was created
4550
- * @example 2026-09-23T08:12:57.968Z
4790
+ * @example 2026-10-08T15:15:02.532Z
4551
4791
  */
4552
4792
  createdAt: string;
4553
4793
  /** @description Exact USD value collected by Spritz and the token route used to fund it. The exact token quantity is returned by the transaction endpoint. */
@@ -4586,7 +4826,7 @@ interface operations {
4586
4826
  rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
4587
4827
  /**
4588
4828
  * @description Destination account ID
4589
- * @example 6ab38a093ae8393c020db780
4829
+ * @example 6ac7b3760f2ad32d458d1b20
4590
4830
  */
4591
4831
  accountId: string;
4592
4832
  /** @description True when this quote does not lock the destination amount. EUR quotes remain estimates; actual settlement is reported by the off-ramp resource. */
@@ -5182,7 +5422,7 @@ interface operations {
5182
5422
  /**
5183
5423
  * Format: date-time
5184
5424
  * @description When the quote was created
5185
- * @example 2026-09-23T08:12:57.968Z
5425
+ * @example 2026-10-08T15:15:02.532Z
5186
5426
  */
5187
5427
  createdAt: string;
5188
5428
  /** @description Exact USD value collected by Spritz and the token route used to fund it. The exact token quantity is returned by the transaction endpoint. */
@@ -5221,7 +5461,7 @@ interface operations {
5221
5461
  rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
5222
5462
  /**
5223
5463
  * @description Destination account ID
5224
- * @example 6ab38a093ae8393c020db780
5464
+ * @example 6ac7b3760f2ad32d458d1b20
5225
5465
  */
5226
5466
  accountId: string;
5227
5467
  /** @description True when this quote does not lock the destination amount. EUR quotes remain estimates; actual settlement is reported by the off-ramp resource. */
@@ -5524,7 +5764,7 @@ interface operations {
5524
5764
  currency: string;
5525
5765
  /**
5526
5766
  * @description Destination account ID
5527
- * @example 6ab38a093ae8393c020db781
5767
+ * @example 6ac7b3760f2ad32d458d1b21
5528
5768
  */
5529
5769
  accountId: string;
5530
5770
  /**
@@ -5815,7 +6055,7 @@ interface operations {
5815
6055
  currency: string;
5816
6056
  /**
5817
6057
  * @description Destination account ID
5818
- * @example 6ab38a093ae8393c020db781
6058
+ * @example 6ac7b3760f2ad32d458d1b21
5819
6059
  */
5820
6060
  accountId: string;
5821
6061
  /**
@@ -6056,7 +6296,7 @@ interface operations {
6056
6296
  method: "account";
6057
6297
  /**
6058
6298
  * @description Destination account to reissue the payout to. Omit to reuse the off-ramp's original destination account.
6059
- * @example 6ab38a093ae8393c020db782
6299
+ * @example 6ac7b3760f2ad32d458d1b22
6060
6300
  */
6061
6301
  accountId?: string;
6062
6302
  };
@@ -6074,7 +6314,7 @@ interface operations {
6074
6314
  method: "account";
6075
6315
  /**
6076
6316
  * @description Destination account to reissue the payout to. Omit to reuse the off-ramp's original destination account.
6077
- * @example 6ab38a093ae8393c020db782
6317
+ * @example 6ac7b3760f2ad32d458d1b22
6078
6318
  */
6079
6319
  accountId?: string;
6080
6320
  };
@@ -6092,7 +6332,7 @@ interface operations {
6092
6332
  method: "account";
6093
6333
  /**
6094
6334
  * @description Destination account to reissue the payout to. Omit to reuse the off-ramp's original destination account.
6095
- * @example 6ab38a093ae8393c020db782
6335
+ * @example 6ac7b3760f2ad32d458d1b22
6096
6336
  */
6097
6337
  accountId?: string;
6098
6338
  };
@@ -6158,7 +6398,7 @@ interface operations {
6158
6398
  currency: string;
6159
6399
  /**
6160
6400
  * @description Destination account ID
6161
- * @example 6ab38a093ae8393c020db781
6401
+ * @example 6ac7b3760f2ad32d458d1b21
6162
6402
  */
6163
6403
  accountId: string;
6164
6404
  /**
@@ -8301,10 +8541,10 @@ interface operations {
8301
8541
  */
8302
8542
  iban: string;
8303
8543
  /**
8304
- * @description Bank Identifier Code (SWIFT) of the account's bank.
8544
+ * @description Bank Identifier Code (SWIFT) of the account's bank. Optional for SEPA; supplying it can improve routing.
8305
8545
  * @example COBADEFFXXX
8306
8546
  */
8307
- bic: string;
8547
+ bic?: string;
8308
8548
  /**
8309
8549
  * @description Name of the account's bank
8310
8550
  * @example Commerzbank
@@ -8547,10 +8787,10 @@ interface operations {
8547
8787
  */
8548
8788
  iban: string;
8549
8789
  /**
8550
- * @description Bank Identifier Code (SWIFT) of the account's bank.
8790
+ * @description Bank Identifier Code (SWIFT) of the account's bank. Optional for SEPA; supplying it can improve routing.
8551
8791
  * @example COBADEFFXXX
8552
8792
  */
8553
- bic: string;
8793
+ bic?: string;
8554
8794
  /**
8555
8795
  * @description Name of the account's bank
8556
8796
  * @example Commerzbank
@@ -8793,10 +9033,10 @@ interface operations {
8793
9033
  */
8794
9034
  iban: string;
8795
9035
  /**
8796
- * @description Bank Identifier Code (SWIFT) of the account's bank.
9036
+ * @description Bank Identifier Code (SWIFT) of the account's bank. Optional for SEPA; supplying it can improve routing.
8797
9037
  * @example COBADEFFXXX
8798
9038
  */
8799
- bic: string;
9039
+ bic?: string;
8800
9040
  /**
8801
9041
  * @description Name of the account's bank
8802
9042
  * @example Commerzbank
@@ -17929,7 +18169,7 @@ interface operations {
17929
18169
  data: {
17930
18170
  /**
17931
18171
  * @description Unique identifier for the debit card
17932
- * @example 6ab38a093ae8393c020db786
18172
+ * @example 6ac7b3760f2ad32d458d1b26
17933
18173
  */
17934
18174
  id: string;
17935
18175
  /** @enum {string} */
@@ -18377,7 +18617,7 @@ interface operations {
18377
18617
  "application/json": {
18378
18618
  /**
18379
18619
  * @description Unique identifier for the debit card
18380
- * @example 6ab38a093ae8393c020db786
18620
+ * @example 6ac7b3760f2ad32d458d1b26
18381
18621
  */
18382
18622
  id: string;
18383
18623
  /** @enum {string} */
@@ -18594,7 +18834,7 @@ interface operations {
18594
18834
  "application/json": {
18595
18835
  /**
18596
18836
  * @description Unique identifier for the debit card
18597
- * @example 6ab38a093ae8393c020db786
18837
+ * @example 6ac7b3760f2ad32d458d1b26
18598
18838
  */
18599
18839
  id: string;
18600
18840
  /** @enum {string} */
@@ -19115,7 +19355,7 @@ interface operations {
19115
19355
  "application/json": {
19116
19356
  /**
19117
19357
  * @description Unique identifier for the debit card
19118
- * @example 6ab38a093ae8393c020db786
19358
+ * @example 6ac7b3760f2ad32d458d1b26
19119
19359
  */
19120
19360
  id: string;
19121
19361
  /** @enum {string} */
@@ -19573,6 +19813,198 @@ interface operations {
19573
19813
  };
19574
19814
  };
19575
19815
  };
19816
+ postV1ConnectSessionsBySessionIdPreview: {
19817
+ parameters: {
19818
+ query?: never;
19819
+ header?: never;
19820
+ path: {
19821
+ sessionId: string;
19822
+ };
19823
+ cookie?: never;
19824
+ };
19825
+ requestBody: {
19826
+ content: {
19827
+ "application/json": {
19828
+ /** @description Scoped capability from the authorization URL fragment. */
19829
+ returnToken: string;
19830
+ };
19831
+ "application/x-www-form-urlencoded": {
19832
+ /** @description Scoped capability from the authorization URL fragment. */
19833
+ returnToken: string;
19834
+ };
19835
+ "multipart/form-data": {
19836
+ /** @description Scoped capability from the authorization URL fragment. */
19837
+ returnToken: string;
19838
+ };
19839
+ };
19840
+ };
19841
+ responses: {
19842
+ /** @description Response for status 200 */
19843
+ 200: {
19844
+ headers: {
19845
+ [name: string]: unknown;
19846
+ };
19847
+ content: {
19848
+ "application/json": {
19849
+ sessionId: string;
19850
+ integratorId: string;
19851
+ integratorName: string | null;
19852
+ /** @description Account this session is bound to, or null when unbound. */
19853
+ email: string | null;
19854
+ /** @description `expired` once the 10-minute consent window has passed. */
19855
+ status: string;
19856
+ /** Format: date-time */
19857
+ expiresAt: string;
19858
+ };
19859
+ };
19860
+ };
19861
+ /** @description Response for status 401 */
19862
+ 401: {
19863
+ headers: {
19864
+ [name: string]: unknown;
19865
+ };
19866
+ content: {
19867
+ "application/problem+json": {
19868
+ /**
19869
+ * @description A URI reference that identifies the problem type
19870
+ * @default about:blank
19871
+ * @example urn:problem-type:auth:unauthorized
19872
+ */
19873
+ type: string;
19874
+ /**
19875
+ * @description A short, human-readable summary of the problem type
19876
+ * @example Unauthorized
19877
+ */
19878
+ title: string;
19879
+ /**
19880
+ * @description The HTTP status code
19881
+ * @example 401
19882
+ */
19883
+ status: number;
19884
+ /**
19885
+ * @description A human-readable explanation specific to this occurrence
19886
+ * @example Bearer token required
19887
+ */
19888
+ detail?: string;
19889
+ /** @description A URI reference that identifies the specific occurrence */
19890
+ instance?: string;
19891
+ /**
19892
+ * @description The authentication realm
19893
+ * @example API
19894
+ */
19895
+ realm?: string;
19896
+ /**
19897
+ * @description The required scope for this resource
19898
+ * @example read:users
19899
+ */
19900
+ scope?: string;
19901
+ };
19902
+ };
19903
+ };
19904
+ /** @description Response for status 404 */
19905
+ 404: {
19906
+ headers: {
19907
+ [name: string]: unknown;
19908
+ };
19909
+ content: {
19910
+ "application/problem+json": {
19911
+ /**
19912
+ * @description A URI reference that identifies the problem type
19913
+ * @default about:blank
19914
+ */
19915
+ type: string;
19916
+ /** @description A short, human-readable summary of the problem type */
19917
+ title: string;
19918
+ /**
19919
+ * @description The HTTP status code
19920
+ * @example 404
19921
+ */
19922
+ status: number;
19923
+ /** @description A human-readable explanation specific to this occurrence */
19924
+ detail?: string;
19925
+ /** @description A URI reference that identifies the specific occurrence */
19926
+ instance?: string;
19927
+ /**
19928
+ * @description The type of resource that was not found
19929
+ * @example user
19930
+ */
19931
+ resourceType: string;
19932
+ /** @description The identifier of the resource that was not found */
19933
+ resourceId: string;
19934
+ };
19935
+ };
19936
+ };
19937
+ /** @description Response for status 500 */
19938
+ 500: {
19939
+ headers: {
19940
+ [name: string]: unknown;
19941
+ };
19942
+ content: {
19943
+ "application/problem+json": {
19944
+ /**
19945
+ * @description A URI reference that identifies the problem type
19946
+ * @default about:blank
19947
+ * @example urn:problem-type:auth:unauthorized
19948
+ */
19949
+ type: string;
19950
+ /**
19951
+ * @description A short, human-readable summary of the problem type
19952
+ * @example Unauthorized
19953
+ */
19954
+ title: string;
19955
+ /**
19956
+ * @description The HTTP status code
19957
+ * @example 400
19958
+ */
19959
+ status: number;
19960
+ /** @description A human-readable explanation specific to this occurrence */
19961
+ detail?: string;
19962
+ /**
19963
+ * @description A URI reference that identifies the specific occurrence
19964
+ * @example /errors/1234567890
19965
+ */
19966
+ instance?: string;
19967
+ /**
19968
+ * @description Machine-readable cause, present when exactly one thing failed. Branch on this, never on `detail`, which is human-facing copy and may change. For deposit limits the vocabulary matches the `reason` values the limits API returns pre-flight.
19969
+ * @example transaction_limit
19970
+ */
19971
+ code?: string;
19972
+ /**
19973
+ * @description The offending request field, present alongside `code`.
19974
+ * @example amountUsd
19975
+ */
19976
+ field?: string;
19977
+ /**
19978
+ * @description Whether retrying the same request later may succeed without changing its inputs.
19979
+ * @example true
19980
+ */
19981
+ retryable?: boolean;
19982
+ /**
19983
+ * @description Seconds to wait before retrying, present alongside `retryable: true`. Mirrors the `Retry-After` response header and is meant for short backoffs the server chose (load shedding); for a condition that clears on its own schedule, `clearsAt` carries the absolute time instead.
19984
+ * @example 5
19985
+ */
19986
+ retryAfter?: number;
19987
+ /** @enum {string} */
19988
+ suggestedAction?: "auto_ramp" | "wait_for_settlement";
19989
+ /**
19990
+ * Format: date-time
19991
+ * @description Earliest known time the current temporary condition may clear.
19992
+ */
19993
+ clearsAt?: string | null;
19994
+ /**
19995
+ * Format: date-time
19996
+ * @description When a temporarily ineligible funding source may become available again.
19997
+ */
19998
+ availableAt?: string | null;
19999
+ /** @description Whether the current funding-source restriction will not clear automatically. */
20000
+ permanent?: boolean;
20001
+ } & {
20002
+ [key: string]: unknown;
20003
+ };
20004
+ };
20005
+ };
20006
+ };
20007
+ };
19576
20008
  postV1IntegratorConnectSessions: {
19577
20009
  parameters: {
19578
20010
  query?: never;
@@ -19587,18 +20019,33 @@ interface operations {
19587
20019
  redirectUri: string;
19588
20020
  /** @description Opaque integrator state returned unchanged after approval. */
19589
20021
  state?: string;
20022
+ /**
20023
+ * Format: email
20024
+ * @description Email of the existing Spritz user this session is for: pass the email that `POST /v1/integrator/users` rejected with 409. The hosted page shows it and only that account can approve. Recommended; when omitted any signed-in Spritz user can approve.
20025
+ */
20026
+ email?: string;
19590
20027
  };
19591
20028
  "application/x-www-form-urlencoded": {
19592
20029
  /** @description Callback URI that receives the authorization code. */
19593
20030
  redirectUri: string;
19594
20031
  /** @description Opaque integrator state returned unchanged after approval. */
19595
20032
  state?: string;
20033
+ /**
20034
+ * Format: email
20035
+ * @description Email of the existing Spritz user this session is for: pass the email that `POST /v1/integrator/users` rejected with 409. The hosted page shows it and only that account can approve. Recommended; when omitted any signed-in Spritz user can approve.
20036
+ */
20037
+ email?: string;
19596
20038
  };
19597
20039
  "multipart/form-data": {
19598
20040
  /** @description Callback URI that receives the authorization code. */
19599
20041
  redirectUri: string;
19600
20042
  /** @description Opaque integrator state returned unchanged after approval. */
19601
20043
  state?: string;
20044
+ /**
20045
+ * Format: email
20046
+ * @description Email of the existing Spritz user this session is for: pass the email that `POST /v1/integrator/users` rejected with 409. The hosted page shows it and only that account can approve. Recommended; when omitted any signed-in Spritz user can approve.
20047
+ */
20048
+ email?: string;
19602
20049
  };
19603
20050
  };
19604
20051
  };
@@ -20298,7 +20745,7 @@ interface operations {
20298
20745
  accessToken: string;
20299
20746
  /**
20300
20747
  * @description The internal ID of the authorized user
20301
- * @example 6ab38a0a3ae8393c020db78a
20748
+ * @example 6ac7b3760f2ad32d458d1b2a
20302
20749
  */
20303
20750
  userId: string;
20304
20751
  /**
@@ -20314,7 +20761,7 @@ interface operations {
20314
20761
  /**
20315
20762
  * Format: date-time
20316
20763
  * @description ISO 8601 timestamp when token expires
20317
- * @example 2026-09-23T09:12:58.281Z
20764
+ * @example 2026-10-08T16:15:02.830Z
20318
20765
  */
20319
20766
  expiresAt: string;
20320
20767
  };
@@ -20513,7 +20960,7 @@ interface operations {
20513
20960
  /**
20514
20961
  * Format: date-time
20515
20962
  * @description ISO 8601 timestamp of when the integrator was created
20516
- * @example 2026-09-23T08:12:58.280Z
20963
+ * @example 2026-10-08T15:15:02.830Z
20517
20964
  */
20518
20965
  createdAt: string;
20519
20966
  };
@@ -20726,7 +21173,7 @@ interface operations {
20726
21173
  "application/json": {
20727
21174
  /**
20728
21175
  * @description The internal ID of the newly created user
20729
- * @example 6ab38a0a3ae8393c020db78c
21176
+ * @example 6ac7b3760f2ad32d458d1b2c
20730
21177
  */
20731
21178
  userId: string;
20732
21179
  /**
@@ -21070,7 +21517,7 @@ interface operations {
21070
21517
  depositId: string;
21071
21518
  /**
21072
21519
  * @description Spritz user ID associated with the returned deposit
21073
- * @example 6ab38a0a3ae8393c020db789
21520
+ * @example 6ac7b3760f2ad32d458d1b29
21074
21521
  */
21075
21522
  userId: string;
21076
21523
  /**
@@ -21282,7 +21729,7 @@ interface operations {
21282
21729
  depositId: string;
21283
21730
  /**
21284
21731
  * @description Spritz user ID associated with the returned deposit
21285
- * @example 6ab38a0a3ae8393c020db789
21732
+ * @example 6ac7b3760f2ad32d458d1b29
21286
21733
  */
21287
21734
  userId: string;
21288
21735
  /**
@@ -21475,7 +21922,7 @@ interface operations {
21475
21922
  "application/json": {
21476
21923
  /**
21477
21924
  * @description Unique identifier for the webhook
21478
- * @example 6ab38a0a3ae8393c020db78b
21925
+ * @example 6ac7b3760f2ad32d458d1b2b
21479
21926
  */
21480
21927
  id: string;
21481
21928
  /** @description List of event types this webhook is subscribed to */
@@ -21706,7 +22153,7 @@ interface operations {
21706
22153
  "application/json": {
21707
22154
  /**
21708
22155
  * @description Unique identifier for the webhook
21709
- * @example 6ab38a0a3ae8393c020db78b
22156
+ * @example 6ac7b3760f2ad32d458d1b2b
21710
22157
  */
21711
22158
  id: string;
21712
22159
  /** @description List of event types this webhook is subscribed to */
@@ -23674,7 +24121,7 @@ interface operations {
23674
24121
  "application/json": {
23675
24122
  /**
23676
24123
  * @description Unique identifier for the webhook
23677
- * @example 6ab38a0a3ae8393c020db78b
24124
+ * @example 6ac7b3760f2ad32d458d1b2b
23678
24125
  */
23679
24126
  id: string;
23680
24127
  /** @description List of event types this webhook is subscribed to */
@@ -24091,7 +24538,7 @@ interface operations {
24091
24538
  /**
24092
24539
  * Format: date-time
24093
24540
  * @description ISO 8601 timestamp when the old secret will expire. Only present if a grace period was specified.
24094
- * @example 2026-09-23T08:17:58.281Z
24541
+ * @example 2026-10-08T15:20:02.830Z
24095
24542
  */
24096
24543
  oldSecretExpiresAt?: string;
24097
24544
  };
@@ -24262,7 +24709,7 @@ interface operations {
24262
24709
  "application/json": {
24263
24710
  /**
24264
24711
  * @description Unique identifier for the user
24265
- * @example 6ab38a0a3ae8393c020db787
24712
+ * @example 6ac7b3760f2ad32d458d1b27
24266
24713
  */
24267
24714
  id: string;
24268
24715
  /**
@@ -24279,7 +24726,7 @@ interface operations {
24279
24726
  /**
24280
24727
  * Format: date-time
24281
24728
  * @description ISO 8601 timestamp of when the user was created
24282
- * @example 2026-09-23T08:12:58.271Z
24729
+ * @example 2026-10-08T15:15:02.821Z
24283
24730
  */
24284
24731
  signedUpAt: string;
24285
24732
  /**
@@ -24659,7 +25106,7 @@ interface operations {
24659
25106
  "application/json": {
24660
25107
  /**
24661
25108
  * @description Unique identifier for the user
24662
- * @example 6ab38a0a3ae8393c020db787
25109
+ * @example 6ac7b3760f2ad32d458d1b27
24663
25110
  */
24664
25111
  id: string;
24665
25112
  /**
@@ -24676,7 +25123,7 @@ interface operations {
24676
25123
  /**
24677
25124
  * Format: date-time
24678
25125
  * @description ISO 8601 timestamp of when the user was created
24679
- * @example 2026-09-23T08:12:58.271Z
25126
+ * @example 2026-10-08T15:15:02.821Z
24680
25127
  */
24681
25128
  signedUpAt: string;
24682
25129
  /**
@@ -25156,7 +25603,7 @@ interface operations {
25156
25603
  "application/json": {
25157
25604
  /**
25158
25605
  * @description Unique identifier for the user
25159
- * @example 6ab38a0a3ae8393c020db787
25606
+ * @example 6ac7b3760f2ad32d458d1b27
25160
25607
  */
25161
25608
  id: string;
25162
25609
  /**
@@ -25173,7 +25620,7 @@ interface operations {
25173
25620
  /**
25174
25621
  * Format: date-time
25175
25622
  * @description ISO 8601 timestamp of when the user was created
25176
- * @example 2026-09-23T08:12:58.271Z
25623
+ * @example 2026-10-08T15:15:02.821Z
25177
25624
  */
25178
25625
  signedUpAt: string;
25179
25626
  /**
@@ -40091,6 +40538,38 @@ declare class SpritzClient {
40091
40538
  private makeStatusError;
40092
40539
  }
40093
40540
 
40541
+ type CreateConnectSessionParams = PathRequestBody<'/v1/integrator/connect/sessions', 'post'>;
40542
+ type ConnectSession = PathResponse<'/v1/integrator/connect/sessions', 'post'>;
40543
+ type ConnectTokenExchange = PathResponse<'/v1/integrator/connect/token', 'post'>;
40544
+ /**
40545
+ * Spritz Connect: let an existing Spritz user authorize your integrator.
40546
+ *
40547
+ * Use it when `user.createUser` fails with a `ConflictError` whose
40548
+ * `problem.code` is `USER_ALREADY_EXISTS` (the email already has a Spritz account):
40549
+ *
40550
+ * 1. `createSession({ redirectUri, state, email })` on your backend, passing the
40551
+ * email that was rejected. Send the user to `authorizationUrl` unchanged
40552
+ * (it carries a `#return_token` fragment; never log it). On mobile open it
40553
+ * in the system auth session, not a WebView.
40554
+ * 2. Spritz redirects to `redirectUri` with `code` and your `state`, or with
40555
+ * `error=access_denied | server_error | session_expired`.
40556
+ * 3. Verify `state`, then `exchangeCode(code)` for the user's API key. Store it
40557
+ * server-side only.
40558
+ *
40559
+ * `redirectUri` must exactly match a callback URL Spritz has registered for your
40560
+ * integrator. Both calls need integrator HMAC credentials
40561
+ * (`integrationKey` + `integratorSecret`).
40562
+ */
40563
+ declare class ConnectService {
40564
+ private client;
40565
+ constructor(client: SpritzClient);
40566
+ private requireIntegratorAuth;
40567
+ /** Start a Connect session. Sessions last 10 minutes. */
40568
+ createSession(args: CreateConnectSessionParams): Promise<ConnectSession>;
40569
+ /** Exchange the single-use authorization code for the user's API key. */
40570
+ exchangeCode(code: string): Promise<ConnectTokenExchange>;
40571
+ }
40572
+
40094
40573
  type AchDebitEligibilityRequest = PathRequestBody<'/v1/ach-debit/eligibility', 'post'>;
40095
40574
  type AchDebitEligibilityResponse = PathResponse<'/v1/ach-debit/eligibility', 'post'>;
40096
40575
  declare class AchDebitService {
@@ -43377,8 +43856,11 @@ declare class UserService {
43377
43856
  * Without a secret it uses the legacy `/users/integration` route, which does not
43378
43857
  * accept Developer Console credentials.
43379
43858
  *
43380
- * On the REST route an email that already exists is rejected with a `ConflictError`
43381
- * (409); use Spritz Connect to have that user authorize the integrator instead.
43859
+ * On the REST route a conflict is a `ConflictError` (409). Branch on `problem.code`:
43860
+ * `USER_ALREADY_EXISTS` means the email already has a Spritz account, so use Spritz
43861
+ * Connect (`client.connect.createSession` with that email) to have the existing user
43862
+ * authorize the integrator; `USER_CREATE_IN_PROGRESS` means another request is
43863
+ * creating that user, so retry shortly.
43382
43864
  */
43383
43865
  createUser(args: CreateUserParams): Promise<CreateUserResponse>;
43384
43866
  create(args: CreateUserParams): Promise<CreateUserResponse>;
@@ -43666,6 +44148,7 @@ declare class SpritzApiClient {
43666
44148
  institution: InstitutionService;
43667
44149
  sandbox: SandboxService;
43668
44150
  webhook: WebhookService;
44151
+ connect: ConnectService;
43669
44152
  constructor(environment: Environment, apiKey?: string, integrationKey?: string, integratorSecret?: string, dangerouslyAllowBrowser?: boolean);
43670
44153
  static initialize({ environment, apiKey, integrationKey, integratorSecret, dangerouslyAllowBrowser, }: ClientOptions): SpritzApiClient;
43671
44154
  private init;
@@ -43821,4 +44304,4 @@ declare function hasProblemCode<T extends string>(error: unknown, code: T): erro
43821
44304
  };
43822
44305
 
43823
44306
  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, hasProblemCode, hasProblemType, isAPIError, onrampSupportedTokens };
43824
- export type { AcceptTermsRequest, AcceptTermsResponse, AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountPayments_paymentsForAccount_transaction, AchDebitEligibilityRequest, AchDebitEligibilityResponse, AchDebitExposureResponse, AchDebitReturn, AchDebitReturnListQuery, AchDebitReturnListResponse, AutoRampAccount, AutoRampAccountEstimate, AutoRampAccountList, 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, ComplianceRequirementField, ComplianceRequirements, CreateAutoRampAccountRequest, CreateBankAccountInput, CreateBankAccountResponse, CreateDepositOptions, CreateDepositRequest, CreateDepositWithReturnRequest, CreateDepositWithReturnResponse, CreateDirectPaymentInput, CreateOffRampQuoteRequest, 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, DepositListQuery, DepositListResponse, FullBridgeUser, FundingSource, FundingSourceDepositLimits, GetSolanaPayParams, GetSolanaPayParamsVariables, GetSolanaPayParams_solanaParams, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, IntegratorWebhook, KycStatus, LinkBankAccountRequest, LinkBankAccountResponse, LinkTokenResponse, OffRampQuote, OffRampQuoteTransaction, OffRampQuoteTransactionRequest, OffRampRefundRequest, OffRampRefundResponse, 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, PrepareDepositWithProgramControlRequest, PrepareDepositWithProgramControlResponse, ProblemDetails, ProblemFieldError, ProblemSuggestedAction, Requirement, operations as RestApiOperations, paths as RestApiPaths, SearchUSBillInstitutions, SearchUSBillInstitutionsVariables, SearchUSBillInstitutions_searchUSBillInstitutions, SetAchDebitExposureCapRequest, SetAchDebitExposureCapResponse, SimulateAutoRampDepositRequest, SimulateAutoRampDepositResponse, SubmitComplianceRequest, SubmitComplianceResponse, SubmitOffRampQuoteRequest, 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, UserProfile, 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, VerificationSession, VirtualAccountFragment, VirtualAccountFragment_depositInstructions, VirtualAccounts, VirtualAccounts_virtualAccounts, VirtualAccounts_virtualAccounts_depositInstructions, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, VirtualDebitCardFragment_paymentAddresses, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances, WebhookEvent };
44307
+ export type { AcceptTermsRequest, AcceptTermsResponse, AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountPayments_paymentsForAccount_transaction, AchDebitEligibilityRequest, AchDebitEligibilityResponse, AchDebitExposureResponse, AchDebitReturn, AchDebitReturnListQuery, AchDebitReturnListResponse, AutoRampAccount, AutoRampAccountEstimate, AutoRampAccountList, 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, ComplianceRequirementField, ComplianceRequirements, ConnectSession, ConnectTokenExchange, CreateAutoRampAccountRequest, CreateBankAccountInput, CreateBankAccountResponse, CreateConnectSessionParams, CreateDepositOptions, CreateDepositRequest, CreateDepositWithReturnRequest, CreateDepositWithReturnResponse, CreateDirectPaymentInput, CreateOffRampQuoteRequest, 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, DepositListQuery, DepositListResponse, FullBridgeUser, FundingSource, FundingSourceDepositLimits, GetSolanaPayParams, GetSolanaPayParamsVariables, GetSolanaPayParams_solanaParams, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, IntegratorWebhook, KycStatus, LinkBankAccountRequest, LinkBankAccountResponse, LinkTokenResponse, OffRampQuote, OffRampQuoteTransaction, OffRampQuoteTransactionRequest, OffRampRefundRequest, OffRampRefundResponse, 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, PrepareDepositWithProgramControlRequest, PrepareDepositWithProgramControlResponse, ProblemDetails, ProblemFieldError, ProblemSuggestedAction, Requirement, operations as RestApiOperations, paths as RestApiPaths, SearchUSBillInstitutions, SearchUSBillInstitutionsVariables, SearchUSBillInstitutions_searchUSBillInstitutions, SetAchDebitExposureCapRequest, SetAchDebitExposureCapResponse, SimulateAutoRampDepositRequest, SimulateAutoRampDepositResponse, SubmitComplianceRequest, SubmitComplianceResponse, SubmitOffRampQuoteRequest, 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, UserProfile, 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, VerificationSession, VirtualAccountFragment, VirtualAccountFragment_depositInstructions, VirtualAccounts, VirtualAccounts_virtualAccounts, VirtualAccounts_virtualAccounts_depositInstructions, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, VirtualDebitCardFragment_paymentAddresses, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances, WebhookEvent };