@spritz-finance/api-client 0.7.1 → 0.7.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.
@@ -530,90 +530,6 @@ interface paths {
530
530
  patch?: never;
531
531
  trace?: never;
532
532
  };
533
- "/v1/deposit-destinations/prepare": {
534
- parameters: {
535
- query?: never;
536
- header?: never;
537
- path?: never;
538
- cookie?: never;
539
- };
540
- get?: never;
541
- put?: never;
542
- /**
543
- * Prepare a deposit destination bind
544
- * @description Creates the canonical message a wallet must sign to bind a deposit destination to a funding source.
545
- */
546
- post: operations["postV1Deposit-destinationsPrepare"];
547
- delete?: never;
548
- options?: never;
549
- head?: never;
550
- patch?: never;
551
- trace?: never;
552
- };
553
- "/v1/deposit-destinations/": {
554
- parameters: {
555
- query?: never;
556
- header?: never;
557
- path?: never;
558
- cookie?: never;
559
- };
560
- /**
561
- * List deposit destinations
562
- * @description Returns the authenticated user's bound deposit destinations.
563
- */
564
- get: operations["getV1Deposit-destinations"];
565
- put?: never;
566
- /**
567
- * Bind a deposit destination
568
- * @description Verifies the signed destination bind message and stores the bound wallet destination.
569
- */
570
- post: operations["postV1Deposit-destinations"];
571
- delete?: never;
572
- options?: never;
573
- head?: never;
574
- patch?: never;
575
- trace?: never;
576
- };
577
- "/v1/deposits/prepare": {
578
- parameters: {
579
- query?: never;
580
- header?: never;
581
- path?: never;
582
- cookie?: never;
583
- };
584
- get?: never;
585
- put?: never;
586
- /**
587
- * Prepare a deposit authorization
588
- * @description Creates the canonical ACH authorization message a wallet must sign for a single deposit.
589
- */
590
- post: operations["postV1DepositsPrepare"];
591
- delete?: never;
592
- options?: never;
593
- head?: never;
594
- patch?: never;
595
- trace?: never;
596
- };
597
- "/v1/deposits/": {
598
- parameters: {
599
- query?: never;
600
- header?: never;
601
- path?: never;
602
- cookie?: never;
603
- };
604
- get?: never;
605
- put?: never;
606
- /**
607
- * Create a deposit
608
- * @description Verifies the signed ACH authorization and creates a deposit for asynchronous debit and release processing.
609
- */
610
- post: operations["postV1Deposits"];
611
- delete?: never;
612
- options?: never;
613
- head?: never;
614
- patch?: never;
615
- trace?: never;
616
- };
617
533
  "/v1/deposits/direct/prepare": {
618
534
  parameters: {
619
535
  query?: never;
@@ -1971,26 +1887,6 @@ interface paths {
1971
1887
  patch?: never;
1972
1888
  trace?: never;
1973
1889
  };
1974
- "/v1/sandbox/deposits": {
1975
- parameters: {
1976
- query?: never;
1977
- header?: never;
1978
- path?: never;
1979
- cookie?: never;
1980
- };
1981
- get?: never;
1982
- put?: never;
1983
- /**
1984
- * Create a sandbox deposit with an armed ACH return
1985
- * @description Creates a deposit in sandbox and routes the Modern Treasury debit through a return-code-backed receiving account for end-to-end return testing.
1986
- */
1987
- post: operations["postV1SandboxDeposits"];
1988
- delete?: never;
1989
- options?: never;
1990
- head?: never;
1991
- patch?: never;
1992
- trace?: never;
1993
- };
1994
1890
  "/v1/sandbox/deposits/direct": {
1995
1891
  parameters: {
1996
1892
  query?: never;
@@ -2071,6 +1967,26 @@ interface paths {
2071
1967
  patch?: never;
2072
1968
  trace?: never;
2073
1969
  };
1970
+ "/v1/sandbox/funding-sources/{fundingSourceId}": {
1971
+ parameters: {
1972
+ query?: never;
1973
+ header?: never;
1974
+ path?: never;
1975
+ cookie?: never;
1976
+ };
1977
+ get?: never;
1978
+ put?: never;
1979
+ post?: never;
1980
+ /**
1981
+ * Remove a funding source (sandbox only)
1982
+ * @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.
1983
+ */
1984
+ delete: operations["deleteV1SandboxFunding-sourcesByFundingSourceId"];
1985
+ options?: never;
1986
+ head?: never;
1987
+ patch?: never;
1988
+ trace?: never;
1989
+ };
2074
1990
  }
2075
1991
  interface operations {
2076
1992
  "getV1Auto-ramp-accounts": {
@@ -2877,7 +2793,7 @@ interface operations {
2877
2793
  "application/json": {
2878
2794
  /**
2879
2795
  * @description Destination account ID
2880
- * @example 69fcc3849e56476d70fe629a
2796
+ * @example 6a0d5f1ac3aa49d4f16d0721
2881
2797
  */
2882
2798
  accountId: string;
2883
2799
  /**
@@ -2905,7 +2821,7 @@ interface operations {
2905
2821
  "application/x-www-form-urlencoded": {
2906
2822
  /**
2907
2823
  * @description Destination account ID
2908
- * @example 69fcc3849e56476d70fe629a
2824
+ * @example 6a0d5f1ac3aa49d4f16d0721
2909
2825
  */
2910
2826
  accountId: string;
2911
2827
  /**
@@ -2933,7 +2849,7 @@ interface operations {
2933
2849
  "multipart/form-data": {
2934
2850
  /**
2935
2851
  * @description Destination account ID
2936
- * @example 69fcc3849e56476d70fe629a
2852
+ * @example 6a0d5f1ac3aa49d4f16d0721
2937
2853
  */
2938
2854
  accountId: string;
2939
2855
  /**
@@ -2980,7 +2896,7 @@ interface operations {
2980
2896
  /**
2981
2897
  * Format: date-time
2982
2898
  * @description When the quote was created
2983
- * @example 2026-05-07T16:53:24.366Z
2899
+ * @example 2026-05-20T07:13:30.894Z
2984
2900
  */
2985
2901
  createdAt: string;
2986
2902
  /** @description What the user pays — total USD cost and token used. */
@@ -3019,7 +2935,7 @@ interface operations {
3019
2935
  rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
3020
2936
  /**
3021
2937
  * @description Destination account ID
3022
- * @example 69fcc3849e56476d70fe629b
2938
+ * @example 6a0d5f1ac3aa49d4f16d0722
3023
2939
  */
3024
2940
  accountId: string;
3025
2941
  };
@@ -3226,7 +3142,7 @@ interface operations {
3226
3142
  /**
3227
3143
  * Format: date-time
3228
3144
  * @description When the quote was created
3229
- * @example 2026-05-07T16:53:24.366Z
3145
+ * @example 2026-05-20T07:13:30.894Z
3230
3146
  */
3231
3147
  createdAt: string;
3232
3148
  /** @description What the user pays — total USD cost and token used. */
@@ -3265,7 +3181,7 @@ interface operations {
3265
3181
  rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
3266
3182
  /**
3267
3183
  * @description Destination account ID
3268
- * @example 69fcc3849e56476d70fe629b
3184
+ * @example 6a0d5f1ac3aa49d4f16d0722
3269
3185
  */
3270
3186
  accountId: string;
3271
3187
  };
@@ -3762,7 +3678,7 @@ interface operations {
3762
3678
  currency: string;
3763
3679
  /**
3764
3680
  * @description Destination account ID
3765
- * @example 69fcc3849e56476d70fe629c
3681
+ * @example 6a0d5f1ac3aa49d4f16d0723
3766
3682
  */
3767
3683
  accountId: string;
3768
3684
  accountName: (string | null) | null;
@@ -3978,7 +3894,7 @@ interface operations {
3978
3894
  currency: string;
3979
3895
  /**
3980
3896
  * @description Destination account ID
3981
- * @example 69fcc3849e56476d70fe629c
3897
+ * @example 6a0d5f1ac3aa49d4f16d0723
3982
3898
  */
3983
3899
  accountId: string;
3984
3900
  accountName: (string | null) | null;
@@ -7187,11 +7103,31 @@ interface operations {
7187
7103
  */
7188
7104
  bankAccountId: string;
7189
7105
  /**
7190
- * @description Institution name used for funding source display
7106
+ * @description Institution name used for funding source display. Prefer `institution.name` when present; this field will be removed in a future release.
7191
7107
  * @example Plaid Test Bank
7192
7108
  * @example null
7193
7109
  */
7194
7110
  institutionName: string | null;
7111
+ /** @description Branding metadata for the institution backing the funding source, or null when no institution data is available. */
7112
+ institution: {
7113
+ /**
7114
+ * @description Display name for the institution
7115
+ * @example Chase
7116
+ */
7117
+ name: string;
7118
+ /**
7119
+ * @description Absolute URL to the institution's logo (PNG). Null when the institution has no logo on file.
7120
+ * @example https://assets.platform.spritz.finance/institutions/ins_109508.png
7121
+ * @example null
7122
+ */
7123
+ logoUrl: string | null;
7124
+ /**
7125
+ * @description Hex color (e.g. `#1e88e5`) representing the institution's brand. Null when unavailable.
7126
+ * @example #1e88e5
7127
+ * @example null
7128
+ */
7129
+ primaryColor: string | null;
7130
+ } | null;
7195
7131
  /**
7196
7132
  * @description Last 4 digits of the linked bank account number
7197
7133
  * @example 6789
@@ -7550,11 +7486,31 @@ interface operations {
7550
7486
  */
7551
7487
  bankAccountId: string;
7552
7488
  /**
7553
- * @description Institution name used for funding source display
7489
+ * @description Institution name used for funding source display. Prefer `institution.name` when present; this field will be removed in a future release.
7554
7490
  * @example Plaid Test Bank
7555
7491
  * @example null
7556
7492
  */
7557
7493
  institutionName: string | null;
7494
+ /** @description Branding metadata for the institution backing the funding source, or null when no institution data is available. */
7495
+ institution: {
7496
+ /**
7497
+ * @description Display name for the institution
7498
+ * @example Chase
7499
+ */
7500
+ name: string;
7501
+ /**
7502
+ * @description Absolute URL to the institution's logo (PNG). Null when the institution has no logo on file.
7503
+ * @example https://assets.platform.spritz.finance/institutions/ins_109508.png
7504
+ * @example null
7505
+ */
7506
+ logoUrl: string | null;
7507
+ /**
7508
+ * @description Hex color (e.g. `#1e88e5`) representing the institution's brand. Null when unavailable.
7509
+ * @example #1e88e5
7510
+ * @example null
7511
+ */
7512
+ primaryColor: string | null;
7513
+ } | null;
7558
7514
  /**
7559
7515
  * @description Last 4 digits of the linked bank account number
7560
7516
  * @example 6789
@@ -7700,7 +7656,7 @@ interface operations {
7700
7656
  };
7701
7657
  };
7702
7658
  };
7703
- "postV1Deposit-destinationsPrepare": {
7659
+ postV1DepositsDirectPrepare: {
7704
7660
  parameters: {
7705
7661
  query?: never;
7706
7662
  header?: never;
@@ -7715,15 +7671,32 @@ interface operations {
7715
7671
  * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
7716
7672
  */
7717
7673
  sourceId: string;
7718
- /** @constant */
7719
- network: "solana";
7720
- /** @constant */
7721
- asset: "USDC";
7722
7674
  /**
7723
- * @description Destination wallet address for the selected network
7724
- * @example 9xQeWvG816bUx9EPjHmaT23yvVM3qvGqLrL7Kx1YwM9R
7675
+ * @description Destination wallet address to deposit into. Validated but not proven via wallet signature; authorization is derived from the verified ACH funding source.
7676
+ * @example 9n4nbM75f5Ui33ZbPYXn59EwSb9Y1zdyu3x2b1f8jQRY
7725
7677
  */
7726
7678
  address: string;
7679
+ /** @enum {string} */
7680
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
7681
+ /**
7682
+ * @description Asset sent to the deposit destination
7683
+ * @example USDC
7684
+ * @constant
7685
+ */
7686
+ asset: "USDC";
7687
+ /** @enum {string} */
7688
+ quoteType: "exact_input" | "exact_output";
7689
+ /**
7690
+ * @description Requested USD amount as a decimal string
7691
+ * @example 100.00
7692
+ */
7693
+ amountUsd: string;
7694
+ /** @enum {string} */
7695
+ priority: "normal" | "high";
7696
+ feeSubsidy?: {
7697
+ percentage: number;
7698
+ maxAmountUsd?: string;
7699
+ };
7727
7700
  clientContext?: {
7728
7701
  clientIp?: string;
7729
7702
  userAgent?: string;
@@ -7739,15 +7712,32 @@ interface operations {
7739
7712
  * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
7740
7713
  */
7741
7714
  sourceId: string;
7742
- /** @constant */
7743
- network: "solana";
7744
- /** @constant */
7745
- asset: "USDC";
7746
7715
  /**
7747
- * @description Destination wallet address for the selected network
7748
- * @example 9xQeWvG816bUx9EPjHmaT23yvVM3qvGqLrL7Kx1YwM9R
7716
+ * @description Destination wallet address to deposit into. Validated but not proven via wallet signature; authorization is derived from the verified ACH funding source.
7717
+ * @example 9n4nbM75f5Ui33ZbPYXn59EwSb9Y1zdyu3x2b1f8jQRY
7749
7718
  */
7750
7719
  address: string;
7720
+ /** @enum {string} */
7721
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
7722
+ /**
7723
+ * @description Asset sent to the deposit destination
7724
+ * @example USDC
7725
+ * @constant
7726
+ */
7727
+ asset: "USDC";
7728
+ /** @enum {string} */
7729
+ quoteType: "exact_input" | "exact_output";
7730
+ /**
7731
+ * @description Requested USD amount as a decimal string
7732
+ * @example 100.00
7733
+ */
7734
+ amountUsd: string;
7735
+ /** @enum {string} */
7736
+ priority: "normal" | "high";
7737
+ feeSubsidy?: {
7738
+ percentage: number;
7739
+ maxAmountUsd?: string;
7740
+ };
7751
7741
  clientContext?: {
7752
7742
  clientIp?: string;
7753
7743
  userAgent?: string;
@@ -7763,15 +7753,32 @@ interface operations {
7763
7753
  * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
7764
7754
  */
7765
7755
  sourceId: string;
7766
- /** @constant */
7767
- network: "solana";
7768
- /** @constant */
7769
- asset: "USDC";
7770
7756
  /**
7771
- * @description Destination wallet address for the selected network
7772
- * @example 9xQeWvG816bUx9EPjHmaT23yvVM3qvGqLrL7Kx1YwM9R
7757
+ * @description Destination wallet address to deposit into. Validated but not proven via wallet signature; authorization is derived from the verified ACH funding source.
7758
+ * @example 9n4nbM75f5Ui33ZbPYXn59EwSb9Y1zdyu3x2b1f8jQRY
7773
7759
  */
7774
7760
  address: string;
7761
+ /** @enum {string} */
7762
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
7763
+ /**
7764
+ * @description Asset sent to the deposit destination
7765
+ * @example USDC
7766
+ * @constant
7767
+ */
7768
+ asset: "USDC";
7769
+ /** @enum {string} */
7770
+ quoteType: "exact_input" | "exact_output";
7771
+ /**
7772
+ * @description Requested USD amount as a decimal string
7773
+ * @example 100.00
7774
+ */
7775
+ amountUsd: string;
7776
+ /** @enum {string} */
7777
+ priority: "normal" | "high";
7778
+ feeSubsidy?: {
7779
+ percentage: number;
7780
+ maxAmountUsd?: string;
7781
+ };
7775
7782
  clientContext?: {
7776
7783
  clientIp?: string;
7777
7784
  userAgent?: string;
@@ -7797,20 +7804,43 @@ interface operations {
7797
7804
  */
7798
7805
  preparationId: string;
7799
7806
  /** @constant */
7800
- kind: "destination_bind";
7807
+ kind: "deposit_authorization";
7801
7808
  /** Format: date-time */
7802
7809
  expiresAt: string;
7803
7810
  /** @constant */
7804
7811
  messageVersion: "v1";
7805
- /** @description Canonical wallet-signable verification message */
7812
+ /** @description Display-ready ACH authorization message */
7806
7813
  message: string;
7807
- /**
7808
- * @description Canonical asset address or mint address for the selected network and asset
7809
- * @example EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
7810
- */
7811
- assetAddress: string;
7812
- /** @description Normalized destination address used in the signed message */
7813
- normalizedAddress: string;
7814
+ summary: {
7815
+ /** @enum {string} */
7816
+ quoteType: "exact_input" | "exact_output";
7817
+ requestedAmountUsd: string;
7818
+ /** @enum {string} */
7819
+ priority: "normal" | "high";
7820
+ feeRateBps: number;
7821
+ principalAmountUsd: string;
7822
+ expectedAssetAmount: string;
7823
+ grossFeeUsd: string;
7824
+ feeSubsidyUsd: string;
7825
+ userFeeUsd: string;
7826
+ totalDebitAmountUsd: string;
7827
+ feeSubsidy: {
7828
+ percentage: number;
7829
+ percentageBps: number;
7830
+ maxAmountUsd: string | null;
7831
+ appliedAmountUsd: string;
7832
+ } | null;
7833
+ /** @enum {string} */
7834
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
7835
+ /**
7836
+ * @description Asset sent to the deposit destination
7837
+ * @example USDC
7838
+ * @constant
7839
+ */
7840
+ asset: "USDC";
7841
+ assetAddress: string;
7842
+ destinationAddress: string;
7843
+ };
7814
7844
  };
7815
7845
  };
7816
7846
  };
@@ -7937,61 +7967,134 @@ interface operations {
7937
7967
  };
7938
7968
  };
7939
7969
  };
7940
- "getV1Deposit-destinations": {
7970
+ postV1DepositsDirect: {
7941
7971
  parameters: {
7942
7972
  query?: never;
7943
7973
  header?: never;
7944
7974
  path?: never;
7945
7975
  cookie?: never;
7946
7976
  };
7947
- requestBody?: never;
7948
- responses: {
7949
- /** @description Response for status 200 */
7950
- 200: {
7951
- headers: {
7952
- [name: string]: unknown;
7977
+ requestBody: {
7978
+ content: {
7979
+ "application/json": {
7980
+ /**
7981
+ * @description Opaque public preparation identifier returned by direct prepare
7982
+ * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
7983
+ */
7984
+ preparationId: string;
7985
+ clientContext?: {
7986
+ clientIp?: string;
7987
+ userAgent?: string;
7988
+ sessionId?: string;
7989
+ deviceId?: string;
7990
+ platform?: string;
7991
+ appVersion?: string;
7992
+ };
7953
7993
  };
7954
- content: {
7955
- "application/json": {
7956
- /**
7957
- * @description Opaque public identifier for the deposit destination
7958
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
7959
- */
7960
- id: string;
7961
- /**
7962
- * @description Opaque public funding source identifier
7963
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
7964
- */
7965
- sourceId: string;
7966
- /**
7967
- * @description Blockchain network for the bound deposit destination
7968
- * @example solana
7969
- * @constant
7994
+ "application/x-www-form-urlencoded": {
7995
+ /**
7996
+ * @description Opaque public preparation identifier returned by direct prepare
7997
+ * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
7998
+ */
7999
+ preparationId: string;
8000
+ clientContext?: {
8001
+ clientIp?: string;
8002
+ userAgent?: string;
8003
+ sessionId?: string;
8004
+ deviceId?: string;
8005
+ platform?: string;
8006
+ appVersion?: string;
8007
+ };
8008
+ };
8009
+ "multipart/form-data": {
8010
+ /**
8011
+ * @description Opaque public preparation identifier returned by direct prepare
8012
+ * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8013
+ */
8014
+ preparationId: string;
8015
+ clientContext?: {
8016
+ clientIp?: string;
8017
+ userAgent?: string;
8018
+ sessionId?: string;
8019
+ deviceId?: string;
8020
+ platform?: string;
8021
+ appVersion?: string;
8022
+ };
8023
+ };
8024
+ };
8025
+ };
8026
+ responses: {
8027
+ /** @description An ACH debit deposit authorized by the user and processed asynchronously through debit and crypto release lifecycles. */
8028
+ 200: {
8029
+ headers: {
8030
+ [name: string]: unknown;
8031
+ };
8032
+ content: {
8033
+ "application/json": {
8034
+ /**
8035
+ * @description Opaque public deposit identifier
8036
+ * @example dep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8037
+ */
8038
+ id: string;
8039
+ /**
8040
+ * @description Opaque public funding source identifier
8041
+ * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
7970
8042
  */
7971
- network: "solana";
8043
+ sourceId: string;
8044
+ /** @enum {string} */
8045
+ status: "authorized" | "processing" | "partially_released" | "completed" | "returned" | "failed";
8046
+ /** @enum {string} */
8047
+ quoteType: "exact_input" | "exact_output";
8048
+ /** @enum {string} */
8049
+ priority: "normal" | "high";
8050
+ feeRateBps: number;
8051
+ principalAmountUsd: string;
8052
+ expectedAssetAmount: string;
8053
+ grossFeeUsd: string;
8054
+ feeSubsidyUsd: string;
8055
+ userFeeUsd: string;
8056
+ totalDebitAmountUsd: string;
8057
+ feeSubsidy: {
8058
+ percentage: number;
8059
+ percentageBps: number;
8060
+ maxAmountUsd: string | null;
8061
+ appliedAmountUsd: string;
8062
+ } | null;
8063
+ /** @enum {string} */
8064
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
7972
8065
  /**
7973
8066
  * @description Asset sent to the deposit destination
7974
8067
  * @example USDC
7975
8068
  * @constant
7976
8069
  */
7977
8070
  asset: "USDC";
7978
- /**
7979
- * @description Canonical asset address or mint address for the selected network and asset
7980
- * @example EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
7981
- */
7982
8071
  assetAddress: string;
7983
- /** @description Bound wallet destination address */
8072
+ /** @description Destination wallet address for the crypto release */
7984
8073
  address: string;
7985
8074
  /** @enum {string} */
7986
- status: "active" | "revoked";
7987
- /**
7988
- * Format: date-time
7989
- * @description When the destination was created
7990
- */
8075
+ debitStatus: "authorized" | "submitting" | "submitted" | "settled" | "returned" | "failed";
8076
+ /** @enum {string} */
8077
+ releaseStatus: "not_started" | "queued" | "partial" | "completed" | "failed";
8078
+ /** @enum {string} */
8079
+ releaseDecisionMode: "after_settlement" | "early_full" | "early_partial";
8080
+ releasedAmountUsd: string;
8081
+ confirmedReleasedAmountUsd: string;
8082
+ exposureAmountUsd: string;
8083
+ /** Format: date-time */
8084
+ authorizedAt: string;
8085
+ /** Format: date-time */
7991
8086
  createdAt: string;
7992
- /** @description When the destination was revoked, or null when active */
7993
- revokedAt: string | null;
7994
- }[];
8087
+ settledAt: string | null;
8088
+ returnedAt: string | null;
8089
+ completedAt: string | null;
8090
+ returnCode: string | null;
8091
+ returnReason: string | null;
8092
+ debitFailureCode: string | null;
8093
+ debitFailureReason: string | null;
8094
+ releaseFailureCode: string | null;
8095
+ releaseFailureReason: string | null;
8096
+ payoutTxHash: string | null;
8097
+ };
7995
8098
  };
7996
8099
  };
7997
8100
  /** @description Response for status 401 */
@@ -8117,7 +8220,7 @@ interface operations {
8117
8220
  };
8118
8221
  };
8119
8222
  };
8120
- "postV1Deposit-destinations": {
8223
+ "postV1Bank-accountsLink-token": {
8121
8224
  parameters: {
8122
8225
  query?: never;
8123
8226
  header?: never;
@@ -8128,118 +8231,44 @@ interface operations {
8128
8231
  content: {
8129
8232
  "application/json": {
8130
8233
  /**
8131
- * @description Opaque public preparation identifier returned by prepare
8132
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8133
- */
8134
- preparationId: string;
8135
- /** @description Ed25519 signature over the exact message text. Base58 is preferred for Solana clients; base64 is also accepted. */
8136
- signature: string;
8137
- /**
8138
- * @description Wallet address that produced the signature
8139
- * @example 9xQeWvG816bUx9EPjHmaT23yvVM3qvGqLrL7Kx1YwM9R
8234
+ * @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.
8235
+ * @example https://app.example.com/plaid/oauth-return
8236
+ * @example com.example.app
8140
8237
  */
8141
- signerAddress: string;
8142
- clientContext?: {
8143
- clientIp?: string;
8144
- userAgent?: string;
8145
- sessionId?: string;
8146
- deviceId?: string;
8147
- platform?: string;
8148
- appVersion?: string;
8149
- };
8150
- };
8238
+ redirectUri?: string;
8239
+ } | Record<string, never>;
8151
8240
  "application/x-www-form-urlencoded": {
8152
8241
  /**
8153
- * @description Opaque public preparation identifier returned by prepare
8154
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8155
- */
8156
- preparationId: string;
8157
- /** @description Ed25519 signature over the exact message text. Base58 is preferred for Solana clients; base64 is also accepted. */
8158
- signature: string;
8159
- /**
8160
- * @description Wallet address that produced the signature
8161
- * @example 9xQeWvG816bUx9EPjHmaT23yvVM3qvGqLrL7Kx1YwM9R
8242
+ * @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.
8243
+ * @example https://app.example.com/plaid/oauth-return
8244
+ * @example com.example.app
8162
8245
  */
8163
- signerAddress: string;
8164
- clientContext?: {
8165
- clientIp?: string;
8166
- userAgent?: string;
8167
- sessionId?: string;
8168
- deviceId?: string;
8169
- platform?: string;
8170
- appVersion?: string;
8171
- };
8172
- };
8246
+ redirectUri?: string;
8247
+ } | Record<string, never>;
8173
8248
  "multipart/form-data": {
8174
8249
  /**
8175
- * @description Opaque public preparation identifier returned by prepare
8176
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8177
- */
8178
- preparationId: string;
8179
- /** @description Ed25519 signature over the exact message text. Base58 is preferred for Solana clients; base64 is also accepted. */
8180
- signature: string;
8181
- /**
8182
- * @description Wallet address that produced the signature
8183
- * @example 9xQeWvG816bUx9EPjHmaT23yvVM3qvGqLrL7Kx1YwM9R
8250
+ * @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.
8251
+ * @example https://app.example.com/plaid/oauth-return
8252
+ * @example com.example.app
8184
8253
  */
8185
- signerAddress: string;
8186
- clientContext?: {
8187
- clientIp?: string;
8188
- userAgent?: string;
8189
- sessionId?: string;
8190
- deviceId?: string;
8191
- platform?: string;
8192
- appVersion?: string;
8193
- };
8194
- };
8254
+ redirectUri?: string;
8255
+ } | Record<string, never>;
8195
8256
  };
8196
8257
  };
8197
8258
  responses: {
8198
- /** @description A wallet destination bound to a funding source for future on-ramp deposits */
8259
+ /** @description Response for status 200 */
8199
8260
  200: {
8200
8261
  headers: {
8201
8262
  [name: string]: unknown;
8202
8263
  };
8203
8264
  content: {
8204
8265
  "application/json": {
8205
- /**
8206
- * @description Opaque public identifier for the deposit destination
8207
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8208
- */
8209
- id: string;
8210
- /**
8211
- * @description Opaque public funding source identifier
8212
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8213
- */
8214
- sourceId: string;
8215
- /**
8216
- * @description Blockchain network for the bound deposit destination
8217
- * @example solana
8218
- * @constant
8219
- */
8220
- network: "solana";
8221
- /**
8222
- * @description Asset sent to the deposit destination
8223
- * @example USDC
8224
- * @constant
8225
- */
8226
- asset: "USDC";
8227
- /**
8228
- * @description Canonical asset address or mint address for the selected network and asset
8229
- * @example EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
8230
- */
8231
- assetAddress: string;
8232
- /** @description Bound wallet destination address */
8233
- address: string;
8234
- /** @enum {string} */
8235
- status: "active" | "revoked";
8236
- /**
8237
- * Format: date-time
8238
- * @description When the destination was created
8239
- */
8240
- createdAt: string;
8241
- /** @description When the destination was revoked, or null when active */
8242
- revokedAt: string | null;
8266
+ /** @description Token to initialize Plaid Link SDK */
8267
+ linkToken: string;
8268
+ /** @description Plaid-hosted URL for bank linking. Open in browser or webview. Null if hosted link was not requested. */
8269
+ hostedLinkUrl: string | null;
8270
+ expiration: string;
8271
+ requestId: string;
8243
8272
  };
8244
8273
  };
8245
8274
  };
@@ -8291,41 +8320,6 @@ interface operations {
8291
8320
  };
8292
8321
  };
8293
8322
  };
8294
- /** @description Response for status 404 */
8295
- 404: {
8296
- headers: {
8297
- [name: string]: unknown;
8298
- };
8299
- content: {
8300
- "application/json": {
8301
- /**
8302
- * @description A URI reference that identifies the problem type
8303
- * @default about:blank
8304
- */
8305
- type: string;
8306
- /** @description A short, human-readable summary of the problem type */
8307
- title: string;
8308
- /**
8309
- * @description The HTTP status code
8310
- * @example 404
8311
- */
8312
- status: number;
8313
- /** @description A human-readable explanation specific to this occurrence */
8314
- detail?: string;
8315
- /** @description A URI reference that identifies the specific occurrence */
8316
- instance?: string;
8317
- /**
8318
- * @description The type of resource that was not found
8319
- * @example user
8320
- * @example account
8321
- * @example transaction
8322
- */
8323
- resourceType: string;
8324
- /** @description The identifier of the resource that was not found */
8325
- resourceId: string;
8326
- };
8327
- };
8328
- };
8329
8323
  /** @description Response for status 500 */
8330
8324
  500: {
8331
8325
  headers: {
@@ -8366,7 +8360,7 @@ interface operations {
8366
8360
  };
8367
8361
  };
8368
8362
  };
8369
- postV1DepositsPrepare: {
8363
+ "postV1Bank-accountsLink-complete": {
8370
8364
  parameters: {
8371
8365
  query?: never;
8372
8366
  header?: never;
@@ -8376,1260 +8370,12 @@ interface operations {
8376
8370
  requestBody: {
8377
8371
  content: {
8378
8372
  "application/json": {
8379
- /**
8380
- * @description Opaque public funding source identifier
8381
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8382
- */
8383
- sourceId: string;
8384
- /**
8385
- * @description Opaque public deposit destination identifier
8386
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8387
- */
8388
- destinationId: string;
8389
- /** @enum {string} */
8390
- quoteType: "exact_input" | "exact_output";
8391
- /**
8392
- * @description Requested USD amount as a decimal string
8393
- * @example 100.00
8394
- */
8395
- amountUsd: string;
8396
- /** @enum {string} */
8397
- priority: "normal" | "high";
8398
- feeSubsidy?: {
8399
- percentage: number;
8400
- maxAmountUsd?: string;
8401
- };
8402
- clientContext?: {
8403
- clientIp?: string;
8404
- userAgent?: string;
8405
- sessionId?: string;
8406
- deviceId?: string;
8407
- platform?: string;
8408
- appVersion?: string;
8409
- };
8410
- };
8411
- "application/x-www-form-urlencoded": {
8412
- /**
8413
- * @description Opaque public funding source identifier
8414
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8415
- */
8416
- sourceId: string;
8417
- /**
8418
- * @description Opaque public deposit destination identifier
8419
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8420
- */
8421
- destinationId: string;
8422
- /** @enum {string} */
8423
- quoteType: "exact_input" | "exact_output";
8424
- /**
8425
- * @description Requested USD amount as a decimal string
8426
- * @example 100.00
8427
- */
8428
- amountUsd: string;
8429
- /** @enum {string} */
8430
- priority: "normal" | "high";
8431
- feeSubsidy?: {
8432
- percentage: number;
8433
- maxAmountUsd?: string;
8434
- };
8435
- clientContext?: {
8436
- clientIp?: string;
8437
- userAgent?: string;
8438
- sessionId?: string;
8439
- deviceId?: string;
8440
- platform?: string;
8441
- appVersion?: string;
8442
- };
8443
- };
8444
- "multipart/form-data": {
8445
- /**
8446
- * @description Opaque public funding source identifier
8447
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8448
- */
8449
- sourceId: string;
8450
- /**
8451
- * @description Opaque public deposit destination identifier
8452
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8453
- */
8454
- destinationId: string;
8455
- /** @enum {string} */
8456
- quoteType: "exact_input" | "exact_output";
8457
- /**
8458
- * @description Requested USD amount as a decimal string
8459
- * @example 100.00
8460
- */
8461
- amountUsd: string;
8462
- /** @enum {string} */
8463
- priority: "normal" | "high";
8464
- feeSubsidy?: {
8465
- percentage: number;
8466
- maxAmountUsd?: string;
8467
- };
8468
- clientContext?: {
8469
- clientIp?: string;
8470
- userAgent?: string;
8471
- sessionId?: string;
8472
- deviceId?: string;
8473
- platform?: string;
8474
- appVersion?: string;
8475
- };
8476
- };
8477
- };
8478
- };
8479
- responses: {
8480
- /** @description Response for status 200 */
8481
- 200: {
8482
- headers: {
8483
- [name: string]: unknown;
8484
- };
8485
- content: {
8486
- "application/json": {
8487
- /**
8488
- * @description Opaque public preparation identifier
8489
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8490
- */
8491
- preparationId: string;
8492
- /** @constant */
8493
- kind: "deposit_authorization";
8494
- /** Format: date-time */
8495
- expiresAt: string;
8496
- /** @constant */
8497
- messageVersion: "v1";
8498
- /** @description Display-ready ACH authorization message */
8499
- message: string;
8500
- summary: {
8501
- /** @enum {string} */
8502
- quoteType: "exact_input" | "exact_output";
8503
- requestedAmountUsd: string;
8504
- /** @enum {string} */
8505
- priority: "normal" | "high";
8506
- feeRateBps: number;
8507
- principalAmountUsd: string;
8508
- expectedAssetAmount: string;
8509
- grossFeeUsd: string;
8510
- feeSubsidyUsd: string;
8511
- userFeeUsd: string;
8512
- totalDebitAmountUsd: string;
8513
- feeSubsidy: {
8514
- percentage: number;
8515
- percentageBps: number;
8516
- maxAmountUsd: string | null;
8517
- appliedAmountUsd: string;
8518
- } | null;
8519
- /** @constant */
8520
- network: "solana";
8521
- /** @constant */
8522
- asset: "USDC";
8523
- assetAddress: string;
8524
- destinationAddress: string;
8525
- };
8526
- };
8527
- };
8528
- };
8529
- /** @description Response for status 401 */
8530
- 401: {
8531
- headers: {
8532
- [name: string]: unknown;
8533
- };
8534
- content: {
8535
- "application/json": {
8536
- /**
8537
- * @description A URI reference that identifies the problem type
8538
- * @default about:blank
8539
- * @example urn:problem-type:auth:unauthorized
8540
- * @example urn:problem-type:auth:token-expired
8541
- */
8542
- type: string;
8543
- /**
8544
- * @description A short, human-readable summary of the problem type
8545
- * @example Unauthorized
8546
- * @example Token Expired
8547
- */
8548
- title: string;
8549
- /**
8550
- * @description The HTTP status code
8551
- * @example 401
8552
- * @example 403
8553
- */
8554
- status: number;
8555
- /**
8556
- * @description A human-readable explanation specific to this occurrence
8557
- * @example Bearer token required
8558
- * @example Invalid token
8559
- */
8560
- detail?: string;
8561
- /** @description A URI reference that identifies the specific occurrence */
8562
- instance?: string;
8563
- /**
8564
- * @description The authentication realm
8565
- * @example API
8566
- */
8567
- realm?: string;
8568
- /**
8569
- * @description The required scope for this resource
8570
- * @example read:users
8571
- * @example write:orders
8572
- */
8573
- scope?: string;
8574
- };
8575
- };
8576
- };
8577
- /** @description Response for status 404 */
8578
- 404: {
8579
- headers: {
8580
- [name: string]: unknown;
8581
- };
8582
- content: {
8583
- "application/json": {
8584
- /**
8585
- * @description A URI reference that identifies the problem type
8586
- * @default about:blank
8587
- */
8588
- type: string;
8589
- /** @description A short, human-readable summary of the problem type */
8590
- title: string;
8591
- /**
8592
- * @description The HTTP status code
8593
- * @example 404
8594
- */
8595
- status: number;
8596
- /** @description A human-readable explanation specific to this occurrence */
8597
- detail?: string;
8598
- /** @description A URI reference that identifies the specific occurrence */
8599
- instance?: string;
8600
- /**
8601
- * @description The type of resource that was not found
8602
- * @example user
8603
- * @example account
8604
- * @example transaction
8605
- */
8606
- resourceType: string;
8607
- /** @description The identifier of the resource that was not found */
8608
- resourceId: string;
8609
- };
8610
- };
8611
- };
8612
- /** @description Response for status 500 */
8613
- 500: {
8614
- headers: {
8615
- [name: string]: unknown;
8616
- };
8617
- content: {
8618
- "application/json": {
8619
- /**
8620
- * @description A URI reference that identifies the problem type
8621
- * @default about:blank
8622
- * @example urn:problem-type:auth:unauthorized
8623
- * @example urn:problem-type:system:internal-error
8624
- */
8625
- type: string;
8626
- /**
8627
- * @description A short, human-readable summary of the problem type
8628
- * @example Unauthorized
8629
- * @example Internal Server Error
8630
- */
8631
- title: string;
8632
- /**
8633
- * @description The HTTP status code
8634
- * @example 400
8635
- * @example 401
8636
- * @example 404
8637
- * @example 500
8638
- */
8639
- status: number;
8640
- /** @description A human-readable explanation specific to this occurrence */
8641
- detail?: string;
8642
- /**
8643
- * @description A URI reference that identifies the specific occurrence
8644
- * @example /errors/1234567890
8645
- */
8646
- instance?: string;
8647
- };
8648
- };
8649
- };
8650
- };
8651
- };
8652
- postV1Deposits: {
8653
- parameters: {
8654
- query?: never;
8655
- header?: never;
8656
- path?: never;
8657
- cookie?: never;
8658
- };
8659
- requestBody: {
8660
- content: {
8661
- "application/json": {
8662
- /**
8663
- * @description Opaque public preparation identifier returned by prepare
8664
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8665
- */
8666
- preparationId: string;
8667
- /** @description Ed25519 signature over the exact authorization message text. Base58 is preferred for Solana clients; base64 is also accepted. */
8668
- signature: string;
8669
- clientContext?: {
8670
- clientIp?: string;
8671
- userAgent?: string;
8672
- sessionId?: string;
8673
- deviceId?: string;
8674
- platform?: string;
8675
- appVersion?: string;
8676
- };
8677
- };
8678
- "application/x-www-form-urlencoded": {
8679
- /**
8680
- * @description Opaque public preparation identifier returned by prepare
8681
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8682
- */
8683
- preparationId: string;
8684
- /** @description Ed25519 signature over the exact authorization message text. Base58 is preferred for Solana clients; base64 is also accepted. */
8685
- signature: string;
8686
- clientContext?: {
8687
- clientIp?: string;
8688
- userAgent?: string;
8689
- sessionId?: string;
8690
- deviceId?: string;
8691
- platform?: string;
8692
- appVersion?: string;
8693
- };
8694
- };
8695
- "multipart/form-data": {
8696
- /**
8697
- * @description Opaque public preparation identifier returned by prepare
8698
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8699
- */
8700
- preparationId: string;
8701
- /** @description Ed25519 signature over the exact authorization message text. Base58 is preferred for Solana clients; base64 is also accepted. */
8702
- signature: string;
8703
- clientContext?: {
8704
- clientIp?: string;
8705
- userAgent?: string;
8706
- sessionId?: string;
8707
- deviceId?: string;
8708
- platform?: string;
8709
- appVersion?: string;
8710
- };
8711
- };
8712
- };
8713
- };
8714
- responses: {
8715
- /** @description An ACH debit deposit authorized by the user and processed asynchronously through debit and crypto release lifecycles. */
8716
- 200: {
8717
- headers: {
8718
- [name: string]: unknown;
8719
- };
8720
- content: {
8721
- "application/json": {
8722
- /**
8723
- * @description Opaque public deposit identifier
8724
- * @example dep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8725
- */
8726
- id: string;
8727
- /**
8728
- * @description Opaque public funding source identifier
8729
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8730
- */
8731
- sourceId: string;
8732
- /**
8733
- * @description Opaque public deposit destination identifier
8734
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8735
- */
8736
- destinationId: string;
8737
- /** @enum {string} */
8738
- status: "authorized" | "processing" | "partially_released" | "completed" | "returned" | "failed";
8739
- /** @enum {string} */
8740
- quoteType: "exact_input" | "exact_output";
8741
- /** @enum {string} */
8742
- priority: "normal" | "high";
8743
- feeRateBps: number;
8744
- principalAmountUsd: string;
8745
- expectedAssetAmount: string;
8746
- grossFeeUsd: string;
8747
- feeSubsidyUsd: string;
8748
- userFeeUsd: string;
8749
- totalDebitAmountUsd: string;
8750
- feeSubsidy: {
8751
- percentage: number;
8752
- percentageBps: number;
8753
- maxAmountUsd: string | null;
8754
- appliedAmountUsd: string;
8755
- } | null;
8756
- /**
8757
- * @description Blockchain network for the bound deposit destination
8758
- * @example solana
8759
- * @constant
8760
- */
8761
- network: "solana";
8762
- /**
8763
- * @description Asset sent to the deposit destination
8764
- * @example USDC
8765
- * @constant
8766
- */
8767
- asset: "USDC";
8768
- assetAddress: string;
8769
- /** @description Destination wallet address for the crypto release */
8770
- address: string;
8771
- /** @enum {string} */
8772
- debitStatus: "authorized" | "submitting" | "submitted" | "settled" | "returned" | "failed";
8773
- /** @enum {string} */
8774
- releaseStatus: "not_started" | "queued" | "partial" | "completed" | "failed";
8775
- /** @enum {string} */
8776
- releaseDecisionMode: "after_settlement" | "early_full" | "early_partial";
8777
- releasedAmountUsd: string;
8778
- confirmedReleasedAmountUsd: string;
8779
- exposureAmountUsd: string;
8780
- /** Format: date-time */
8781
- authorizedAt: string;
8782
- /** Format: date-time */
8783
- createdAt: string;
8784
- settledAt: string | null;
8785
- returnedAt: string | null;
8786
- completedAt: string | null;
8787
- returnCode: string | null;
8788
- returnReason: string | null;
8789
- debitFailureCode: string | null;
8790
- debitFailureReason: string | null;
8791
- releaseFailureCode: string | null;
8792
- releaseFailureReason: string | null;
8793
- payoutTxHash: string | null;
8794
- };
8795
- };
8796
- };
8797
- /** @description Response for status 401 */
8798
- 401: {
8799
- headers: {
8800
- [name: string]: unknown;
8801
- };
8802
- content: {
8803
- "application/json": {
8804
- /**
8805
- * @description A URI reference that identifies the problem type
8806
- * @default about:blank
8807
- * @example urn:problem-type:auth:unauthorized
8808
- * @example urn:problem-type:auth:token-expired
8809
- */
8810
- type: string;
8811
- /**
8812
- * @description A short, human-readable summary of the problem type
8813
- * @example Unauthorized
8814
- * @example Token Expired
8815
- */
8816
- title: string;
8817
- /**
8818
- * @description The HTTP status code
8819
- * @example 401
8820
- * @example 403
8821
- */
8822
- status: number;
8823
- /**
8824
- * @description A human-readable explanation specific to this occurrence
8825
- * @example Bearer token required
8826
- * @example Invalid token
8827
- */
8828
- detail?: string;
8829
- /** @description A URI reference that identifies the specific occurrence */
8830
- instance?: string;
8831
- /**
8832
- * @description The authentication realm
8833
- * @example API
8834
- */
8835
- realm?: string;
8836
- /**
8837
- * @description The required scope for this resource
8838
- * @example read:users
8839
- * @example write:orders
8840
- */
8841
- scope?: string;
8842
- };
8843
- };
8844
- };
8845
- /** @description Response for status 404 */
8846
- 404: {
8847
- headers: {
8848
- [name: string]: unknown;
8849
- };
8850
- content: {
8851
- "application/json": {
8852
- /**
8853
- * @description A URI reference that identifies the problem type
8854
- * @default about:blank
8855
- */
8856
- type: string;
8857
- /** @description A short, human-readable summary of the problem type */
8858
- title: string;
8859
- /**
8860
- * @description The HTTP status code
8861
- * @example 404
8862
- */
8863
- status: number;
8864
- /** @description A human-readable explanation specific to this occurrence */
8865
- detail?: string;
8866
- /** @description A URI reference that identifies the specific occurrence */
8867
- instance?: string;
8868
- /**
8869
- * @description The type of resource that was not found
8870
- * @example user
8871
- * @example account
8872
- * @example transaction
8873
- */
8874
- resourceType: string;
8875
- /** @description The identifier of the resource that was not found */
8876
- resourceId: string;
8877
- };
8878
- };
8879
- };
8880
- /** @description Response for status 500 */
8881
- 500: {
8882
- headers: {
8883
- [name: string]: unknown;
8884
- };
8885
- content: {
8886
- "application/json": {
8887
- /**
8888
- * @description A URI reference that identifies the problem type
8889
- * @default about:blank
8890
- * @example urn:problem-type:auth:unauthorized
8891
- * @example urn:problem-type:system:internal-error
8892
- */
8893
- type: string;
8894
- /**
8895
- * @description A short, human-readable summary of the problem type
8896
- * @example Unauthorized
8897
- * @example Internal Server Error
8898
- */
8899
- title: string;
8900
- /**
8901
- * @description The HTTP status code
8902
- * @example 400
8903
- * @example 401
8904
- * @example 404
8905
- * @example 500
8906
- */
8907
- status: number;
8908
- /** @description A human-readable explanation specific to this occurrence */
8909
- detail?: string;
8910
- /**
8911
- * @description A URI reference that identifies the specific occurrence
8912
- * @example /errors/1234567890
8913
- */
8914
- instance?: string;
8915
- };
8916
- };
8917
- };
8918
- };
8919
- };
8920
- postV1DepositsDirectPrepare: {
8921
- parameters: {
8922
- query?: never;
8923
- header?: never;
8924
- path?: never;
8925
- cookie?: never;
8926
- };
8927
- requestBody: {
8928
- content: {
8929
- "application/json": {
8930
- /**
8931
- * @description Opaque public funding source identifier
8932
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8933
- */
8934
- sourceId: string;
8935
- /**
8936
- * @description Destination wallet address to deposit into. Validated but not proven via wallet signature; authorization is derived from the verified ACH funding source.
8937
- * @example 9n4nbM75f5Ui33ZbPYXn59EwSb9Y1zdyu3x2b1f8jQRY
8938
- */
8939
- address: string;
8940
- /** @constant */
8941
- network: "solana";
8942
- /** @constant */
8943
- asset: "USDC";
8944
- /** @enum {string} */
8945
- quoteType: "exact_input" | "exact_output";
8946
- /**
8947
- * @description Requested USD amount as a decimal string
8948
- * @example 100.00
8949
- */
8950
- amountUsd: string;
8951
- /** @enum {string} */
8952
- priority: "normal" | "high";
8953
- feeSubsidy?: {
8954
- percentage: number;
8955
- maxAmountUsd?: string;
8956
- };
8957
- clientContext?: {
8958
- clientIp?: string;
8959
- userAgent?: string;
8960
- sessionId?: string;
8961
- deviceId?: string;
8962
- platform?: string;
8963
- appVersion?: string;
8964
- };
8965
- };
8966
- "application/x-www-form-urlencoded": {
8967
- /**
8968
- * @description Opaque public funding source identifier
8969
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
8970
- */
8971
- sourceId: string;
8972
- /**
8973
- * @description Destination wallet address to deposit into. Validated but not proven via wallet signature; authorization is derived from the verified ACH funding source.
8974
- * @example 9n4nbM75f5Ui33ZbPYXn59EwSb9Y1zdyu3x2b1f8jQRY
8975
- */
8976
- address: string;
8977
- /** @constant */
8978
- network: "solana";
8979
- /** @constant */
8980
- asset: "USDC";
8981
- /** @enum {string} */
8982
- quoteType: "exact_input" | "exact_output";
8983
- /**
8984
- * @description Requested USD amount as a decimal string
8985
- * @example 100.00
8986
- */
8987
- amountUsd: string;
8988
- /** @enum {string} */
8989
- priority: "normal" | "high";
8990
- feeSubsidy?: {
8991
- percentage: number;
8992
- maxAmountUsd?: string;
8993
- };
8994
- clientContext?: {
8995
- clientIp?: string;
8996
- userAgent?: string;
8997
- sessionId?: string;
8998
- deviceId?: string;
8999
- platform?: string;
9000
- appVersion?: string;
9001
- };
9002
- };
9003
- "multipart/form-data": {
9004
- /**
9005
- * @description Opaque public funding source identifier
9006
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
9007
- */
9008
- sourceId: string;
9009
- /**
9010
- * @description Destination wallet address to deposit into. Validated but not proven via wallet signature; authorization is derived from the verified ACH funding source.
9011
- * @example 9n4nbM75f5Ui33ZbPYXn59EwSb9Y1zdyu3x2b1f8jQRY
9012
- */
9013
- address: string;
9014
- /** @constant */
9015
- network: "solana";
9016
- /** @constant */
9017
- asset: "USDC";
9018
- /** @enum {string} */
9019
- quoteType: "exact_input" | "exact_output";
9020
- /**
9021
- * @description Requested USD amount as a decimal string
9022
- * @example 100.00
9023
- */
9024
- amountUsd: string;
9025
- /** @enum {string} */
9026
- priority: "normal" | "high";
9027
- feeSubsidy?: {
9028
- percentage: number;
9029
- maxAmountUsd?: string;
9030
- };
9031
- clientContext?: {
9032
- clientIp?: string;
9033
- userAgent?: string;
9034
- sessionId?: string;
9035
- deviceId?: string;
9036
- platform?: string;
9037
- appVersion?: string;
9038
- };
9039
- };
9040
- };
9041
- };
9042
- responses: {
9043
- /** @description Response for status 200 */
9044
- 200: {
9045
- headers: {
9046
- [name: string]: unknown;
9047
- };
9048
- content: {
9049
- "application/json": {
9050
- /**
9051
- * @description Opaque public preparation identifier
9052
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
9053
- */
9054
- preparationId: string;
9055
- /** @constant */
9056
- kind: "deposit_authorization";
9057
- /** Format: date-time */
9058
- expiresAt: string;
9059
- /** @constant */
9060
- messageVersion: "v1";
9061
- /** @description Display-ready ACH authorization message */
9062
- message: string;
9063
- summary: {
9064
- /** @enum {string} */
9065
- quoteType: "exact_input" | "exact_output";
9066
- requestedAmountUsd: string;
9067
- /** @enum {string} */
9068
- priority: "normal" | "high";
9069
- feeRateBps: number;
9070
- principalAmountUsd: string;
9071
- expectedAssetAmount: string;
9072
- grossFeeUsd: string;
9073
- feeSubsidyUsd: string;
9074
- userFeeUsd: string;
9075
- totalDebitAmountUsd: string;
9076
- feeSubsidy: {
9077
- percentage: number;
9078
- percentageBps: number;
9079
- maxAmountUsd: string | null;
9080
- appliedAmountUsd: string;
9081
- } | null;
9082
- /** @constant */
9083
- network: "solana";
9084
- /** @constant */
9085
- asset: "USDC";
9086
- assetAddress: string;
9087
- destinationAddress: string;
9088
- };
9089
- };
9090
- };
9091
- };
9092
- /** @description Response for status 401 */
9093
- 401: {
9094
- headers: {
9095
- [name: string]: unknown;
9096
- };
9097
- content: {
9098
- "application/json": {
9099
- /**
9100
- * @description A URI reference that identifies the problem type
9101
- * @default about:blank
9102
- * @example urn:problem-type:auth:unauthorized
9103
- * @example urn:problem-type:auth:token-expired
9104
- */
9105
- type: string;
9106
- /**
9107
- * @description A short, human-readable summary of the problem type
9108
- * @example Unauthorized
9109
- * @example Token Expired
9110
- */
9111
- title: string;
9112
- /**
9113
- * @description The HTTP status code
9114
- * @example 401
9115
- * @example 403
9116
- */
9117
- status: number;
9118
- /**
9119
- * @description A human-readable explanation specific to this occurrence
9120
- * @example Bearer token required
9121
- * @example Invalid token
9122
- */
9123
- detail?: string;
9124
- /** @description A URI reference that identifies the specific occurrence */
9125
- instance?: string;
9126
- /**
9127
- * @description The authentication realm
9128
- * @example API
9129
- */
9130
- realm?: string;
9131
- /**
9132
- * @description The required scope for this resource
9133
- * @example read:users
9134
- * @example write:orders
9135
- */
9136
- scope?: string;
9137
- };
9138
- };
9139
- };
9140
- /** @description Response for status 404 */
9141
- 404: {
9142
- headers: {
9143
- [name: string]: unknown;
9144
- };
9145
- content: {
9146
- "application/json": {
9147
- /**
9148
- * @description A URI reference that identifies the problem type
9149
- * @default about:blank
9150
- */
9151
- type: string;
9152
- /** @description A short, human-readable summary of the problem type */
9153
- title: string;
9154
- /**
9155
- * @description The HTTP status code
9156
- * @example 404
9157
- */
9158
- status: number;
9159
- /** @description A human-readable explanation specific to this occurrence */
9160
- detail?: string;
9161
- /** @description A URI reference that identifies the specific occurrence */
9162
- instance?: string;
9163
- /**
9164
- * @description The type of resource that was not found
9165
- * @example user
9166
- * @example account
9167
- * @example transaction
9168
- */
9169
- resourceType: string;
9170
- /** @description The identifier of the resource that was not found */
9171
- resourceId: string;
9172
- };
9173
- };
9174
- };
9175
- /** @description Response for status 500 */
9176
- 500: {
9177
- headers: {
9178
- [name: string]: unknown;
9179
- };
9180
- content: {
9181
- "application/json": {
9182
- /**
9183
- * @description A URI reference that identifies the problem type
9184
- * @default about:blank
9185
- * @example urn:problem-type:auth:unauthorized
9186
- * @example urn:problem-type:system:internal-error
9187
- */
9188
- type: string;
9189
- /**
9190
- * @description A short, human-readable summary of the problem type
9191
- * @example Unauthorized
9192
- * @example Internal Server Error
9193
- */
9194
- title: string;
9195
- /**
9196
- * @description The HTTP status code
9197
- * @example 400
9198
- * @example 401
9199
- * @example 404
9200
- * @example 500
9201
- */
9202
- status: number;
9203
- /** @description A human-readable explanation specific to this occurrence */
9204
- detail?: string;
9205
- /**
9206
- * @description A URI reference that identifies the specific occurrence
9207
- * @example /errors/1234567890
9208
- */
9209
- instance?: string;
9210
- };
9211
- };
9212
- };
9213
- };
9214
- };
9215
- postV1DepositsDirect: {
9216
- parameters: {
9217
- query?: never;
9218
- header?: never;
9219
- path?: never;
9220
- cookie?: never;
9221
- };
9222
- requestBody: {
9223
- content: {
9224
- "application/json": {
9225
- /**
9226
- * @description Opaque public preparation identifier returned by direct prepare
9227
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
9228
- */
9229
- preparationId: string;
9230
- clientContext?: {
9231
- clientIp?: string;
9232
- userAgent?: string;
9233
- sessionId?: string;
9234
- deviceId?: string;
9235
- platform?: string;
9236
- appVersion?: string;
9237
- };
9238
- };
9239
- "application/x-www-form-urlencoded": {
9240
- /**
9241
- * @description Opaque public preparation identifier returned by direct prepare
9242
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
9243
- */
9244
- preparationId: string;
9245
- clientContext?: {
9246
- clientIp?: string;
9247
- userAgent?: string;
9248
- sessionId?: string;
9249
- deviceId?: string;
9250
- platform?: string;
9251
- appVersion?: string;
9252
- };
9253
- };
9254
- "multipart/form-data": {
9255
- /**
9256
- * @description Opaque public preparation identifier returned by direct prepare
9257
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
9258
- */
9259
- preparationId: string;
9260
- clientContext?: {
9261
- clientIp?: string;
9262
- userAgent?: string;
9263
- sessionId?: string;
9264
- deviceId?: string;
9265
- platform?: string;
9266
- appVersion?: string;
9267
- };
9268
- };
9269
- };
9270
- };
9271
- responses: {
9272
- /** @description An ACH debit deposit authorized by the user and processed asynchronously through debit and crypto release lifecycles. */
9273
- 200: {
9274
- headers: {
9275
- [name: string]: unknown;
9276
- };
9277
- content: {
9278
- "application/json": {
9279
- /**
9280
- * @description Opaque public deposit identifier
9281
- * @example dep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
9282
- */
9283
- id: string;
9284
- /**
9285
- * @description Opaque public funding source identifier
9286
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
9287
- */
9288
- sourceId: string;
9289
- /**
9290
- * @description Opaque public deposit destination identifier
9291
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
9292
- */
9293
- destinationId: string;
9294
- /** @enum {string} */
9295
- status: "authorized" | "processing" | "partially_released" | "completed" | "returned" | "failed";
9296
- /** @enum {string} */
9297
- quoteType: "exact_input" | "exact_output";
9298
- /** @enum {string} */
9299
- priority: "normal" | "high";
9300
- feeRateBps: number;
9301
- principalAmountUsd: string;
9302
- expectedAssetAmount: string;
9303
- grossFeeUsd: string;
9304
- feeSubsidyUsd: string;
9305
- userFeeUsd: string;
9306
- totalDebitAmountUsd: string;
9307
- feeSubsidy: {
9308
- percentage: number;
9309
- percentageBps: number;
9310
- maxAmountUsd: string | null;
9311
- appliedAmountUsd: string;
9312
- } | null;
9313
- /**
9314
- * @description Blockchain network for the bound deposit destination
9315
- * @example solana
9316
- * @constant
9317
- */
9318
- network: "solana";
9319
- /**
9320
- * @description Asset sent to the deposit destination
9321
- * @example USDC
9322
- * @constant
9323
- */
9324
- asset: "USDC";
9325
- assetAddress: string;
9326
- /** @description Destination wallet address for the crypto release */
9327
- address: string;
9328
- /** @enum {string} */
9329
- debitStatus: "authorized" | "submitting" | "submitted" | "settled" | "returned" | "failed";
9330
- /** @enum {string} */
9331
- releaseStatus: "not_started" | "queued" | "partial" | "completed" | "failed";
9332
- /** @enum {string} */
9333
- releaseDecisionMode: "after_settlement" | "early_full" | "early_partial";
9334
- releasedAmountUsd: string;
9335
- confirmedReleasedAmountUsd: string;
9336
- exposureAmountUsd: string;
9337
- /** Format: date-time */
9338
- authorizedAt: string;
9339
- /** Format: date-time */
9340
- createdAt: string;
9341
- settledAt: string | null;
9342
- returnedAt: string | null;
9343
- completedAt: string | null;
9344
- returnCode: string | null;
9345
- returnReason: string | null;
9346
- debitFailureCode: string | null;
9347
- debitFailureReason: string | null;
9348
- releaseFailureCode: string | null;
9349
- releaseFailureReason: string | null;
9350
- payoutTxHash: string | null;
9351
- };
9352
- };
9353
- };
9354
- /** @description Response for status 401 */
9355
- 401: {
9356
- headers: {
9357
- [name: string]: unknown;
9358
- };
9359
- content: {
9360
- "application/json": {
9361
- /**
9362
- * @description A URI reference that identifies the problem type
9363
- * @default about:blank
9364
- * @example urn:problem-type:auth:unauthorized
9365
- * @example urn:problem-type:auth:token-expired
9366
- */
9367
- type: string;
9368
- /**
9369
- * @description A short, human-readable summary of the problem type
9370
- * @example Unauthorized
9371
- * @example Token Expired
9372
- */
9373
- title: string;
9374
- /**
9375
- * @description The HTTP status code
9376
- * @example 401
9377
- * @example 403
9378
- */
9379
- status: number;
9380
- /**
9381
- * @description A human-readable explanation specific to this occurrence
9382
- * @example Bearer token required
9383
- * @example Invalid token
9384
- */
9385
- detail?: string;
9386
- /** @description A URI reference that identifies the specific occurrence */
9387
- instance?: string;
9388
- /**
9389
- * @description The authentication realm
9390
- * @example API
9391
- */
9392
- realm?: string;
9393
- /**
9394
- * @description The required scope for this resource
9395
- * @example read:users
9396
- * @example write:orders
9397
- */
9398
- scope?: string;
9399
- };
9400
- };
9401
- };
9402
- /** @description Response for status 404 */
9403
- 404: {
9404
- headers: {
9405
- [name: string]: unknown;
9406
- };
9407
- content: {
9408
- "application/json": {
9409
- /**
9410
- * @description A URI reference that identifies the problem type
9411
- * @default about:blank
9412
- */
9413
- type: string;
9414
- /** @description A short, human-readable summary of the problem type */
9415
- title: string;
9416
- /**
9417
- * @description The HTTP status code
9418
- * @example 404
9419
- */
9420
- status: number;
9421
- /** @description A human-readable explanation specific to this occurrence */
9422
- detail?: string;
9423
- /** @description A URI reference that identifies the specific occurrence */
9424
- instance?: string;
9425
- /**
9426
- * @description The type of resource that was not found
9427
- * @example user
9428
- * @example account
9429
- * @example transaction
9430
- */
9431
- resourceType: string;
9432
- /** @description The identifier of the resource that was not found */
9433
- resourceId: string;
9434
- };
9435
- };
9436
- };
9437
- /** @description Response for status 500 */
9438
- 500: {
9439
- headers: {
9440
- [name: string]: unknown;
9441
- };
9442
- content: {
9443
- "application/json": {
9444
- /**
9445
- * @description A URI reference that identifies the problem type
9446
- * @default about:blank
9447
- * @example urn:problem-type:auth:unauthorized
9448
- * @example urn:problem-type:system:internal-error
9449
- */
9450
- type: string;
9451
- /**
9452
- * @description A short, human-readable summary of the problem type
9453
- * @example Unauthorized
9454
- * @example Internal Server Error
9455
- */
9456
- title: string;
9457
- /**
9458
- * @description The HTTP status code
9459
- * @example 400
9460
- * @example 401
9461
- * @example 404
9462
- * @example 500
9463
- */
9464
- status: number;
9465
- /** @description A human-readable explanation specific to this occurrence */
9466
- detail?: string;
9467
- /**
9468
- * @description A URI reference that identifies the specific occurrence
9469
- * @example /errors/1234567890
9470
- */
9471
- instance?: string;
9472
- };
9473
- };
9474
- };
9475
- };
9476
- };
9477
- "postV1Bank-accountsLink-token": {
9478
- parameters: {
9479
- query?: never;
9480
- header?: never;
9481
- path?: never;
9482
- cookie?: never;
9483
- };
9484
- requestBody: {
9485
- content: {
9486
- "application/json": {
9487
- /**
9488
- * @description Plaid OAuth redirect target. For web, use a URL. For iOS, use a universal link. For Android, use the package name.
9489
- * @example https://app.example.com/plaid/oauth-return
9490
- * @example com.example.app
9491
- */
9492
- redirectUri?: string;
9493
- } | Record<string, never>;
9494
- "application/x-www-form-urlencoded": {
9495
- /**
9496
- * @description Plaid OAuth redirect target. For web, use a URL. For iOS, use a universal link. For Android, use the package name.
9497
- * @example https://app.example.com/plaid/oauth-return
9498
- * @example com.example.app
9499
- */
9500
- redirectUri?: string;
9501
- } | Record<string, never>;
9502
- "multipart/form-data": {
9503
- /**
9504
- * @description Plaid OAuth redirect target. For web, use a URL. For iOS, use a universal link. For Android, use the package name.
9505
- * @example https://app.example.com/plaid/oauth-return
9506
- * @example com.example.app
9507
- */
9508
- redirectUri?: string;
9509
- } | Record<string, never>;
9510
- };
9511
- };
9512
- responses: {
9513
- /** @description Response for status 200 */
9514
- 200: {
9515
- headers: {
9516
- [name: string]: unknown;
9517
- };
9518
- content: {
9519
- "application/json": {
9520
- /** @description Token to initialize Plaid Link SDK */
9521
- linkToken: string;
9522
- /** @description Plaid-hosted URL for bank linking. Open in browser or webview. Null if hosted link was not requested. */
9523
- hostedLinkUrl: string | null;
9524
- expiration: string;
9525
- requestId: string;
9526
- };
9527
- };
9528
- };
9529
- /** @description Response for status 401 */
9530
- 401: {
9531
- headers: {
9532
- [name: string]: unknown;
9533
- };
9534
- content: {
9535
- "application/json": {
9536
- /**
9537
- * @description A URI reference that identifies the problem type
9538
- * @default about:blank
9539
- * @example urn:problem-type:auth:unauthorized
9540
- * @example urn:problem-type:auth:token-expired
9541
- */
9542
- type: string;
9543
- /**
9544
- * @description A short, human-readable summary of the problem type
9545
- * @example Unauthorized
9546
- * @example Token Expired
9547
- */
9548
- title: string;
9549
- /**
9550
- * @description The HTTP status code
9551
- * @example 401
9552
- * @example 403
9553
- */
9554
- status: number;
9555
- /**
9556
- * @description A human-readable explanation specific to this occurrence
9557
- * @example Bearer token required
9558
- * @example Invalid token
9559
- */
9560
- detail?: string;
9561
- /** @description A URI reference that identifies the specific occurrence */
9562
- instance?: string;
9563
- /**
9564
- * @description The authentication realm
9565
- * @example API
9566
- */
9567
- realm?: string;
9568
- /**
9569
- * @description The required scope for this resource
9570
- * @example read:users
9571
- * @example write:orders
9572
- */
9573
- scope?: string;
9574
- };
9575
- };
9576
- };
9577
- /** @description Response for status 500 */
9578
- 500: {
9579
- headers: {
9580
- [name: string]: unknown;
9581
- };
9582
- content: {
9583
- "application/json": {
9584
- /**
9585
- * @description A URI reference that identifies the problem type
9586
- * @default about:blank
9587
- * @example urn:problem-type:auth:unauthorized
9588
- * @example urn:problem-type:system:internal-error
9589
- */
9590
- type: string;
9591
- /**
9592
- * @description A short, human-readable summary of the problem type
9593
- * @example Unauthorized
9594
- * @example Internal Server Error
9595
- */
9596
- title: string;
9597
- /**
9598
- * @description The HTTP status code
9599
- * @example 400
9600
- * @example 401
9601
- * @example 404
9602
- * @example 500
9603
- */
9604
- status: number;
9605
- /** @description A human-readable explanation specific to this occurrence */
9606
- detail?: string;
9607
- /**
9608
- * @description A URI reference that identifies the specific occurrence
9609
- * @example /errors/1234567890
9610
- */
9611
- instance?: string;
9612
- };
9613
- };
9614
- };
9615
- };
9616
- };
9617
- "postV1Bank-accountsLink-complete": {
9618
- parameters: {
9619
- query?: never;
9620
- header?: never;
9621
- path?: never;
9622
- cookie?: never;
9623
- };
9624
- requestBody: {
9625
- content: {
9626
- "application/json": {
9627
- /** @description Public token returned by Plaid Link on success */
9628
- publicToken: string;
9629
- /** @description IDs of the accounts the user selected in Plaid Link */
9630
- accountIds: string[];
9631
- institutionId?: string;
9632
- institutionName?: string;
8373
+ /** @description Public token returned by Plaid Link on success */
8374
+ publicToken: string;
8375
+ /** @description IDs of the accounts the user selected in Plaid Link */
8376
+ accountIds: string[];
8377
+ institutionId?: string;
8378
+ institutionName?: string;
9633
8379
  };
9634
8380
  "application/x-www-form-urlencoded": {
9635
8381
  /** @description Public token returned by Plaid Link on success */
@@ -12912,7 +11658,7 @@ interface operations {
12912
11658
  accessToken: string;
12913
11659
  /**
12914
11660
  * @description The internal ID of the authorized user
12915
- * @example 69fcc3849e56476d70fe62a4
11661
+ * @example 6a0d5f1bc3aa49d4f16d072b
12916
11662
  */
12917
11663
  userId: string;
12918
11664
  /**
@@ -12928,7 +11674,7 @@ interface operations {
12928
11674
  /**
12929
11675
  * Format: date-time
12930
11676
  * @description ISO 8601 timestamp when token expires
12931
- * @example 2026-05-07T17:53:24.550Z
11677
+ * @example 2026-05-20T08:13:31.080Z
12932
11678
  */
12933
11679
  expiresAt: string;
12934
11680
  };
@@ -13103,7 +11849,7 @@ interface operations {
13103
11849
  /**
13104
11850
  * Format: date-time
13105
11851
  * @description ISO 8601 timestamp of when the integrator was created
13106
- * @example 2026-05-07T16:53:24.550Z
11852
+ * @example 2026-05-20T07:13:31.080Z
13107
11853
  */
13108
11854
  createdAt: string;
13109
11855
  };
@@ -13274,7 +12020,7 @@ interface operations {
13274
12020
  depositId: string;
13275
12021
  /**
13276
12022
  * @description Spritz user ID associated with the returned deposit
13277
- * @example 69fcc3849e56476d70fe62a3
12023
+ * @example 6a0d5f1bc3aa49d4f16d072a
13278
12024
  */
13279
12025
  userId: string;
13280
12026
  /**
@@ -13462,7 +12208,7 @@ interface operations {
13462
12208
  depositId: string;
13463
12209
  /**
13464
12210
  * @description Spritz user ID associated with the returned deposit
13465
- * @example 69fcc3849e56476d70fe62a3
12211
+ * @example 6a0d5f1bc3aa49d4f16d072a
13466
12212
  */
13467
12213
  userId: string;
13468
12214
  /**
@@ -13631,7 +12377,7 @@ interface operations {
13631
12377
  "application/json": {
13632
12378
  /**
13633
12379
  * @description Unique identifier for the webhook
13634
- * @example 69fcc3849e56476d70fe62a5
12380
+ * @example 6a0d5f1bc3aa49d4f16d072c
13635
12381
  */
13636
12382
  id: string;
13637
12383
  /** @description List of event types this webhook is subscribed to */
@@ -13838,7 +12584,7 @@ interface operations {
13838
12584
  "application/json": {
13839
12585
  /**
13840
12586
  * @description Unique identifier for the webhook
13841
- * @example 69fcc3849e56476d70fe62a5
12587
+ * @example 6a0d5f1bc3aa49d4f16d072c
13842
12588
  */
13843
12589
  id: string;
13844
12590
  /** @description List of event types this webhook is subscribed to */
@@ -14174,7 +12920,7 @@ interface operations {
14174
12920
  "application/json": {
14175
12921
  /**
14176
12922
  * @description Unique identifier for the webhook
14177
- * @example 69fcc3849e56476d70fe62a5
12923
+ * @example 6a0d5f1bc3aa49d4f16d072c
14178
12924
  */
14179
12925
  id: string;
14180
12926
  /** @description List of event types this webhook is subscribed to */
@@ -14549,7 +13295,7 @@ interface operations {
14549
13295
  /**
14550
13296
  * Format: date-time
14551
13297
  * @description ISO 8601 timestamp when the old secret will expire. Only present if a grace period was specified.
14552
- * @example 2026-05-07T16:58:24.550Z
13298
+ * @example 2026-05-20T07:18:31.080Z
14553
13299
  */
14554
13300
  oldSecretExpiresAt?: string;
14555
13301
  };
@@ -14696,7 +13442,7 @@ interface operations {
14696
13442
  "application/json": {
14697
13443
  /**
14698
13444
  * @description Unique identifier for the user
14699
- * @example 69fcc3849e56476d70fe62a1
13445
+ * @example 6a0d5f1bc3aa49d4f16d0728
14700
13446
  */
14701
13447
  id: string;
14702
13448
  email: (string | null) | null;
@@ -14704,7 +13450,7 @@ interface operations {
14704
13450
  /**
14705
13451
  * Format: date-time
14706
13452
  * @description ISO 8601 timestamp of when the user was created
14707
- * @example 2026-05-07T16:53:24.483Z
13453
+ * @example 2026-05-20T07:13:31.075Z
14708
13454
  */
14709
13455
  signedUpAt: string;
14710
13456
  timezone: (string | null) | null;
@@ -15034,7 +13780,7 @@ interface operations {
15034
13780
  "application/json": {
15035
13781
  /**
15036
13782
  * @description Unique identifier for the user
15037
- * @example 69fcc3849e56476d70fe62a1
13783
+ * @example 6a0d5f1bc3aa49d4f16d0728
15038
13784
  */
15039
13785
  id: string;
15040
13786
  email: (string | null) | null;
@@ -15042,7 +13788,7 @@ interface operations {
15042
13788
  /**
15043
13789
  * Format: date-time
15044
13790
  * @description ISO 8601 timestamp of when the user was created
15045
- * @example 2026-05-07T16:53:24.483Z
13791
+ * @example 2026-05-20T07:13:31.075Z
15046
13792
  */
15047
13793
  signedUpAt: string;
15048
13794
  timezone: (string | null) | null;
@@ -15444,7 +14190,7 @@ interface operations {
15444
14190
  "application/json": {
15445
14191
  /**
15446
14192
  * @description Unique identifier for the user
15447
- * @example 69fcc3849e56476d70fe62a1
14193
+ * @example 6a0d5f1bc3aa49d4f16d0728
15448
14194
  */
15449
14195
  id: string;
15450
14196
  email: (string | null) | null;
@@ -15452,7 +14198,7 @@ interface operations {
15452
14198
  /**
15453
14199
  * Format: date-time
15454
14200
  * @description ISO 8601 timestamp of when the user was created
15455
- * @example 2026-05-07T16:53:24.483Z
14201
+ * @example 2026-05-20T07:13:31.075Z
15456
14202
  */
15457
14203
  signedUpAt: string;
15458
14204
  timezone: (string | null) | null;
@@ -19596,181 +18342,20 @@ interface operations {
19596
18342
  };
19597
18343
  responses: {
19598
18344
  /** @description Email-start commit response. The OTP has been dispatched. */
19599
- 202: {
19600
- headers: {
19601
- [name: string]: unknown;
19602
- };
19603
- content: {
19604
- "application/json": {
19605
- data: {
19606
- /**
19607
- * Format: email
19608
- * @description Email the OTP was sent to.
19609
- */
19610
- email: string;
19611
- /** @description OTP identifier to pass back to the add-auth-method prepare call along with the OTP. */
19612
- otpId: string;
19613
- };
19614
- };
19615
- };
19616
- };
19617
- /** @description Response for status 401 */
19618
- 401: {
19619
- headers: {
19620
- [name: string]: unknown;
19621
- };
19622
- content: {
19623
- "application/json": {
19624
- /**
19625
- * @description A URI reference that identifies the problem type
19626
- * @default about:blank
19627
- * @example urn:problem-type:auth:unauthorized
19628
- * @example urn:problem-type:auth:token-expired
19629
- */
19630
- type: string;
19631
- /**
19632
- * @description A short, human-readable summary of the problem type
19633
- * @example Unauthorized
19634
- * @example Token Expired
19635
- */
19636
- title: string;
19637
- /**
19638
- * @description The HTTP status code
19639
- * @example 401
19640
- * @example 403
19641
- */
19642
- status: number;
19643
- /**
19644
- * @description A human-readable explanation specific to this occurrence
19645
- * @example Bearer token required
19646
- * @example Invalid token
19647
- */
19648
- detail?: string;
19649
- /** @description A URI reference that identifies the specific occurrence */
19650
- instance?: string;
19651
- /**
19652
- * @description The authentication realm
19653
- * @example API
19654
- */
19655
- realm?: string;
19656
- /**
19657
- * @description The required scope for this resource
19658
- * @example read:users
19659
- * @example write:orders
19660
- */
19661
- scope?: string;
19662
- };
19663
- };
19664
- };
19665
- /** @description Response for status 409 */
19666
- 409: {
19667
- headers: {
19668
- [name: string]: unknown;
19669
- };
19670
- content: {
19671
- "application/json": {
19672
- /**
19673
- * @description A URI reference that identifies the problem type
19674
- * @default about:blank
19675
- * @example urn:problem-type:auth:unauthorized
19676
- * @example urn:problem-type:system:internal-error
19677
- */
19678
- type: string;
19679
- /**
19680
- * @description A short, human-readable summary of the problem type
19681
- * @example Unauthorized
19682
- * @example Internal Server Error
19683
- */
19684
- title: string;
19685
- /**
19686
- * @description The HTTP status code
19687
- * @example 400
19688
- * @example 401
19689
- * @example 404
19690
- * @example 500
19691
- */
19692
- status: number;
19693
- /** @description A human-readable explanation specific to this occurrence */
19694
- detail?: string;
19695
- /**
19696
- * @description A URI reference that identifies the specific occurrence
19697
- * @example /errors/1234567890
19698
- */
19699
- instance?: string;
19700
- };
19701
- };
19702
- };
19703
- /** @description Response for status 500 */
19704
- 500: {
19705
- headers: {
19706
- [name: string]: unknown;
19707
- };
19708
- content: {
19709
- "application/json": {
19710
- /**
19711
- * @description A URI reference that identifies the problem type
19712
- * @default about:blank
19713
- * @example urn:problem-type:auth:unauthorized
19714
- * @example urn:problem-type:system:internal-error
19715
- */
19716
- type: string;
19717
- /**
19718
- * @description A short, human-readable summary of the problem type
19719
- * @example Unauthorized
19720
- * @example Internal Server Error
19721
- */
19722
- title: string;
19723
- /**
19724
- * @description The HTTP status code
19725
- * @example 400
19726
- * @example 401
19727
- * @example 404
19728
- * @example 500
19729
- */
19730
- status: number;
19731
- /** @description A human-readable explanation specific to this occurrence */
19732
- detail?: string;
19733
- /**
19734
- * @description A URI reference that identifies the specific occurrence
19735
- * @example /errors/1234567890
19736
- */
19737
- instance?: string;
19738
- };
19739
- };
19740
- };
19741
- };
19742
- };
19743
- "postV1Wallet-kitAuth-methodsByIdIntents": {
19744
- parameters: {
19745
- query?: never;
19746
- header?: never;
19747
- path: {
19748
- id: string;
19749
- };
19750
- cookie?: never;
19751
- };
19752
- requestBody?: never;
19753
- responses: {
19754
- /** @description Prepared remove activity. Stamp `intent.activityBody` and submit via DELETE with the same `intentId`. */
19755
- 200: {
18345
+ 202: {
19756
18346
  headers: {
19757
18347
  [name: string]: unknown;
19758
18348
  };
19759
18349
  content: {
19760
18350
  "application/json": {
19761
- /** @description Prepared activity that the embedded wallet must stamp before commit. */
19762
- intent: {
19763
- /** @description Single-use intent identifier returned by prepare. Pass back to commit alongside the user's stamp. TTL is 60 seconds. */
19764
- intentId: string;
19765
- /** @description Turnkey activity body bytes for the wallet to stamp. Sign with the user's WebAuthn authenticator and submit the stamp via the matching commit endpoint. */
19766
- activityBody: string;
19767
- /** @description Unix-millisecond timestamp the activity body was issued at. Pass through verbatim when stamping. */
19768
- timestampMs: string;
18351
+ data: {
19769
18352
  /**
19770
- * Format: date-time
19771
- * @description ISO 8601 timestamp at which the prepared intent expires (60s after issue).
18353
+ * Format: email
18354
+ * @description Email the OTP was sent to.
19772
18355
  */
19773
- expiresAt: string;
18356
+ email: string;
18357
+ /** @description OTP identifier to pass back to the add-auth-method prepare call along with the OTP. */
18358
+ otpId: string;
19774
18359
  };
19775
18360
  };
19776
18361
  };
@@ -19823,44 +18408,6 @@ interface operations {
19823
18408
  };
19824
18409
  };
19825
18410
  };
19826
- /** @description Response for status 404 */
19827
- 404: {
19828
- headers: {
19829
- [name: string]: unknown;
19830
- };
19831
- content: {
19832
- "application/json": {
19833
- /**
19834
- * @description A URI reference that identifies the problem type
19835
- * @default about:blank
19836
- * @example urn:problem-type:auth:unauthorized
19837
- * @example urn:problem-type:system:internal-error
19838
- */
19839
- type: string;
19840
- /**
19841
- * @description A short, human-readable summary of the problem type
19842
- * @example Unauthorized
19843
- * @example Internal Server Error
19844
- */
19845
- title: string;
19846
- /**
19847
- * @description The HTTP status code
19848
- * @example 400
19849
- * @example 401
19850
- * @example 404
19851
- * @example 500
19852
- */
19853
- status: number;
19854
- /** @description A human-readable explanation specific to this occurrence */
19855
- detail?: string;
19856
- /**
19857
- * @description A URI reference that identifies the specific occurrence
19858
- * @example /errors/1234567890
19859
- */
19860
- instance?: string;
19861
- };
19862
- };
19863
- };
19864
18411
  /** @description Response for status 409 */
19865
18412
  409: {
19866
18413
  headers: {
@@ -19939,7 +18486,7 @@ interface operations {
19939
18486
  };
19940
18487
  };
19941
18488
  };
19942
- "deleteV1Wallet-kitAuth-methodsById": {
18489
+ "postV1Wallet-kitAuth-methodsByIdIntents": {
19943
18490
  parameters: {
19944
18491
  query?: never;
19945
18492
  header?: never;
@@ -19948,37 +18495,30 @@ interface operations {
19948
18495
  };
19949
18496
  cookie?: never;
19950
18497
  };
19951
- /** @description Commit body for any prepared auth-method activity (add, email-start, remove). */
19952
- requestBody: {
19953
- content: {
19954
- "application/json": {
19955
- /** @description Intent identifier returned by the matching prepare call. */
19956
- intentId: string;
19957
- /** @description Turnkey stamp produced by signing the prepared `activityBody` with the user's WebAuthn authenticator. */
19958
- stamp: string;
19959
- };
19960
- "application/x-www-form-urlencoded": {
19961
- /** @description Intent identifier returned by the matching prepare call. */
19962
- intentId: string;
19963
- /** @description Turnkey stamp produced by signing the prepared `activityBody` with the user's WebAuthn authenticator. */
19964
- stamp: string;
19965
- };
19966
- "multipart/form-data": {
19967
- /** @description Intent identifier returned by the matching prepare call. */
19968
- intentId: string;
19969
- /** @description Turnkey stamp produced by signing the prepared `activityBody` with the user's WebAuthn authenticator. */
19970
- stamp: string;
19971
- };
19972
- };
19973
- };
18498
+ requestBody?: never;
19974
18499
  responses: {
19975
- /** @description Response for status 204 */
19976
- 204: {
18500
+ /** @description Prepared remove activity. Stamp `intent.activityBody` and submit via DELETE with the same `intentId`. */
18501
+ 200: {
19977
18502
  headers: {
19978
18503
  [name: string]: unknown;
19979
18504
  };
19980
18505
  content: {
19981
- type: unknown;
18506
+ "application/json": {
18507
+ /** @description Prepared activity that the embedded wallet must stamp before commit. */
18508
+ intent: {
18509
+ /** @description Single-use intent identifier returned by prepare. Pass back to commit alongside the user's stamp. TTL is 60 seconds. */
18510
+ intentId: string;
18511
+ /** @description Turnkey activity body bytes for the wallet to stamp. Sign with the user's WebAuthn authenticator and submit the stamp via the matching commit endpoint. */
18512
+ activityBody: string;
18513
+ /** @description Unix-millisecond timestamp the activity body was issued at. Pass through verbatim when stamping. */
18514
+ timestampMs: string;
18515
+ /**
18516
+ * Format: date-time
18517
+ * @description ISO 8601 timestamp at which the prepared intent expires (60s after issue).
18518
+ */
18519
+ expiresAt: string;
18520
+ };
18521
+ };
19982
18522
  };
19983
18523
  };
19984
18524
  /** @description Response for status 401 */
@@ -20145,141 +18685,46 @@ interface operations {
20145
18685
  };
20146
18686
  };
20147
18687
  };
20148
- "getV1Wallet-kitYieldSolanaKaminoVaults": {
18688
+ "deleteV1Wallet-kitAuth-methodsById": {
20149
18689
  parameters: {
20150
- query?: {
20151
- asset?: "USDC";
20152
- includeUnlisted?: "true" | "false";
20153
- };
18690
+ query?: never;
20154
18691
  header?: never;
20155
- path?: never;
18692
+ path: {
18693
+ id: string;
18694
+ };
20156
18695
  cookie?: never;
20157
18696
  };
20158
- requestBody?: never;
20159
- responses: {
20160
- /** @description Paginated Kamino yield vault list. */
20161
- 200: {
20162
- headers: {
20163
- [name: string]: unknown;
18697
+ /** @description Commit body for any prepared auth-method activity (add, email-start, remove). */
18698
+ requestBody: {
18699
+ content: {
18700
+ "application/json": {
18701
+ /** @description Intent identifier returned by the matching prepare call. */
18702
+ intentId: string;
18703
+ /** @description Turnkey stamp produced by signing the prepared `activityBody` with the user's WebAuthn authenticator. */
18704
+ stamp: string;
20164
18705
  };
20165
- content: {
20166
- "application/json": {
20167
- data: {
20168
- /** @description Kamino vault identifier. */
20169
- id: string;
20170
- /** @constant */
20171
- protocol: "kamino";
20172
- /** @constant */
20173
- chain: "solana";
20174
- name: string;
20175
- isListed: boolean;
20176
- depositToken: {
20177
- /** @enum {string} */
20178
- symbol: "USDC" | "UNKNOWN";
20179
- mint: string;
20180
- decimals: string | number;
20181
- };
20182
- receiptToken: {
20183
- mint: string;
20184
- decimals: string | number;
20185
- };
20186
- apy: {
20187
- current: string | null;
20188
- actual: string | null;
20189
- theoretical: string | null;
20190
- apy24h: string | null;
20191
- apy7d: string | null;
20192
- apy30d: string | null;
20193
- apy90d: string | null;
20194
- apy180d: string | null;
20195
- apy365d: string | null;
20196
- farmRewards: string | null;
20197
- incentives: string | null;
20198
- reservesIncentives: string | null;
20199
- };
20200
- tvl: {
20201
- tokenAmount: string | null;
20202
- usdAmount: string | null;
20203
- };
20204
- liquidity: {
20205
- availableTokenAmount: string | null;
20206
- investedTokenAmount: string | null;
20207
- };
20208
- sharePrice: string | null;
20209
- tokensPerShare: string | null;
20210
- numberOfHolders: (string | number) | null;
20211
- fees: {
20212
- performanceFeeBps: string | number;
20213
- managementFeeBps: string | number;
20214
- withdrawalPenaltyBps: string | number;
20215
- };
20216
- limits: {
20217
- minDepositAmount: string;
20218
- minWithdrawAmount: string;
20219
- };
20220
- risk: {
20221
- /** @enum {string} */
20222
- level: "low" | "medium" | "high" | "unknown";
20223
- labels: string[];
20224
- whitelistedReservesOnly: boolean;
20225
- whitelistedInvestOnly: boolean;
20226
- hasFirstLossCapitalFarm: boolean;
20227
- firstLossCapitalFarm: string | null;
20228
- };
20229
- allocations: {
20230
- reserve: string;
20231
- marketName: string | null;
20232
- supplyApy: string | null;
20233
- totalSupplyUsd: string | null;
20234
- maxLtv: string | null;
20235
- }[];
20236
- }[];
20237
- /**
20238
- * @description Whether more results are available. Always false today.
20239
- * @example false
20240
- */
20241
- hasMore: boolean;
20242
- /** @description Opaque pagination cursor. Always null today. */
20243
- nextCursor: string | null;
20244
- };
18706
+ "application/x-www-form-urlencoded": {
18707
+ /** @description Intent identifier returned by the matching prepare call. */
18708
+ intentId: string;
18709
+ /** @description Turnkey stamp produced by signing the prepared `activityBody` with the user's WebAuthn authenticator. */
18710
+ stamp: string;
20245
18711
  };
20246
- };
20247
- /** @description Response for status 400 */
20248
- 400: {
20249
- headers: {
20250
- [name: string]: unknown;
18712
+ "multipart/form-data": {
18713
+ /** @description Intent identifier returned by the matching prepare call. */
18714
+ intentId: string;
18715
+ /** @description Turnkey stamp produced by signing the prepared `activityBody` with the user's WebAuthn authenticator. */
18716
+ stamp: string;
20251
18717
  };
20252
- content: {
20253
- "application/json": {
20254
- /**
20255
- * @description A URI reference that identifies the problem type
20256
- * @default about:blank
20257
- * @example urn:problem-type:auth:unauthorized
20258
- * @example urn:problem-type:system:internal-error
20259
- */
20260
- type: string;
20261
- /**
20262
- * @description A short, human-readable summary of the problem type
20263
- * @example Unauthorized
20264
- * @example Internal Server Error
20265
- */
20266
- title: string;
20267
- /**
20268
- * @description The HTTP status code
20269
- * @example 400
20270
- * @example 401
20271
- * @example 404
20272
- * @example 500
20273
- */
20274
- status: number;
20275
- /** @description A human-readable explanation specific to this occurrence */
20276
- detail?: string;
20277
- /**
20278
- * @description A URI reference that identifies the specific occurrence
20279
- * @example /errors/1234567890
20280
- */
20281
- instance?: string;
20282
- };
18718
+ };
18719
+ };
18720
+ responses: {
18721
+ /** @description Response for status 204 */
18722
+ 204: {
18723
+ headers: {
18724
+ [name: string]: unknown;
18725
+ };
18726
+ content: {
18727
+ type: unknown;
20283
18728
  };
20284
18729
  };
20285
18730
  /** @description Response for status 401 */
@@ -20330,8 +18775,8 @@ interface operations {
20330
18775
  };
20331
18776
  };
20332
18777
  };
20333
- /** @description Response for status 500 */
20334
- 500: {
18778
+ /** @description Response for status 404 */
18779
+ 404: {
20335
18780
  headers: {
20336
18781
  [name: string]: unknown;
20337
18782
  };
@@ -20368,8 +18813,46 @@ interface operations {
20368
18813
  };
20369
18814
  };
20370
18815
  };
20371
- /** @description Response for status 502 */
20372
- 502: {
18816
+ /** @description Response for status 409 */
18817
+ 409: {
18818
+ headers: {
18819
+ [name: string]: unknown;
18820
+ };
18821
+ content: {
18822
+ "application/json": {
18823
+ /**
18824
+ * @description A URI reference that identifies the problem type
18825
+ * @default about:blank
18826
+ * @example urn:problem-type:auth:unauthorized
18827
+ * @example urn:problem-type:system:internal-error
18828
+ */
18829
+ type: string;
18830
+ /**
18831
+ * @description A short, human-readable summary of the problem type
18832
+ * @example Unauthorized
18833
+ * @example Internal Server Error
18834
+ */
18835
+ title: string;
18836
+ /**
18837
+ * @description The HTTP status code
18838
+ * @example 400
18839
+ * @example 401
18840
+ * @example 404
18841
+ * @example 500
18842
+ */
18843
+ status: number;
18844
+ /** @description A human-readable explanation specific to this occurrence */
18845
+ detail?: string;
18846
+ /**
18847
+ * @description A URI reference that identifies the specific occurrence
18848
+ * @example /errors/1234567890
18849
+ */
18850
+ instance?: string;
18851
+ };
18852
+ };
18853
+ };
18854
+ /** @description Response for status 500 */
18855
+ 500: {
20373
18856
  headers: {
20374
18857
  [name: string]: unknown;
20375
18858
  };
@@ -20408,95 +18891,102 @@ interface operations {
20408
18891
  };
20409
18892
  };
20410
18893
  };
20411
- "getV1Wallet-kitYieldSolanaKaminoVaultsByVaultId": {
18894
+ "getV1Wallet-kitYieldSolanaKaminoVaults": {
20412
18895
  parameters: {
20413
18896
  query?: {
20414
18897
  asset?: "USDC";
20415
18898
  includeUnlisted?: "true" | "false";
20416
18899
  };
20417
18900
  header?: never;
20418
- path: {
20419
- vaultId: string;
20420
- };
18901
+ path?: never;
20421
18902
  cookie?: never;
20422
18903
  };
20423
18904
  requestBody?: never;
20424
18905
  responses: {
20425
- /** @description Kamino yield vault available through Wallet Kit. */
18906
+ /** @description Paginated Kamino yield vault list. */
20426
18907
  200: {
20427
18908
  headers: {
20428
18909
  [name: string]: unknown;
20429
18910
  };
20430
18911
  content: {
20431
18912
  "application/json": {
20432
- /** @description Kamino vault identifier. */
20433
- id: string;
20434
- /** @constant */
20435
- protocol: "kamino";
20436
- /** @constant */
20437
- chain: "solana";
20438
- name: string;
20439
- isListed: boolean;
20440
- depositToken: {
20441
- /** @enum {string} */
20442
- symbol: "USDC" | "UNKNOWN";
20443
- mint: string;
20444
- decimals: string | number;
20445
- };
20446
- receiptToken: {
20447
- mint: string;
20448
- decimals: string | number;
20449
- };
20450
- apy: {
20451
- current: string | null;
20452
- actual: string | null;
20453
- theoretical: string | null;
20454
- apy24h: string | null;
20455
- apy7d: string | null;
20456
- apy30d: string | null;
20457
- apy90d: string | null;
20458
- apy180d: string | null;
20459
- apy365d: string | null;
20460
- farmRewards: string | null;
20461
- incentives: string | null;
20462
- reservesIncentives: string | null;
20463
- };
20464
- tvl: {
20465
- tokenAmount: string | null;
20466
- usdAmount: string | null;
20467
- };
20468
- liquidity: {
20469
- availableTokenAmount: string | null;
20470
- investedTokenAmount: string | null;
20471
- };
20472
- sharePrice: string | null;
20473
- tokensPerShare: string | null;
20474
- numberOfHolders: (string | number) | null;
20475
- fees: {
20476
- performanceFeeBps: string | number;
20477
- managementFeeBps: string | number;
20478
- withdrawalPenaltyBps: string | number;
20479
- };
20480
- limits: {
20481
- minDepositAmount: string;
20482
- minWithdrawAmount: string;
20483
- };
20484
- risk: {
20485
- /** @enum {string} */
20486
- level: "low" | "medium" | "high" | "unknown";
20487
- labels: string[];
20488
- whitelistedReservesOnly: boolean;
20489
- whitelistedInvestOnly: boolean;
20490
- hasFirstLossCapitalFarm: boolean;
20491
- firstLossCapitalFarm: string | null;
20492
- };
20493
- allocations: {
20494
- reserve: string;
20495
- marketName: string | null;
20496
- supplyApy: string | null;
20497
- totalSupplyUsd: string | null;
20498
- maxLtv: string | null;
18913
+ data: {
18914
+ /** @description Kamino vault identifier. */
18915
+ id: string;
18916
+ /** @constant */
18917
+ protocol: "kamino";
18918
+ /** @constant */
18919
+ chain: "solana";
18920
+ name: string;
18921
+ isListed: boolean;
18922
+ depositToken: {
18923
+ /** @enum {string} */
18924
+ symbol: "USDC" | "UNKNOWN";
18925
+ mint: string;
18926
+ decimals: string | number;
18927
+ };
18928
+ receiptToken: {
18929
+ mint: string;
18930
+ decimals: string | number;
18931
+ };
18932
+ apy: {
18933
+ current: string | null;
18934
+ actual: string | null;
18935
+ theoretical: string | null;
18936
+ apy24h: string | null;
18937
+ apy7d: string | null;
18938
+ apy30d: string | null;
18939
+ apy90d: string | null;
18940
+ apy180d: string | null;
18941
+ apy365d: string | null;
18942
+ farmRewards: string | null;
18943
+ incentives: string | null;
18944
+ reservesIncentives: string | null;
18945
+ };
18946
+ tvl: {
18947
+ tokenAmount: string | null;
18948
+ usdAmount: string | null;
18949
+ };
18950
+ liquidity: {
18951
+ availableTokenAmount: string | null;
18952
+ investedTokenAmount: string | null;
18953
+ };
18954
+ sharePrice: string | null;
18955
+ tokensPerShare: string | null;
18956
+ numberOfHolders: (string | number) | null;
18957
+ fees: {
18958
+ performanceFeeBps: string | number;
18959
+ managementFeeBps: string | number;
18960
+ withdrawalPenaltyBps: string | number;
18961
+ };
18962
+ limits: {
18963
+ minDepositAmount: string;
18964
+ minWithdrawAmount: string;
18965
+ };
18966
+ risk: {
18967
+ /** @enum {string} */
18968
+ level: "low" | "medium" | "high" | "unknown";
18969
+ labels: string[];
18970
+ whitelistedReservesOnly: boolean;
18971
+ whitelistedInvestOnly: boolean;
18972
+ hasFirstLossCapitalFarm: boolean;
18973
+ firstLossCapitalFarm: string | null;
18974
+ };
18975
+ allocations: {
18976
+ reserve: string;
18977
+ marketName: string | null;
18978
+ supplyApy: string | null;
18979
+ totalSupplyUsd: string | null;
18980
+ maxLtv: string | null;
18981
+ }[];
20499
18982
  }[];
18983
+ /**
18984
+ * @description Whether more results are available. Always false today.
18985
+ * @example false
18986
+ */
18987
+ hasMore: boolean;
18988
+ /** @description Opaque pagination cursor. Always null today. */
18989
+ nextCursor: string | null;
20500
18990
  };
20501
18991
  };
20502
18992
  };
@@ -20561,66 +19051,28 @@ interface operations {
20561
19051
  /**
20562
19052
  * @description The HTTP status code
20563
19053
  * @example 401
20564
- * @example 403
20565
- */
20566
- status: number;
20567
- /**
20568
- * @description A human-readable explanation specific to this occurrence
20569
- * @example Bearer token required
20570
- * @example Invalid token
20571
- */
20572
- detail?: string;
20573
- /** @description A URI reference that identifies the specific occurrence */
20574
- instance?: string;
20575
- /**
20576
- * @description The authentication realm
20577
- * @example API
20578
- */
20579
- realm?: string;
20580
- /**
20581
- * @description The required scope for this resource
20582
- * @example read:users
20583
- * @example write:orders
20584
- */
20585
- scope?: string;
20586
- };
20587
- };
20588
- };
20589
- /** @description Response for status 404 */
20590
- 404: {
20591
- headers: {
20592
- [name: string]: unknown;
20593
- };
20594
- content: {
20595
- "application/json": {
20596
- /**
20597
- * @description A URI reference that identifies the problem type
20598
- * @default about:blank
20599
- * @example urn:problem-type:auth:unauthorized
20600
- * @example urn:problem-type:system:internal-error
20601
- */
20602
- type: string;
20603
- /**
20604
- * @description A short, human-readable summary of the problem type
20605
- * @example Unauthorized
20606
- * @example Internal Server Error
20607
- */
20608
- title: string;
20609
- /**
20610
- * @description The HTTP status code
20611
- * @example 400
20612
- * @example 401
20613
- * @example 404
20614
- * @example 500
19054
+ * @example 403
20615
19055
  */
20616
19056
  status: number;
20617
- /** @description A human-readable explanation specific to this occurrence */
20618
- detail?: string;
20619
19057
  /**
20620
- * @description A URI reference that identifies the specific occurrence
20621
- * @example /errors/1234567890
19058
+ * @description A human-readable explanation specific to this occurrence
19059
+ * @example Bearer token required
19060
+ * @example Invalid token
20622
19061
  */
19062
+ detail?: string;
19063
+ /** @description A URI reference that identifies the specific occurrence */
20623
19064
  instance?: string;
19065
+ /**
19066
+ * @description The authentication realm
19067
+ * @example API
19068
+ */
19069
+ realm?: string;
19070
+ /**
19071
+ * @description The required scope for this resource
19072
+ * @example read:users
19073
+ * @example write:orders
19074
+ */
19075
+ scope?: string;
20624
19076
  };
20625
19077
  };
20626
19078
  };
@@ -20702,11 +19154,11 @@ interface operations {
20702
19154
  };
20703
19155
  };
20704
19156
  };
20705
- "getV1Wallet-kitYieldSolanaKaminoVaultsByVaultIdHistory": {
19157
+ "getV1Wallet-kitYieldSolanaKaminoVaultsByVaultId": {
20706
19158
  parameters: {
20707
19159
  query?: {
20708
- start?: string;
20709
- end?: string;
19160
+ asset?: "USDC";
19161
+ includeUnlisted?: "true" | "false";
20710
19162
  };
20711
19163
  header?: never;
20712
19164
  path: {
@@ -20716,30 +19168,81 @@ interface operations {
20716
19168
  };
20717
19169
  requestBody?: never;
20718
19170
  responses: {
20719
- /** @description Paginated Kamino yield history. */
19171
+ /** @description Kamino yield vault available through Wallet Kit. */
20720
19172
  200: {
20721
19173
  headers: {
20722
19174
  [name: string]: unknown;
20723
19175
  };
20724
19176
  content: {
20725
19177
  "application/json": {
20726
- data: {
20727
- createdAt: string | null;
20728
- tvlUsd: string | null;
20729
- apy: string | null;
20730
- cumulativeInterestEarnedUsd: string | null;
20731
- /** @description Raw provider payload retained for diagnostics. */
20732
- raw: {
20733
- [key: string]: unknown;
20734
- };
19178
+ /** @description Kamino vault identifier. */
19179
+ id: string;
19180
+ /** @constant */
19181
+ protocol: "kamino";
19182
+ /** @constant */
19183
+ chain: "solana";
19184
+ name: string;
19185
+ isListed: boolean;
19186
+ depositToken: {
19187
+ /** @enum {string} */
19188
+ symbol: "USDC" | "UNKNOWN";
19189
+ mint: string;
19190
+ decimals: string | number;
19191
+ };
19192
+ receiptToken: {
19193
+ mint: string;
19194
+ decimals: string | number;
19195
+ };
19196
+ apy: {
19197
+ current: string | null;
19198
+ actual: string | null;
19199
+ theoretical: string | null;
19200
+ apy24h: string | null;
19201
+ apy7d: string | null;
19202
+ apy30d: string | null;
19203
+ apy90d: string | null;
19204
+ apy180d: string | null;
19205
+ apy365d: string | null;
19206
+ farmRewards: string | null;
19207
+ incentives: string | null;
19208
+ reservesIncentives: string | null;
19209
+ };
19210
+ tvl: {
19211
+ tokenAmount: string | null;
19212
+ usdAmount: string | null;
19213
+ };
19214
+ liquidity: {
19215
+ availableTokenAmount: string | null;
19216
+ investedTokenAmount: string | null;
19217
+ };
19218
+ sharePrice: string | null;
19219
+ tokensPerShare: string | null;
19220
+ numberOfHolders: (string | number) | null;
19221
+ fees: {
19222
+ performanceFeeBps: string | number;
19223
+ managementFeeBps: string | number;
19224
+ withdrawalPenaltyBps: string | number;
19225
+ };
19226
+ limits: {
19227
+ minDepositAmount: string;
19228
+ minWithdrawAmount: string;
19229
+ };
19230
+ risk: {
19231
+ /** @enum {string} */
19232
+ level: "low" | "medium" | "high" | "unknown";
19233
+ labels: string[];
19234
+ whitelistedReservesOnly: boolean;
19235
+ whitelistedInvestOnly: boolean;
19236
+ hasFirstLossCapitalFarm: boolean;
19237
+ firstLossCapitalFarm: string | null;
19238
+ };
19239
+ allocations: {
19240
+ reserve: string;
19241
+ marketName: string | null;
19242
+ supplyApy: string | null;
19243
+ totalSupplyUsd: string | null;
19244
+ maxLtv: string | null;
20735
19245
  }[];
20736
- /**
20737
- * @description Whether more results are available. Always false today.
20738
- * @example false
20739
- */
20740
- hasMore: boolean;
20741
- /** @description Opaque pagination cursor. Always null today. */
20742
- nextCursor: string | null;
20743
19246
  };
20744
19247
  };
20745
19248
  };
@@ -20945,20 +19448,21 @@ interface operations {
20945
19448
  };
20946
19449
  };
20947
19450
  };
20948
- "getV1Wallet-kitYieldSolanaKaminoPositions": {
19451
+ "getV1Wallet-kitYieldSolanaKaminoVaultsByVaultIdHistory": {
20949
19452
  parameters: {
20950
- query: {
20951
- walletAddress: string;
20952
- asset?: "USDC";
20953
- includeUnlisted?: "true" | "false";
19453
+ query?: {
19454
+ start?: string;
19455
+ end?: string;
20954
19456
  };
20955
19457
  header?: never;
20956
- path?: never;
19458
+ path: {
19459
+ vaultId: string;
19460
+ };
20957
19461
  cookie?: never;
20958
19462
  };
20959
19463
  requestBody?: never;
20960
19464
  responses: {
20961
- /** @description Paginated Kamino yield positions. */
19465
+ /** @description Paginated Kamino yield history. */
20962
19466
  200: {
20963
19467
  headers: {
20964
19468
  [name: string]: unknown;
@@ -20966,30 +19470,10 @@ interface operations {
20966
19470
  content: {
20967
19471
  "application/json": {
20968
19472
  data: {
20969
- vaultId: string;
20970
- /**
20971
- * @description Solana public key (base58).
20972
- * @example 8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj
20973
- */
20974
- walletAddress: string;
20975
- vaultName: string | null;
20976
- depositToken: {
20977
- /** @enum {string} */
20978
- symbol: "USDC" | "UNKNOWN";
20979
- mint: string | null;
20980
- decimals: (string | number) | null;
20981
- };
20982
- shares: {
20983
- staked: string;
20984
- unstaked: string;
20985
- total: string;
20986
- };
20987
- value: {
20988
- tokenAmount: string | null;
20989
- usdAmount: string | null;
20990
- };
20991
- sharePrice: string | null;
20992
- tokensPerShare: string | null;
19473
+ createdAt: string | null;
19474
+ tvlUsd: string | null;
19475
+ apy: string | null;
19476
+ cumulativeInterestEarnedUsd: string | null;
20993
19477
  /** @description Raw provider payload retained for diagnostics. */
20994
19478
  raw: {
20995
19479
  [key: string]: unknown;
@@ -21091,6 +19575,44 @@ interface operations {
21091
19575
  };
21092
19576
  };
21093
19577
  };
19578
+ /** @description Response for status 404 */
19579
+ 404: {
19580
+ headers: {
19581
+ [name: string]: unknown;
19582
+ };
19583
+ content: {
19584
+ "application/json": {
19585
+ /**
19586
+ * @description A URI reference that identifies the problem type
19587
+ * @default about:blank
19588
+ * @example urn:problem-type:auth:unauthorized
19589
+ * @example urn:problem-type:system:internal-error
19590
+ */
19591
+ type: string;
19592
+ /**
19593
+ * @description A short, human-readable summary of the problem type
19594
+ * @example Unauthorized
19595
+ * @example Internal Server Error
19596
+ */
19597
+ title: string;
19598
+ /**
19599
+ * @description The HTTP status code
19600
+ * @example 400
19601
+ * @example 401
19602
+ * @example 404
19603
+ * @example 500
19604
+ */
19605
+ status: number;
19606
+ /** @description A human-readable explanation specific to this occurrence */
19607
+ detail?: string;
19608
+ /**
19609
+ * @description A URI reference that identifies the specific occurrence
19610
+ * @example /errors/1234567890
19611
+ */
19612
+ instance?: string;
19613
+ };
19614
+ };
19615
+ };
21094
19616
  /** @description Response for status 500 */
21095
19617
  500: {
21096
19618
  headers: {
@@ -21169,27 +19691,26 @@ interface operations {
21169
19691
  };
21170
19692
  };
21171
19693
  };
21172
- "getV1Wallet-kitYieldSolanaKaminoPositionsByVaultId": {
19694
+ "getV1Wallet-kitYieldSolanaKaminoPositions": {
21173
19695
  parameters: {
21174
19696
  query: {
21175
19697
  walletAddress: string;
19698
+ asset?: "USDC";
19699
+ includeUnlisted?: "true" | "false";
21176
19700
  };
21177
19701
  header?: never;
21178
- path: {
21179
- vaultId: string;
21180
- };
19702
+ path?: never;
21181
19703
  cookie?: never;
21182
19704
  };
21183
19705
  requestBody?: never;
21184
19706
  responses: {
21185
- /** @description Kamino yield position lookup response. */
19707
+ /** @description Paginated Kamino yield positions. */
21186
19708
  200: {
21187
19709
  headers: {
21188
19710
  [name: string]: unknown;
21189
19711
  };
21190
19712
  content: {
21191
19713
  "application/json": {
21192
- /** @description Kamino yield position, or null when Kamino reports no position. */
21193
19714
  data: {
21194
19715
  vaultId: string;
21195
19716
  /**
@@ -21199,6 +19720,7 @@ interface operations {
21199
19720
  walletAddress: string;
21200
19721
  vaultName: string | null;
21201
19722
  depositToken: {
19723
+ /** @enum {string} */
21202
19724
  symbol: "USDC" | "UNKNOWN";
21203
19725
  mint: string | null;
21204
19726
  decimals: (string | number) | null;
@@ -21218,7 +19740,14 @@ interface operations {
21218
19740
  raw: {
21219
19741
  [key: string]: unknown;
21220
19742
  };
21221
- } | null;
19743
+ }[];
19744
+ /**
19745
+ * @description Whether more results are available. Always false today.
19746
+ * @example false
19747
+ */
19748
+ hasMore: boolean;
19749
+ /** @description Opaque pagination cursor. Always null today. */
19750
+ nextCursor: string | null;
21222
19751
  };
21223
19752
  };
21224
19753
  };
@@ -21299,50 +19828,12 @@ interface operations {
21299
19828
  * @example API
21300
19829
  */
21301
19830
  realm?: string;
21302
- /**
21303
- * @description The required scope for this resource
21304
- * @example read:users
21305
- * @example write:orders
21306
- */
21307
- scope?: string;
21308
- };
21309
- };
21310
- };
21311
- /** @description Response for status 404 */
21312
- 404: {
21313
- headers: {
21314
- [name: string]: unknown;
21315
- };
21316
- content: {
21317
- "application/json": {
21318
- /**
21319
- * @description A URI reference that identifies the problem type
21320
- * @default about:blank
21321
- * @example urn:problem-type:auth:unauthorized
21322
- * @example urn:problem-type:system:internal-error
21323
- */
21324
- type: string;
21325
- /**
21326
- * @description A short, human-readable summary of the problem type
21327
- * @example Unauthorized
21328
- * @example Internal Server Error
21329
- */
21330
- title: string;
21331
- /**
21332
- * @description The HTTP status code
21333
- * @example 400
21334
- * @example 401
21335
- * @example 404
21336
- * @example 500
21337
- */
21338
- status: number;
21339
- /** @description A human-readable explanation specific to this occurrence */
21340
- detail?: string;
21341
- /**
21342
- * @description A URI reference that identifies the specific occurrence
21343
- * @example /errors/1234567890
19831
+ /**
19832
+ * @description The required scope for this resource
19833
+ * @example read:users
19834
+ * @example write:orders
21344
19835
  */
21345
- instance?: string;
19836
+ scope?: string;
21346
19837
  };
21347
19838
  };
21348
19839
  };
@@ -21424,12 +19915,10 @@ interface operations {
21424
19915
  };
21425
19916
  };
21426
19917
  };
21427
- "getV1Wallet-kitYieldSolanaKaminoPositionsByVaultIdHistory": {
19918
+ "getV1Wallet-kitYieldSolanaKaminoPositionsByVaultId": {
21428
19919
  parameters: {
21429
19920
  query: {
21430
19921
  walletAddress: string;
21431
- start?: string;
21432
- end?: string;
21433
19922
  };
21434
19923
  header?: never;
21435
19924
  path: {
@@ -21439,30 +19928,43 @@ interface operations {
21439
19928
  };
21440
19929
  requestBody?: never;
21441
19930
  responses: {
21442
- /** @description Paginated Kamino yield history. */
19931
+ /** @description Kamino yield position lookup response. */
21443
19932
  200: {
21444
19933
  headers: {
21445
19934
  [name: string]: unknown;
21446
19935
  };
21447
19936
  content: {
21448
19937
  "application/json": {
19938
+ /** @description Kamino yield position, or null when Kamino reports no position. */
21449
19939
  data: {
21450
- createdAt: string | null;
21451
- tvlUsd: string | null;
21452
- apy: string | null;
21453
- cumulativeInterestEarnedUsd: string | null;
19940
+ vaultId: string;
19941
+ /**
19942
+ * @description Solana public key (base58).
19943
+ * @example 8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj
19944
+ */
19945
+ walletAddress: string;
19946
+ vaultName: string | null;
19947
+ depositToken: {
19948
+ symbol: "USDC" | "UNKNOWN";
19949
+ mint: string | null;
19950
+ decimals: (string | number) | null;
19951
+ };
19952
+ shares: {
19953
+ staked: string;
19954
+ unstaked: string;
19955
+ total: string;
19956
+ };
19957
+ value: {
19958
+ tokenAmount: string | null;
19959
+ usdAmount: string | null;
19960
+ };
19961
+ sharePrice: string | null;
19962
+ tokensPerShare: string | null;
21454
19963
  /** @description Raw provider payload retained for diagnostics. */
21455
19964
  raw: {
21456
19965
  [key: string]: unknown;
21457
19966
  };
21458
- }[];
21459
- /**
21460
- * @description Whether more results are available. Always false today.
21461
- * @example false
21462
- */
21463
- hasMore: boolean;
21464
- /** @description Opaque pagination cursor. Always null today. */
21465
- nextCursor: string | null;
19967
+ } | null;
21466
19968
  };
21467
19969
  };
21468
19970
  };
@@ -21668,10 +20170,12 @@ interface operations {
21668
20170
  };
21669
20171
  };
21670
20172
  };
21671
- "getV1Wallet-kitYieldSolanaKaminoPositionsByVaultIdPnl": {
20173
+ "getV1Wallet-kitYieldSolanaKaminoPositionsByVaultIdHistory": {
21672
20174
  parameters: {
21673
20175
  query: {
21674
20176
  walletAddress: string;
20177
+ start?: string;
20178
+ end?: string;
21675
20179
  };
21676
20180
  header?: never;
21677
20181
  path: {
@@ -21681,29 +20185,30 @@ interface operations {
21681
20185
  };
21682
20186
  requestBody?: never;
21683
20187
  responses: {
21684
- /** @description Kamino yield PnL for a wallet position. */
20188
+ /** @description Paginated Kamino yield history. */
21685
20189
  200: {
21686
20190
  headers: {
21687
20191
  [name: string]: unknown;
21688
20192
  };
21689
20193
  content: {
21690
20194
  "application/json": {
21691
- vaultId: string;
20195
+ data: {
20196
+ createdAt: string | null;
20197
+ tvlUsd: string | null;
20198
+ apy: string | null;
20199
+ cumulativeInterestEarnedUsd: string | null;
20200
+ /** @description Raw provider payload retained for diagnostics. */
20201
+ raw: {
20202
+ [key: string]: unknown;
20203
+ };
20204
+ }[];
21692
20205
  /**
21693
- * @description Solana public key (base58).
21694
- * @example 8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj
20206
+ * @description Whether more results are available. Always false today.
20207
+ * @example false
21695
20208
  */
21696
- walletAddress: string;
21697
- totalPnl: {
21698
- usd: string;
21699
- sol: string;
21700
- token: string;
21701
- };
21702
- totalCostBasis: {
21703
- usd: string;
21704
- sol: string;
21705
- token: string;
21706
- };
20209
+ hasMore: boolean;
20210
+ /** @description Opaque pagination cursor. Always null today. */
20211
+ nextCursor: string | null;
21707
20212
  };
21708
20213
  };
21709
20214
  };
@@ -21909,58 +20414,42 @@ interface operations {
21909
20414
  };
21910
20415
  };
21911
20416
  };
21912
- "getV1Wallet-kitYieldSolanaKaminoTransactions": {
20417
+ "getV1Wallet-kitYieldSolanaKaminoPositionsByVaultIdPnl": {
21913
20418
  parameters: {
21914
20419
  query: {
21915
20420
  walletAddress: string;
21916
- vaultId?: string;
21917
- asset?: "USDC";
21918
- includeUnlisted?: "true" | "false";
21919
20421
  };
21920
20422
  header?: never;
21921
- path?: never;
20423
+ path: {
20424
+ vaultId: string;
20425
+ };
21922
20426
  cookie?: never;
21923
20427
  };
21924
20428
  requestBody?: never;
21925
20429
  responses: {
21926
- /** @description Paginated Kamino yield transactions. */
20430
+ /** @description Kamino yield PnL for a wallet position. */
21927
20431
  200: {
21928
20432
  headers: {
21929
20433
  [name: string]: unknown;
21930
20434
  };
21931
20435
  content: {
21932
20436
  "application/json": {
21933
- data: {
21934
- id: string | null;
21935
- /**
21936
- * @description Solana public key (base58).
21937
- * @example 8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj
21938
- */
21939
- walletAddress: string;
21940
- vaultId: string | null;
21941
- kind: string | null;
21942
- signature: string | null;
21943
- createdAt: string | null;
21944
- tokenMint: string | null;
21945
- tokenAmount: string | null;
21946
- tokenPrice: string | null;
21947
- solPrice: string | null;
21948
- sharePrice: string | null;
21949
- numberOfShares: string | null;
21950
- usdValue: string | null;
21951
- latestPosition: boolean | null;
21952
- /** @description Raw provider payload retained for diagnostics. */
21953
- raw: {
21954
- [key: string]: unknown;
21955
- };
21956
- }[];
20437
+ vaultId: string;
21957
20438
  /**
21958
- * @description Whether more results are available. Always false today.
21959
- * @example false
20439
+ * @description Solana public key (base58).
20440
+ * @example 8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj
21960
20441
  */
21961
- hasMore: boolean;
21962
- /** @description Opaque pagination cursor. Always null today. */
21963
- nextCursor: string | null;
20442
+ walletAddress: string;
20443
+ totalPnl: {
20444
+ usd: string;
20445
+ sol: string;
20446
+ token: string;
20447
+ };
20448
+ totalCostBasis: {
20449
+ usd: string;
20450
+ sol: string;
20451
+ token: string;
20452
+ };
21964
20453
  };
21965
20454
  };
21966
20455
  };
@@ -22050,8 +20539,8 @@ interface operations {
22050
20539
  };
22051
20540
  };
22052
20541
  };
22053
- /** @description Response for status 500 */
22054
- 500: {
20542
+ /** @description Response for status 404 */
20543
+ 404: {
22055
20544
  headers: {
22056
20545
  [name: string]: unknown;
22057
20546
  };
@@ -22088,8 +20577,8 @@ interface operations {
22088
20577
  };
22089
20578
  };
22090
20579
  };
22091
- /** @description Response for status 502 */
22092
- 502: {
20580
+ /** @description Response for status 500 */
20581
+ 500: {
22093
20582
  headers: {
22094
20583
  [name: string]: unknown;
22095
20584
  };
@@ -22126,58 +20615,8 @@ interface operations {
22126
20615
  };
22127
20616
  };
22128
20617
  };
22129
- };
22130
- };
22131
- "postV1SandboxBypass-kyc": {
22132
- parameters: {
22133
- query?: never;
22134
- header?: never;
22135
- path?: never;
22136
- cookie?: never;
22137
- };
22138
- requestBody: {
22139
- content: {
22140
- "application/json": {
22141
- /**
22142
- * @description Country code to simulate successful KYC for
22143
- * @example US
22144
- */
22145
- country?: string;
22146
- /** @description Set to true to simulate a failed KYC check */
22147
- failed?: boolean;
22148
- };
22149
- "application/x-www-form-urlencoded": {
22150
- /**
22151
- * @description Country code to simulate successful KYC for
22152
- * @example US
22153
- */
22154
- country?: string;
22155
- /** @description Set to true to simulate a failed KYC check */
22156
- failed?: boolean;
22157
- };
22158
- "multipart/form-data": {
22159
- /**
22160
- * @description Country code to simulate successful KYC for
22161
- * @example US
22162
- */
22163
- country?: string;
22164
- /** @description Set to true to simulate a failed KYC check */
22165
- failed?: boolean;
22166
- };
22167
- };
22168
- };
22169
- responses: {
22170
- /** @description The resulting verification document */
22171
- 200: {
22172
- headers: {
22173
- [name: string]: unknown;
22174
- };
22175
- content: {
22176
- "application/json": unknown;
22177
- };
22178
- };
22179
- /** @description Response for status 401 */
22180
- 401: {
20618
+ /** @description Response for status 502 */
20619
+ 502: {
22181
20620
  headers: {
22182
20621
  [name: string]: unknown;
22183
20622
  };
@@ -22187,45 +20626,92 @@ interface operations {
22187
20626
  * @description A URI reference that identifies the problem type
22188
20627
  * @default about:blank
22189
20628
  * @example urn:problem-type:auth:unauthorized
22190
- * @example urn:problem-type:auth:token-expired
20629
+ * @example urn:problem-type:system:internal-error
22191
20630
  */
22192
20631
  type: string;
22193
20632
  /**
22194
20633
  * @description A short, human-readable summary of the problem type
22195
20634
  * @example Unauthorized
22196
- * @example Token Expired
20635
+ * @example Internal Server Error
22197
20636
  */
22198
20637
  title: string;
22199
20638
  /**
22200
20639
  * @description The HTTP status code
20640
+ * @example 400
22201
20641
  * @example 401
22202
- * @example 403
20642
+ * @example 404
20643
+ * @example 500
22203
20644
  */
22204
20645
  status: number;
22205
- /**
22206
- * @description A human-readable explanation specific to this occurrence
22207
- * @example Bearer token required
22208
- * @example Invalid token
22209
- */
20646
+ /** @description A human-readable explanation specific to this occurrence */
22210
20647
  detail?: string;
22211
- /** @description A URI reference that identifies the specific occurrence */
22212
- instance?: string;
22213
20648
  /**
22214
- * @description The authentication realm
22215
- * @example API
20649
+ * @description A URI reference that identifies the specific occurrence
20650
+ * @example /errors/1234567890
22216
20651
  */
22217
- realm?: string;
20652
+ instance?: string;
20653
+ };
20654
+ };
20655
+ };
20656
+ };
20657
+ };
20658
+ "getV1Wallet-kitYieldSolanaKaminoTransactions": {
20659
+ parameters: {
20660
+ query: {
20661
+ walletAddress: string;
20662
+ vaultId?: string;
20663
+ asset?: "USDC";
20664
+ includeUnlisted?: "true" | "false";
20665
+ };
20666
+ header?: never;
20667
+ path?: never;
20668
+ cookie?: never;
20669
+ };
20670
+ requestBody?: never;
20671
+ responses: {
20672
+ /** @description Paginated Kamino yield transactions. */
20673
+ 200: {
20674
+ headers: {
20675
+ [name: string]: unknown;
20676
+ };
20677
+ content: {
20678
+ "application/json": {
20679
+ data: {
20680
+ id: string | null;
20681
+ /**
20682
+ * @description Solana public key (base58).
20683
+ * @example 8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj
20684
+ */
20685
+ walletAddress: string;
20686
+ vaultId: string | null;
20687
+ kind: string | null;
20688
+ signature: string | null;
20689
+ createdAt: string | null;
20690
+ tokenMint: string | null;
20691
+ tokenAmount: string | null;
20692
+ tokenPrice: string | null;
20693
+ solPrice: string | null;
20694
+ sharePrice: string | null;
20695
+ numberOfShares: string | null;
20696
+ usdValue: string | null;
20697
+ latestPosition: boolean | null;
20698
+ /** @description Raw provider payload retained for diagnostics. */
20699
+ raw: {
20700
+ [key: string]: unknown;
20701
+ };
20702
+ }[];
22218
20703
  /**
22219
- * @description The required scope for this resource
22220
- * @example read:users
22221
- * @example write:orders
20704
+ * @description Whether more results are available. Always false today.
20705
+ * @example false
22222
20706
  */
22223
- scope?: string;
20707
+ hasMore: boolean;
20708
+ /** @description Opaque pagination cursor. Always null today. */
20709
+ nextCursor: string | null;
22224
20710
  };
22225
20711
  };
22226
20712
  };
22227
- /** @description Response for status 500 */
22228
- 500: {
20713
+ /** @description Response for status 400 */
20714
+ 400: {
22229
20715
  headers: {
22230
20716
  [name: string]: unknown;
22231
20717
  };
@@ -22262,174 +20748,6 @@ interface operations {
22262
20748
  };
22263
20749
  };
22264
20750
  };
22265
- };
22266
- };
22267
- postV1SandboxDeposits: {
22268
- parameters: {
22269
- query?: never;
22270
- header?: never;
22271
- path?: never;
22272
- cookie?: never;
22273
- };
22274
- requestBody: {
22275
- content: {
22276
- "application/json": {
22277
- /**
22278
- * @description Opaque public preparation identifier returned by prepare
22279
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
22280
- */
22281
- preparationId: string;
22282
- /** @description Ed25519 signature over the exact authorization message text. Base58 is preferred for Solana clients; base64 is also accepted. */
22283
- signature: string;
22284
- clientContext?: {
22285
- clientIp?: string;
22286
- userAgent?: string;
22287
- sessionId?: string;
22288
- deviceId?: string;
22289
- platform?: string;
22290
- appVersion?: string;
22291
- };
22292
- returnSimulation: {
22293
- /**
22294
- * @description Sandbox-only ACH return code to simulate through the Modern Treasury provider path
22295
- * @example R10
22296
- */
22297
- code: string;
22298
- };
22299
- };
22300
- "application/x-www-form-urlencoded": {
22301
- /**
22302
- * @description Opaque public preparation identifier returned by prepare
22303
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
22304
- */
22305
- preparationId: string;
22306
- /** @description Ed25519 signature over the exact authorization message text. Base58 is preferred for Solana clients; base64 is also accepted. */
22307
- signature: string;
22308
- clientContext?: {
22309
- clientIp?: string;
22310
- userAgent?: string;
22311
- sessionId?: string;
22312
- deviceId?: string;
22313
- platform?: string;
22314
- appVersion?: string;
22315
- };
22316
- returnSimulation: {
22317
- /**
22318
- * @description Sandbox-only ACH return code to simulate through the Modern Treasury provider path
22319
- * @example R10
22320
- */
22321
- code: string;
22322
- };
22323
- };
22324
- "multipart/form-data": {
22325
- /**
22326
- * @description Opaque public preparation identifier returned by prepare
22327
- * @example prep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
22328
- */
22329
- preparationId: string;
22330
- /** @description Ed25519 signature over the exact authorization message text. Base58 is preferred for Solana clients; base64 is also accepted. */
22331
- signature: string;
22332
- clientContext?: {
22333
- clientIp?: string;
22334
- userAgent?: string;
22335
- sessionId?: string;
22336
- deviceId?: string;
22337
- platform?: string;
22338
- appVersion?: string;
22339
- };
22340
- returnSimulation: {
22341
- /**
22342
- * @description Sandbox-only ACH return code to simulate through the Modern Treasury provider path
22343
- * @example R10
22344
- */
22345
- code: string;
22346
- };
22347
- };
22348
- };
22349
- };
22350
- responses: {
22351
- /** @description An ACH debit deposit authorized by the user and processed asynchronously through debit and crypto release lifecycles. */
22352
- 200: {
22353
- headers: {
22354
- [name: string]: unknown;
22355
- };
22356
- content: {
22357
- "application/json": {
22358
- /**
22359
- * @description Opaque public deposit identifier
22360
- * @example dep_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
22361
- */
22362
- id: string;
22363
- /**
22364
- * @description Opaque public funding source identifier
22365
- * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
22366
- */
22367
- sourceId: string;
22368
- /**
22369
- * @description Opaque public deposit destination identifier
22370
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
22371
- */
22372
- destinationId: string;
22373
- /** @enum {string} */
22374
- status: "authorized" | "processing" | "partially_released" | "completed" | "returned" | "failed";
22375
- /** @enum {string} */
22376
- quoteType: "exact_input" | "exact_output";
22377
- /** @enum {string} */
22378
- priority: "normal" | "high";
22379
- feeRateBps: number;
22380
- principalAmountUsd: string;
22381
- expectedAssetAmount: string;
22382
- grossFeeUsd: string;
22383
- feeSubsidyUsd: string;
22384
- userFeeUsd: string;
22385
- totalDebitAmountUsd: string;
22386
- feeSubsidy: {
22387
- percentage: number;
22388
- percentageBps: number;
22389
- maxAmountUsd: string | null;
22390
- appliedAmountUsd: string;
22391
- } | null;
22392
- /**
22393
- * @description Blockchain network for the bound deposit destination
22394
- * @example solana
22395
- * @constant
22396
- */
22397
- network: "solana";
22398
- /**
22399
- * @description Asset sent to the deposit destination
22400
- * @example USDC
22401
- * @constant
22402
- */
22403
- asset: "USDC";
22404
- assetAddress: string;
22405
- /** @description Destination wallet address for the crypto release */
22406
- address: string;
22407
- /** @enum {string} */
22408
- debitStatus: "authorized" | "submitting" | "submitted" | "settled" | "returned" | "failed";
22409
- /** @enum {string} */
22410
- releaseStatus: "not_started" | "queued" | "partial" | "completed" | "failed";
22411
- /** @enum {string} */
22412
- releaseDecisionMode: "after_settlement" | "early_full" | "early_partial";
22413
- releasedAmountUsd: string;
22414
- confirmedReleasedAmountUsd: string;
22415
- exposureAmountUsd: string;
22416
- /** Format: date-time */
22417
- authorizedAt: string;
22418
- /** Format: date-time */
22419
- createdAt: string;
22420
- settledAt: string | null;
22421
- returnedAt: string | null;
22422
- completedAt: string | null;
22423
- returnCode: string | null;
22424
- returnReason: string | null;
22425
- debitFailureCode: string | null;
22426
- debitFailureReason: string | null;
22427
- releaseFailureCode: string | null;
22428
- releaseFailureReason: string | null;
22429
- payoutTxHash: string | null;
22430
- };
22431
- };
22432
- };
22433
20751
  /** @description Response for status 401 */
22434
20752
  401: {
22435
20753
  headers: {
@@ -22478,8 +20796,46 @@ interface operations {
22478
20796
  };
22479
20797
  };
22480
20798
  };
22481
- /** @description Response for status 403 */
22482
- 403: {
20799
+ /** @description Response for status 500 */
20800
+ 500: {
20801
+ headers: {
20802
+ [name: string]: unknown;
20803
+ };
20804
+ content: {
20805
+ "application/json": {
20806
+ /**
20807
+ * @description A URI reference that identifies the problem type
20808
+ * @default about:blank
20809
+ * @example urn:problem-type:auth:unauthorized
20810
+ * @example urn:problem-type:system:internal-error
20811
+ */
20812
+ type: string;
20813
+ /**
20814
+ * @description A short, human-readable summary of the problem type
20815
+ * @example Unauthorized
20816
+ * @example Internal Server Error
20817
+ */
20818
+ title: string;
20819
+ /**
20820
+ * @description The HTTP status code
20821
+ * @example 400
20822
+ * @example 401
20823
+ * @example 404
20824
+ * @example 500
20825
+ */
20826
+ status: number;
20827
+ /** @description A human-readable explanation specific to this occurrence */
20828
+ detail?: string;
20829
+ /**
20830
+ * @description A URI reference that identifies the specific occurrence
20831
+ * @example /errors/1234567890
20832
+ */
20833
+ instance?: string;
20834
+ };
20835
+ };
20836
+ };
20837
+ /** @description Response for status 502 */
20838
+ 502: {
22483
20839
  headers: {
22484
20840
  [name: string]: unknown;
22485
20841
  };
@@ -22516,8 +20872,58 @@ interface operations {
22516
20872
  };
22517
20873
  };
22518
20874
  };
22519
- /** @description Response for status 404 */
22520
- 404: {
20875
+ };
20876
+ };
20877
+ "postV1SandboxBypass-kyc": {
20878
+ parameters: {
20879
+ query?: never;
20880
+ header?: never;
20881
+ path?: never;
20882
+ cookie?: never;
20883
+ };
20884
+ requestBody: {
20885
+ content: {
20886
+ "application/json": {
20887
+ /**
20888
+ * @description Country code to simulate successful KYC for
20889
+ * @example US
20890
+ */
20891
+ country?: string;
20892
+ /** @description Set to true to simulate a failed KYC check */
20893
+ failed?: boolean;
20894
+ };
20895
+ "application/x-www-form-urlencoded": {
20896
+ /**
20897
+ * @description Country code to simulate successful KYC for
20898
+ * @example US
20899
+ */
20900
+ country?: string;
20901
+ /** @description Set to true to simulate a failed KYC check */
20902
+ failed?: boolean;
20903
+ };
20904
+ "multipart/form-data": {
20905
+ /**
20906
+ * @description Country code to simulate successful KYC for
20907
+ * @example US
20908
+ */
20909
+ country?: string;
20910
+ /** @description Set to true to simulate a failed KYC check */
20911
+ failed?: boolean;
20912
+ };
20913
+ };
20914
+ };
20915
+ responses: {
20916
+ /** @description The resulting verification document */
20917
+ 200: {
20918
+ headers: {
20919
+ [name: string]: unknown;
20920
+ };
20921
+ content: {
20922
+ "application/json": unknown;
20923
+ };
20924
+ };
20925
+ /** @description Response for status 401 */
20926
+ 401: {
22521
20927
  headers: {
22522
20928
  [name: string]: unknown;
22523
20929
  };
@@ -22526,28 +20932,41 @@ interface operations {
22526
20932
  /**
22527
20933
  * @description A URI reference that identifies the problem type
22528
20934
  * @default about:blank
20935
+ * @example urn:problem-type:auth:unauthorized
20936
+ * @example urn:problem-type:auth:token-expired
22529
20937
  */
22530
20938
  type: string;
22531
- /** @description A short, human-readable summary of the problem type */
20939
+ /**
20940
+ * @description A short, human-readable summary of the problem type
20941
+ * @example Unauthorized
20942
+ * @example Token Expired
20943
+ */
22532
20944
  title: string;
22533
20945
  /**
22534
20946
  * @description The HTTP status code
22535
- * @example 404
20947
+ * @example 401
20948
+ * @example 403
22536
20949
  */
22537
20950
  status: number;
22538
- /** @description A human-readable explanation specific to this occurrence */
20951
+ /**
20952
+ * @description A human-readable explanation specific to this occurrence
20953
+ * @example Bearer token required
20954
+ * @example Invalid token
20955
+ */
22539
20956
  detail?: string;
22540
20957
  /** @description A URI reference that identifies the specific occurrence */
22541
20958
  instance?: string;
22542
20959
  /**
22543
- * @description The type of resource that was not found
22544
- * @example user
22545
- * @example account
22546
- * @example transaction
20960
+ * @description The authentication realm
20961
+ * @example API
22547
20962
  */
22548
- resourceType: string;
22549
- /** @description The identifier of the resource that was not found */
22550
- resourceId: string;
20963
+ realm?: string;
20964
+ /**
20965
+ * @description The required scope for this resource
20966
+ * @example read:users
20967
+ * @example write:orders
20968
+ */
20969
+ scope?: string;
22551
20970
  };
22552
20971
  };
22553
20972
  };
@@ -22686,11 +21105,6 @@ interface operations {
22686
21105
  * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
22687
21106
  */
22688
21107
  sourceId: string;
22689
- /**
22690
- * @description Opaque public deposit destination identifier
22691
- * @example dd_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
22692
- */
22693
- destinationId: string;
22694
21108
  /** @enum {string} */
22695
21109
  status: "authorized" | "processing" | "partially_released" | "completed" | "returned" | "failed";
22696
21110
  /** @enum {string} */
@@ -22710,12 +21124,8 @@ interface operations {
22710
21124
  maxAmountUsd: string | null;
22711
21125
  appliedAmountUsd: string;
22712
21126
  } | null;
22713
- /**
22714
- * @description Blockchain network for the bound deposit destination
22715
- * @example solana
22716
- * @constant
22717
- */
22718
- network: "solana";
21127
+ /** @enum {string} */
21128
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
22719
21129
  /**
22720
21130
  * @description Asset sent to the deposit destination
22721
21131
  * @example USDC
@@ -23508,6 +21918,198 @@ interface operations {
23508
21918
  };
23509
21919
  };
23510
21920
  };
21921
+ "deleteV1SandboxFunding-sourcesByFundingSourceId": {
21922
+ parameters: {
21923
+ query?: never;
21924
+ header?: never;
21925
+ path: {
21926
+ fundingSourceId: string;
21927
+ };
21928
+ cookie?: never;
21929
+ };
21930
+ requestBody?: never;
21931
+ responses: {
21932
+ /** @description Confirmation that a funding source was removed */
21933
+ 200: {
21934
+ headers: {
21935
+ [name: string]: unknown;
21936
+ };
21937
+ content: {
21938
+ "application/json": {
21939
+ /**
21940
+ * @description Opaque public identifier for the removed funding source
21941
+ * @example fs_01JV7Q8M4Y8K6N2Z5P3R1T9W0X
21942
+ */
21943
+ id: string;
21944
+ /**
21945
+ * @description Always true for a removed funding source response
21946
+ * @constant
21947
+ */
21948
+ deleted: true;
21949
+ };
21950
+ };
21951
+ };
21952
+ /** @description Response for status 401 */
21953
+ 401: {
21954
+ headers: {
21955
+ [name: string]: unknown;
21956
+ };
21957
+ content: {
21958
+ "application/json": {
21959
+ /**
21960
+ * @description A URI reference that identifies the problem type
21961
+ * @default about:blank
21962
+ * @example urn:problem-type:auth:unauthorized
21963
+ * @example urn:problem-type:auth:token-expired
21964
+ */
21965
+ type: string;
21966
+ /**
21967
+ * @description A short, human-readable summary of the problem type
21968
+ * @example Unauthorized
21969
+ * @example Token Expired
21970
+ */
21971
+ title: string;
21972
+ /**
21973
+ * @description The HTTP status code
21974
+ * @example 401
21975
+ * @example 403
21976
+ */
21977
+ status: number;
21978
+ /**
21979
+ * @description A human-readable explanation specific to this occurrence
21980
+ * @example Bearer token required
21981
+ * @example Invalid token
21982
+ */
21983
+ detail?: string;
21984
+ /** @description A URI reference that identifies the specific occurrence */
21985
+ instance?: string;
21986
+ /**
21987
+ * @description The authentication realm
21988
+ * @example API
21989
+ */
21990
+ realm?: string;
21991
+ /**
21992
+ * @description The required scope for this resource
21993
+ * @example read:users
21994
+ * @example write:orders
21995
+ */
21996
+ scope?: string;
21997
+ };
21998
+ };
21999
+ };
22000
+ /** @description Response for status 403 */
22001
+ 403: {
22002
+ headers: {
22003
+ [name: string]: unknown;
22004
+ };
22005
+ content: {
22006
+ "application/json": {
22007
+ /**
22008
+ * @description A URI reference that identifies the problem type
22009
+ * @default about:blank
22010
+ * @example urn:problem-type:auth:unauthorized
22011
+ * @example urn:problem-type:system:internal-error
22012
+ */
22013
+ type: string;
22014
+ /**
22015
+ * @description A short, human-readable summary of the problem type
22016
+ * @example Unauthorized
22017
+ * @example Internal Server Error
22018
+ */
22019
+ title: string;
22020
+ /**
22021
+ * @description The HTTP status code
22022
+ * @example 400
22023
+ * @example 401
22024
+ * @example 404
22025
+ * @example 500
22026
+ */
22027
+ status: number;
22028
+ /** @description A human-readable explanation specific to this occurrence */
22029
+ detail?: string;
22030
+ /**
22031
+ * @description A URI reference that identifies the specific occurrence
22032
+ * @example /errors/1234567890
22033
+ */
22034
+ instance?: string;
22035
+ };
22036
+ };
22037
+ };
22038
+ /** @description Response for status 404 */
22039
+ 404: {
22040
+ headers: {
22041
+ [name: string]: unknown;
22042
+ };
22043
+ content: {
22044
+ "application/json": {
22045
+ /**
22046
+ * @description A URI reference that identifies the problem type
22047
+ * @default about:blank
22048
+ */
22049
+ type: string;
22050
+ /** @description A short, human-readable summary of the problem type */
22051
+ title: string;
22052
+ /**
22053
+ * @description The HTTP status code
22054
+ * @example 404
22055
+ */
22056
+ status: number;
22057
+ /** @description A human-readable explanation specific to this occurrence */
22058
+ detail?: string;
22059
+ /** @description A URI reference that identifies the specific occurrence */
22060
+ instance?: string;
22061
+ /**
22062
+ * @description The type of resource that was not found
22063
+ * @example user
22064
+ * @example account
22065
+ * @example transaction
22066
+ */
22067
+ resourceType: string;
22068
+ /** @description The identifier of the resource that was not found */
22069
+ resourceId: string;
22070
+ };
22071
+ };
22072
+ };
22073
+ /** @description Response for status 500 */
22074
+ 500: {
22075
+ headers: {
22076
+ [name: string]: unknown;
22077
+ };
22078
+ content: {
22079
+ "application/json": {
22080
+ /**
22081
+ * @description A URI reference that identifies the problem type
22082
+ * @default about:blank
22083
+ * @example urn:problem-type:auth:unauthorized
22084
+ * @example urn:problem-type:system:internal-error
22085
+ */
22086
+ type: string;
22087
+ /**
22088
+ * @description A short, human-readable summary of the problem type
22089
+ * @example Unauthorized
22090
+ * @example Internal Server Error
22091
+ */
22092
+ title: string;
22093
+ /**
22094
+ * @description The HTTP status code
22095
+ * @example 400
22096
+ * @example 401
22097
+ * @example 404
22098
+ * @example 500
22099
+ */
22100
+ status: number;
22101
+ /** @description A human-readable explanation specific to this occurrence */
22102
+ detail?: string;
22103
+ /**
22104
+ * @description A URI reference that identifies the specific occurrence
22105
+ * @example /errors/1234567890
22106
+ */
22107
+ instance?: string;
22108
+ };
22109
+ };
22110
+ };
22111
+ };
22112
+ };
23511
22113
  }
23512
22114
 
23513
22115
  type HttpMethod = 'get' | 'post' | 'put' | 'patch' | 'delete';
@@ -25325,7 +23927,7 @@ declare class DepositService {
25325
23927
  maxAmountUsd: string | null;
25326
23928
  appliedAmountUsd: string;
25327
23929
  } | null;
25328
- network: "solana";
23930
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
25329
23931
  asset: "USDC";
25330
23932
  assetAddress: string;
25331
23933
  destinationAddress: string;
@@ -25334,7 +23936,6 @@ declare class DepositService {
25334
23936
  create(input: CreateDepositRequest): Promise<{
25335
23937
  id: string;
25336
23938
  sourceId: string;
25337
- destinationId: string;
25338
23939
  status: "authorized" | "processing" | "partially_released" | "completed" | "returned" | "failed";
25339
23940
  quoteType: "exact_input" | "exact_output";
25340
23941
  priority: "normal" | "high";
@@ -25351,7 +23952,7 @@ declare class DepositService {
25351
23952
  maxAmountUsd: string | null;
25352
23953
  appliedAmountUsd: string;
25353
23954
  } | null;
25354
- network: "solana";
23955
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
25355
23956
  asset: "USDC";
25356
23957
  assetAddress: string;
25357
23958
  address: string;
@@ -25385,6 +23986,11 @@ declare class FundingSourceService {
25385
23986
  id: string;
25386
23987
  bankAccountId: string;
25387
23988
  institutionName: string | null;
23989
+ institution: {
23990
+ name: string;
23991
+ logoUrl: string | null;
23992
+ primaryColor: string | null;
23993
+ } | null;
25388
23994
  accountNumberLast4: string | null;
25389
23995
  accountType: "checking" | "savings" | "business" | "unknown";
25390
23996
  status: "pending" | "active" | "review_required" | "ineligible" | "disabled";
@@ -25396,6 +24002,11 @@ declare class FundingSourceService {
25396
24002
  id: string;
25397
24003
  bankAccountId: string;
25398
24004
  institutionName: string | null;
24005
+ institution: {
24006
+ name: string;
24007
+ logoUrl: string | null;
24008
+ primaryColor: string | null;
24009
+ } | null;
25399
24010
  accountNumberLast4: string | null;
25400
24011
  accountType: "checking" | "savings" | "business" | "unknown";
25401
24012
  status: "pending" | "active" | "review_required" | "ineligible" | "disabled";
@@ -25425,6 +24036,7 @@ declare class InstitutionService {
25425
24036
  type BypassKycRequest = PathRequestBody<'/v1/sandbox/bypass-kyc', 'post'>;
25426
24037
  type CreateDepositWithReturnRequest = PathRequestBody<'/v1/sandbox/deposits/direct', 'post'>;
25427
24038
  type CreateDepositWithReturnResponse = PathResponse<'/v1/sandbox/deposits/direct', 'post'>;
24039
+ type DeleteFundingSourceResponse = PathResponse<'/v1/sandbox/funding-sources/{fundingSourceId}', 'delete'>;
25428
24040
  declare class SandboxService {
25429
24041
  private client;
25430
24042
  constructor(client: SpritzClient);
@@ -25443,7 +24055,6 @@ declare class SandboxService {
25443
24055
  createDepositWithReturn(input: CreateDepositWithReturnRequest): Promise<{
25444
24056
  id: string;
25445
24057
  sourceId: string;
25446
- destinationId: string;
25447
24058
  status: "authorized" | "processing" | "partially_released" | "completed" | "returned" | "failed";
25448
24059
  quoteType: "exact_input" | "exact_output";
25449
24060
  priority: "normal" | "high";
@@ -25460,7 +24071,7 @@ declare class SandboxService {
25460
24071
  maxAmountUsd: string | null;
25461
24072
  appliedAmountUsd: string;
25462
24073
  } | null;
25463
- network: "solana";
24074
+ network: "solana" | "ethereum" | "polygon" | "base" | "avalanche" | "arbitrum";
25464
24075
  asset: "USDC";
25465
24076
  assetAddress: string;
25466
24077
  address: string;
@@ -25483,6 +24094,16 @@ declare class SandboxService {
25483
24094
  releaseFailureReason: string | null;
25484
24095
  payoutTxHash: string | null;
25485
24096
  }>;
24097
+ /**
24098
+ * Permanently remove an ACH debit funding source for the authenticated user.
24099
+ * Intended for resetting funding sources during integration testing.
24100
+ *
24101
+ * Only available in sandbox environments — returns 403 in production.
24102
+ */
24103
+ deleteFundingSource(fundingSourceId: string): Promise<{
24104
+ id: string;
24105
+ deleted: true;
24106
+ }>;
25486
24107
  }
25487
24108
 
25488
24109
  interface CreateOnrampPayment_createOnrampPayment_depositInstructions {
@@ -26110,4 +24731,4 @@ declare class InternalServerError extends APIError {
26110
24731
  }
26111
24732
 
26112
24733
  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 };
26113
- export type { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountPayments_paymentsForAccount_transaction, AchDebitReturn, AchDebitReturnListQuery, AchDebitReturnListResponse, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountFragment_paymentAddresses, BankAccountInput, BillFragment, BillFragment_billAccountDetails, BillFragment_dataSync, BillFragment_institution, BillFragment_paymentAddresses, BypassKycRequest, CategoryAccess, ClientOptions, CompleteLinkingRequest, 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, 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 };
24734
+ export type { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountPayments_paymentsForAccount_transaction, AchDebitReturn, AchDebitReturnListQuery, AchDebitReturnListResponse, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountFragment_paymentAddresses, BankAccountInput, BillFragment, BillFragment_billAccountDetails, BillFragment_dataSync, BillFragment_institution, BillFragment_paymentAddresses, BypassKycRequest, CategoryAccess, ClientOptions, CompleteLinkingRequest, 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, 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 };