@privy-io/api-types 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/client.d.mts +16 -16
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +16 -16
  5. package/client.d.ts.map +1 -1
  6. package/client.js +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +1 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +0 -8
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +0 -8
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/aggregations.d.mts +1 -1
  16. package/resources/aggregations.d.mts.map +1 -1
  17. package/resources/aggregations.d.ts +1 -1
  18. package/resources/aggregations.d.ts.map +1 -1
  19. package/resources/apps.d.mts +88 -1
  20. package/resources/apps.d.mts.map +1 -1
  21. package/resources/apps.d.ts +88 -1
  22. package/resources/apps.d.ts.map +1 -1
  23. package/resources/cards.d.mts +87 -6
  24. package/resources/cards.d.mts.map +1 -1
  25. package/resources/cards.d.ts +87 -6
  26. package/resources/cards.d.ts.map +1 -1
  27. package/resources/client-auth.d.mts +1 -1
  28. package/resources/client-auth.d.mts.map +1 -1
  29. package/resources/client-auth.d.ts +1 -1
  30. package/resources/client-auth.d.ts.map +1 -1
  31. package/resources/fiat.d.mts +701 -61
  32. package/resources/fiat.d.mts.map +1 -1
  33. package/resources/fiat.d.ts +701 -61
  34. package/resources/fiat.d.ts.map +1 -1
  35. package/resources/index.d.mts +8 -8
  36. package/resources/index.d.mts.map +1 -1
  37. package/resources/index.d.ts +8 -8
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +1 -1
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +1 -1
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/intents.d.mts +82 -4
  44. package/resources/intents.d.mts.map +1 -1
  45. package/resources/intents.d.ts +82 -4
  46. package/resources/intents.d.ts.map +1 -1
  47. package/resources/key-quorums.d.mts +14 -1
  48. package/resources/key-quorums.d.mts.map +1 -1
  49. package/resources/key-quorums.d.ts +14 -1
  50. package/resources/key-quorums.d.ts.map +1 -1
  51. package/resources/policies/condition-sets.d.mts +21 -0
  52. package/resources/policies/condition-sets.d.mts.map +1 -0
  53. package/resources/policies/condition-sets.d.ts +21 -0
  54. package/resources/policies/condition-sets.d.ts.map +1 -0
  55. package/resources/policies/condition-sets.js +9 -0
  56. package/resources/policies/condition-sets.js.map +1 -0
  57. package/resources/policies/condition-sets.mjs +5 -0
  58. package/resources/policies/condition-sets.mjs.map +1 -0
  59. package/resources/policies/index.d.mts +3 -0
  60. package/resources/policies/index.d.mts.map +1 -0
  61. package/resources/policies/index.d.ts +3 -0
  62. package/resources/policies/index.d.ts.map +1 -0
  63. package/resources/policies/index.js +9 -0
  64. package/resources/policies/index.js.map +1 -0
  65. package/resources/policies/index.mjs +4 -0
  66. package/resources/policies/index.mjs.map +1 -0
  67. package/resources/policies/policies.d.mts +775 -0
  68. package/resources/policies/policies.d.mts.map +1 -0
  69. package/resources/policies/policies.d.ts +775 -0
  70. package/resources/policies/policies.d.ts.map +1 -0
  71. package/resources/policies/policies.js +17 -0
  72. package/resources/policies/policies.js.map +1 -0
  73. package/resources/policies/policies.mjs +12 -0
  74. package/resources/policies/policies.mjs.map +1 -0
  75. package/resources/policies.d.mts +1 -698
  76. package/resources/policies.d.mts.map +1 -1
  77. package/resources/policies.d.ts +1 -698
  78. package/resources/policies.d.ts.map +1 -1
  79. package/resources/policies.js +2 -5
  80. package/resources/policies.js.map +1 -1
  81. package/resources/policies.mjs +1 -3
  82. package/resources/policies.mjs.map +1 -1
  83. package/resources/users.d.mts +25 -20
  84. package/resources/users.d.mts.map +1 -1
  85. package/resources/users.d.ts +25 -20
  86. package/resources/users.d.ts.map +1 -1
  87. package/resources/wallet-automations.d.mts +14 -8
  88. package/resources/wallet-automations.d.mts.map +1 -1
  89. package/resources/wallet-automations.d.ts +14 -8
  90. package/resources/wallet-automations.d.ts.map +1 -1
  91. package/resources/wallets/actions.d.mts +45 -11
  92. package/resources/wallets/actions.d.mts.map +1 -1
  93. package/resources/wallets/actions.d.ts +45 -11
  94. package/resources/wallets/actions.d.ts.map +1 -1
  95. package/resources/wallets/balance.d.mts +3 -3
  96. package/resources/wallets/balance.d.mts.map +1 -1
  97. package/resources/wallets/balance.d.ts +3 -3
  98. package/resources/wallets/balance.d.ts.map +1 -1
  99. package/resources/wallets/index.d.mts +2 -2
  100. package/resources/wallets/index.d.mts.map +1 -1
  101. package/resources/wallets/index.d.ts +2 -2
  102. package/resources/wallets/index.d.ts.map +1 -1
  103. package/resources/wallets/index.js.map +1 -1
  104. package/resources/wallets/index.mjs.map +1 -1
  105. package/resources/wallets/transactions.d.mts +4 -1
  106. package/resources/wallets/transactions.d.mts.map +1 -1
  107. package/resources/wallets/transactions.d.ts +4 -1
  108. package/resources/wallets/transactions.d.ts.map +1 -1
  109. package/resources/wallets/wallets.d.mts +287 -17
  110. package/resources/wallets/wallets.d.mts.map +1 -1
  111. package/resources/wallets/wallets.d.ts +287 -17
  112. package/resources/wallets/wallets.d.ts.map +1 -1
  113. package/resources/wallets/wallets.js.map +1 -1
  114. package/resources/wallets/wallets.mjs.map +1 -1
  115. package/resources/webhooks.d.mts +76 -14
  116. package/resources/webhooks.d.mts.map +1 -1
  117. package/resources/webhooks.d.ts +76 -14
  118. package/resources/webhooks.d.ts.map +1 -1
  119. package/resources/yield.d.mts +2 -2
  120. package/resources/yield.d.ts +2 -2
  121. package/src/client.ts +196 -62
  122. package/src/resources/accounts.ts +0 -10
  123. package/src/resources/aggregations.ts +1 -1
  124. package/src/resources/apps.ts +126 -0
  125. package/src/resources/cards.ts +112 -5
  126. package/src/resources/client-auth.ts +1 -1
  127. package/src/resources/fiat.ts +938 -136
  128. package/src/resources/index.ts +71 -4
  129. package/src/resources/intents.ts +114 -3
  130. package/src/resources/key-quorums.ts +16 -0
  131. package/src/resources/policies/condition-sets.ts +25 -0
  132. package/src/resources/policies/index.ts +63 -0
  133. package/src/resources/policies/policies.ts +1122 -0
  134. package/src/resources/policies.ts +1 -1023
  135. package/src/resources/users.ts +31 -25
  136. package/src/resources/wallet-automations.ts +16 -9
  137. package/src/resources/wallets/actions.ts +54 -10
  138. package/src/resources/wallets/balance.ts +3 -0
  139. package/src/resources/wallets/index.ts +18 -0
  140. package/src/resources/wallets/transactions.ts +4 -0
  141. package/src/resources/wallets/wallets.ts +358 -10
  142. package/src/resources/webhooks.ts +93 -15
  143. package/src/resources/yield.ts +2 -2
  144. package/src/version.ts +1 -1
  145. package/version.d.mts +1 -1
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
  148. package/version.mjs +1 -1
@@ -45,6 +45,7 @@ import {
45
45
  SvmWalletActionStepStatus,
46
46
  SwapActionResponse,
47
47
  TempoVaultDetails,
48
+ TempoZoneSettlementWalletActionStep,
48
49
  TransferActionResponse,
49
50
  TvmTransactionWalletActionStep,
50
51
  TvmWalletActionStepStatus,
@@ -649,6 +650,12 @@ export interface CreateCryptoDepositAccountWithConfigRequestBody {
649
650
  deposit_config_id: string;
650
651
 
651
652
  type: 'deposit_config';
653
+
654
+ /**
655
+ * How deposit source wallets are chosen. Omission uses `dedicated`. Destination
656
+ * reuse applies only to the destination's own chain type.
657
+ */
658
+ deposit_address_strategy?: CryptoDepositAddressStrategy;
652
659
  }
653
660
 
654
661
  /**
@@ -668,6 +675,12 @@ export interface CreateCryptoDepositAccountWithRouteRequestBody {
668
675
  source: CryptoDepositAssetFilter;
669
676
 
670
677
  type: 'inline_route';
678
+
679
+ /**
680
+ * How deposit source wallets are chosen. Omission uses `dedicated`. Destination
681
+ * reuse applies only to the destination's own chain type.
682
+ */
683
+ deposit_address_strategy?: CryptoDepositAddressStrategy;
671
684
  }
672
685
 
673
686
  /**
@@ -714,6 +727,37 @@ export interface CryptoDepositAccountConfigResponse {
714
727
  currencies: Array<CryptoDepositAccountSourceCurrency>;
715
728
  }
716
729
 
730
+ /**
731
+ * Source tokens matching a crypto deposit-account search.
732
+ */
733
+ export interface CryptoDepositAccountConfigSearchResponse {
734
+ chains: { [key: string]: CryptoDepositAccountChain };
735
+
736
+ currencies: Array<CryptoDepositAccountSearchCurrency>;
737
+ }
738
+
739
+ /**
740
+ * A source token matched by crypto deposit-account search.
741
+ */
742
+ export interface CryptoDepositAccountSearchCurrency {
743
+ chains: Array<CryptoDepositAccountSourceChain>;
744
+
745
+ name: string;
746
+
747
+ symbol: string;
748
+
749
+ /**
750
+ * Whether this token is verified as the canonical token for its symbol, since
751
+ * unverified tokens may be lookalikes.
752
+ */
753
+ verified: boolean;
754
+
755
+ /**
756
+ * URL of the token logo, omitted when none is known.
757
+ */
758
+ logo_uri?: string;
759
+ }
760
+
717
761
  /**
718
762
  * A token contract on one source chain in the crypto deposit-account catalog.
719
763
  */
@@ -773,6 +817,12 @@ export interface CryptoDepositAddressRoute {
773
817
  wallet_id: string;
774
818
  }
775
819
 
820
+ /**
821
+ * How deposit source wallets are chosen. Omission uses `dedicated`. Destination
822
+ * reuse applies only to the destination's own chain type.
823
+ */
824
+ export type CryptoDepositAddressStrategy = 'dedicated' | 'prefer_destination' | 'require_destination';
825
+
776
826
  /**
777
827
  * An asset on a chain. Uses a human-readable alias (usdc, tempo) when one is on
778
828
  * file, otherwise the raw asset address and CAIP-2.
@@ -898,6 +948,11 @@ export type CustodialWalletChainType = 'ethereum' | 'solana';
898
948
  * The input for creating a custodial wallet.
899
949
  */
900
950
  export interface CustodialWalletCreateInput {
951
+ /**
952
+ * The chain of the custodial wallet.
953
+ */
954
+ chain: CustodialWalletChain;
955
+
901
956
  /**
902
957
  * The provider of the custodial wallet.
903
958
  */
@@ -914,16 +969,6 @@ export interface CustodialWalletCreateInput {
914
969
  */
915
970
  additional_signers?: AdditionalSignerInput;
916
971
 
917
- /**
918
- * The chain of the custodial wallet.
919
- */
920
- chain?: CustodialWalletChain;
921
-
922
- /**
923
- * @deprecated The chain type of the custodial wallet (deprecated).
924
- */
925
- chain_type?: CustodialWalletChainType;
926
-
927
972
  /**
928
973
  * The owner of the resource, specified as a Privy user ID, a P-256 public key, or
929
974
  * null to remove the current owner.
@@ -968,6 +1013,84 @@ export interface CustomTokenTransferSource {
968
1013
  amount?: string;
969
1014
  }
970
1015
 
1016
+ /**
1017
+ * A positive decimal amount in the source token’s standard unit, not its smallest
1018
+ * on-chain unit.
1019
+ */
1020
+ export type DepositAccountCryptoQuoteAmount = string;
1021
+
1022
+ /**
1023
+ * An asset and chain for an indicative crypto deposit-account quote.
1024
+ */
1025
+ export interface DepositAccountCryptoQuoteAsset {
1026
+ /**
1027
+ * Named asset ID (e.g. "usdc", "eth") or chain-specific token contract or mint
1028
+ * address
1029
+ */
1030
+ asset: string;
1031
+
1032
+ /**
1033
+ * Friendly chain name or CAIP-2 identifier (e.g. "base", "eip155:8453")
1034
+ */
1035
+ chain: string;
1036
+ }
1037
+
1038
+ /**
1039
+ * Request body for an indicative crypto deposit-account route quote.
1040
+ */
1041
+ export interface DepositAccountCryptoQuoteRequestBody {
1042
+ /**
1043
+ * An asset and chain for an indicative crypto deposit-account quote.
1044
+ */
1045
+ destination: DepositAccountCryptoQuoteAsset;
1046
+
1047
+ /**
1048
+ * An asset and chain for an indicative crypto deposit-account quote.
1049
+ */
1050
+ source: DepositAccountCryptoQuoteAsset;
1051
+
1052
+ /**
1053
+ * A positive decimal amount in the source token’s standard unit, not its smallest
1054
+ * on-chain unit.
1055
+ */
1056
+ input_amount?: DepositAccountCryptoQuoteAmount;
1057
+
1058
+ /**
1059
+ * Value in basis points: integer from 0 to 10000 (0% to 100%).
1060
+ */
1061
+ slippage_bps?: SharedAPI.Bps;
1062
+ }
1063
+
1064
+ /**
1065
+ * An indicative crypto deposit-account quote. Amounts are in token standard units.
1066
+ */
1067
+ export interface DepositAccountCryptoQuoteResponse {
1068
+ created_at: string;
1069
+
1070
+ /**
1071
+ * Estimated output amount as a decimal string in the destination token's standard
1072
+ * unit. Not in the smallest on-chain unit.
1073
+ */
1074
+ estimated_output_amount: string;
1075
+
1076
+ /**
1077
+ * Quoted input amount as a decimal string in the source token's standard unit
1078
+ * (e.g. "0.02" for 0.02 ETH). Not in the smallest on-chain unit.
1079
+ */
1080
+ input_amount: string;
1081
+ }
1082
+
1083
+ /**
1084
+ * Derives the new wallet from an existing HD root wallet so both share one seed
1085
+ * phrase.
1086
+ */
1087
+ export interface DerivationInput {
1088
+ /**
1089
+ * ID of the HD root wallet to derive the new wallet from.
1090
+ */
1091
+ wallet_id: string;
1092
+ }
1093
+
971
1094
  /**
972
1095
  * Request body for detaching automations from a wallet (wallet ID comes from the
973
1096
  * URL).
@@ -3589,6 +3712,7 @@ export type TransactionChainNameInput =
3589
3712
  | 'solana'
3590
3713
  | 'sepolia'
3591
3714
  | 'arc'
3715
+ | 'monad'
3592
3716
  | (string & {});
3593
3717
 
3594
3718
  /**
@@ -3602,6 +3726,78 @@ export type TransactionDetail = TransferSentTransactionDetail | TransferReceived
3602
3726
  */
3603
3727
  export type TransactionTokenAddressInput = string;
3604
3728
 
3729
+ /**
3730
+ * Options for a transfer from a custodial wallet.
3731
+ */
3732
+ export interface TransferCustodyOptions {
3733
+ /**
3734
+ * Payment initiation context for transfers sourced from wallets that require
3735
+ * initiation data. Captures how the payment was initiated (channel and subchannel)
3736
+ * and whether Strong Customer Authentication was applied or which SCA exemption
3737
+ * was used.
3738
+ */
3739
+ initiation: TransferInitiation;
3740
+ }
3741
+
3742
+ /**
3743
+ * Payment initiation context for transfers sourced from wallets that require
3744
+ * initiation data. Captures how the payment was initiated (channel and subchannel)
3745
+ * and whether Strong Customer Authentication was applied or which SCA exemption
3746
+ * was used.
3747
+ */
3748
+ export interface TransferInitiation {
3749
+ /**
3750
+ * Payment initiation attestations for a transfer.
3751
+ */
3752
+ attestations: TransferInitiationAttestations;
3753
+
3754
+ /**
3755
+ * How the payment was initiated. Use `p2p_mobile_payment` for peer-to-peer
3756
+ * transfers initiated on a mobile device; `other_mobile_payment` for non-P2P
3757
+ * mobile-initiated payments (e.g. a merchant payment via a mobile app); `other`
3758
+ * for payments not relying on a mobile device.
3759
+ */
3760
+ channel: TransferInitiationChannel;
3761
+
3762
+ /**
3763
+ * Whether the payment was made remotely or in person. Use `remote` for payments
3764
+ * initiated from a distance (mobile app, online banking, or e-commerce checkout);
3765
+ * `non_remote` for payments made in person (physical card, payment terminal, or
3766
+ * contactless tap).
3767
+ */
3768
+ subchannel: TransferInitiationSubchannel;
3769
+ }
3770
+
3771
+ /**
3772
+ * Payment initiation attestations for a transfer.
3773
+ */
3774
+ export interface TransferInitiationAttestations {
3775
+ /**
3776
+ * Strong Customer Authentication attestation for a transfer.
3777
+ */
3778
+ sca: TransferScaAttestation;
3779
+ }
3780
+
3781
+ /**
3782
+ * How the payment was initiated. Use `p2p_mobile_payment` for peer-to-peer
3783
+ * transfers initiated on a mobile device; `other_mobile_payment` for non-P2P
3784
+ * mobile-initiated payments (e.g. a merchant payment via a mobile app); `other`
3785
+ * for payments not relying on a mobile device.
3786
+ */
3787
+ export type TransferInitiationChannel =
3788
+ | 'p2p_mobile_payment'
3789
+ | 'other_mobile_payment'
3790
+ | 'other'
3791
+ | (string & {});
3792
+
3793
+ /**
3794
+ * Whether the payment was made remotely or in person. Use `remote` for payments
3795
+ * initiated from a distance (mobile app, online banking, or e-commerce checkout);
3796
+ * `non_remote` for payments made in person (physical card, payment terminal, or
3797
+ * contactless tap).
3798
+ */
3799
+ export type TransferInitiationSubchannel = 'remote' | 'non_remote' | (string & {});
3800
+
3605
3801
  /**
3606
3802
  * Request body for requesting a quote for a cross-asset or cross-chain (DADC)
3607
3803
  * transfer.
@@ -3705,6 +3901,7 @@ export interface TransferReceivedTransactionDetail {
3705
3901
  | 'avax'
3706
3902
  | 'pol'
3707
3903
  | 'bnb'
3904
+ | 'mon'
3708
3905
  | 'usdt'
3709
3906
  | 'eurc'
3710
3907
  | 'usdb'
@@ -3764,6 +3961,11 @@ export interface TransferRequestBody {
3764
3961
  */
3765
3962
  amount_type?: AmountType;
3766
3963
 
3964
+ /**
3965
+ * Options for a transfer from a custodial wallet.
3966
+ */
3967
+ custody_options?: TransferCustodyOptions;
3968
+
3767
3969
  /**
3768
3970
  * Total fees assessed on a transfer, in BPS
3769
3971
  */
@@ -3787,6 +3989,112 @@ export interface TransferRequestBody {
3787
3989
  slippage_bps?: number;
3788
3990
  }
3789
3991
 
3992
+ /**
3993
+ * Strong Customer Authentication attestation for a transfer.
3994
+ */
3995
+ export interface TransferScaAttestation {
3996
+ /**
3997
+ * Whether Strong Customer Authentication (SCA) was applied or which regulatory
3998
+ * exemption or non-applicability reason covers this payment. Use `sca_used` when
3999
+ * the user authenticated with SCA. Otherwise, choose the value that applies:
4000
+ * `payment_to_self` — payer and payee are the same person (remote only);
4001
+ * `trusted_beneficiaries` — payee is on the user's pre-approved list;
4002
+ * `recurring_transaction` — amount and payee match a previously SCA-authorized
4003
+ * recurring series; `contactless_low_value` — contactless card payment below the
4004
+ * low-value threshold (non-remote only); `unattended_terminal_for_transport` —
4005
+ * automated terminal for transport fares or parking (non-remote only); `low_value`
4006
+ * — remote payment below the low-value threshold (remote only);
4007
+ * `secure_corporate_payment` — dedicated corporate payment process with controls
4008
+ * equivalent to SCA (remote only); `transaction_risk_analysis` — PSP has performed
4009
+ * real-time risk analysis and the transaction falls within permitted thresholds
4010
+ * (remote only); `merchant_initiated_transaction` — payment triggered by the
4011
+ * merchant without the payer present, on a pre-authorized mandate (remote only);
4012
+ * `not_applicable` — this flow requires initiation context but SCA and SCA
4013
+ * exemptions do not apply; `other` — another recognized exemption not listed
4014
+ * above.
4015
+ */
4016
+ outcome: TransferScaOutcome;
4017
+
4018
+ /**
4019
+ * Authentication factor metadata. Optional when `outcome` is `sca_used`; if
4020
+ * provided, it must contain at least two entries from different `category` values
4021
+ * (e.g. one `possession` factor and one `knowledge` factor). Omit this field for
4022
+ * any other outcome.
4023
+ */
4024
+ auth_factors?: Array<TransferScaAuthFactor>;
4025
+ }
4026
+
4027
+ /**
4028
+ * Authentication factor metadata for a transfer.
4029
+ */
4030
+ export interface TransferScaAuthFactor {
4031
+ /**
4032
+ * The ISO 8601 timestamp when this factor was authenticated.
4033
+ */
4034
+ authenticated_at: string;
4035
+
4036
+ /**
4037
+ * The type of authentication factor used. Known values are: `knowledge` (something
4038
+ * only the user knows, e.g. a PIN or password), `possession` (something only the
4039
+ * user has, e.g. a phone receiving an OTP or a hardware token), and `inherence`
4040
+ * (something the user is, e.g. a fingerprint or face scan). When `outcome` is
4041
+ * `sca_used`, the two factors in `auth_factors` must belong to two different
4042
+ * categories.
4043
+ */
4044
+ category: TransferScaAuthFactorCategory;
4045
+
4046
+ /**
4047
+ * Your internal identifier for this authentication event (e.g. a session ID,
4048
+ * transaction ID, or audit log reference). Used for reconciliation.
4049
+ */
4050
+ reference: string;
4051
+ }
4052
+
4053
+ /**
4054
+ * The type of authentication factor used. Known values are: `knowledge` (something
4055
+ * only the user knows, e.g. a PIN or password), `possession` (something only the
4056
+ * user has, e.g. a phone receiving an OTP or a hardware token), and `inherence`
4057
+ * (something the user is, e.g. a fingerprint or face scan). When `outcome` is
4058
+ * `sca_used`, the two factors in `auth_factors` must belong to two different
4059
+ * categories.
4060
+ */
4061
+ export type TransferScaAuthFactorCategory = 'knowledge' | 'possession' | 'inherence' | (string & {});
4062
+
4063
+ /**
4064
+ * Whether Strong Customer Authentication (SCA) was applied or which regulatory
4065
+ * exemption or non-applicability reason covers this payment. Use `sca_used` when
4066
+ * the user authenticated with SCA. Otherwise, choose the value that applies:
4067
+ * `payment_to_self` — payer and payee are the same person (remote only);
4068
+ * `trusted_beneficiaries` — payee is on the user's pre-approved list;
4069
+ * `recurring_transaction` — amount and payee match a previously SCA-authorized
4070
+ * recurring series; `contactless_low_value` — contactless card payment below the
4071
+ * low-value threshold (non-remote only); `unattended_terminal_for_transport` —
4072
+ * automated terminal for transport fares or parking (non-remote only); `low_value`
4073
+ * — remote payment below the low-value threshold (remote only);
4074
+ * `secure_corporate_payment` — dedicated corporate payment process with controls
4075
+ * equivalent to SCA (remote only); `transaction_risk_analysis` — PSP has performed
4076
+ * real-time risk analysis and the transaction falls within permitted thresholds
4077
+ * (remote only); `merchant_initiated_transaction` — payment triggered by the
4078
+ * merchant without the payer present, on a pre-authorized mandate (remote only);
4079
+ * `not_applicable` — this flow requires initiation context but SCA and SCA
4080
+ * exemptions do not apply; `other` — another recognized exemption not listed
4081
+ * above.
4082
+ */
4083
+ export type TransferScaOutcome =
4084
+ | 'sca_used'
4085
+ | 'payment_to_self'
4086
+ | 'trusted_beneficiaries'
4087
+ | 'recurring_transaction'
4088
+ | 'contactless_low_value'
4089
+ | 'unattended_terminal_for_transport'
4090
+ | 'low_value'
4091
+ | 'secure_corporate_payment'
4092
+ | 'transaction_risk_analysis'
4093
+ | 'merchant_initiated_transaction'
4094
+ | 'not_applicable'
4095
+ | 'other'
4096
+ | (string & {});
4097
+
3790
4098
  /**
3791
4099
  * Details for a sent transfer transaction.
3792
4100
  */
@@ -3798,6 +4106,7 @@ export interface TransferSentTransactionDetail {
3798
4106
  | 'avax'
3799
4107
  | 'pol'
3800
4108
  | 'bnb'
4109
+ | 'mon'
3801
4110
  | 'usdt'
3802
4111
  | 'eurc'
3803
4112
  | 'usdb'
@@ -4375,6 +4684,12 @@ export interface Wallet {
4375
4684
  */
4376
4685
  external_id?: string;
4377
4686
 
4687
+ /**
4688
+ * ID of the HD root wallet this wallet was derived from, or null if it was not
4689
+ * derived from another wallet.
4690
+ */
4691
+ parent_wallet_id?: string | null;
4692
+
4378
4693
  /**
4379
4694
  * The compressed, raw public key for the wallet along the chain cryptographic
4380
4695
  * curve.
@@ -4441,6 +4756,7 @@ export type WalletAsset =
4441
4756
  | 'avax'
4442
4757
  | 'pol'
4443
4758
  | 'bnb'
4759
+ | 'mon'
4444
4760
  | 'usdt'
4445
4761
  | 'eurc'
4446
4762
  | 'usdb'
@@ -4474,6 +4790,7 @@ export type WalletAssetChainNameInput =
4474
4790
  | 'hyperevm'
4475
4791
  | 'hypercore'
4476
4792
  | 'arc'
4793
+ | 'monad'
4477
4794
  | 'tempo_testnet'
4478
4795
  | 'hoodi'
4479
4796
  | 'sepolia'
@@ -4703,6 +5020,12 @@ export interface WalletBatchItemInput {
4703
5020
  */
4704
5021
  additional_signers?: AdditionalSignerInput;
4705
5022
 
5023
+ /**
5024
+ * Derives the new wallet from an existing HD root wallet so both share one seed
5025
+ * phrase.
5026
+ */
5027
+ derivation?: DerivationInput;
5028
+
4706
5029
  /**
4707
5030
  * A human-readable label for the wallet.
4708
5031
  */
@@ -4870,6 +5193,7 @@ export type WalletEthereumAsset =
4870
5193
  | 'avax'
4871
5194
  | 'pol'
4872
5195
  | 'bnb'
5196
+ | 'mon'
4873
5197
  | 'usdt'
4874
5198
  | 'eurc'
4875
5199
  | 'usdb'
@@ -5155,6 +5479,12 @@ export interface WalletCreateParams {
5155
5479
  */
5156
5480
  additional_signers?: AdditionalSignerInput;
5157
5481
 
5482
+ /**
5483
+ * Body param: Derives the new wallet from an existing HD root wallet so both share
5484
+ * one seed phrase.
5485
+ */
5486
+ derivation?: DerivationInput;
5487
+
5158
5488
  /**
5159
5489
  * Body param: A human-readable label for the wallet.
5160
5490
  */
@@ -6621,9 +6951,12 @@ export declare namespace Wallets {
6621
6951
  type CryptoDepositAccountCaip2 as CryptoDepositAccountCaip2,
6622
6952
  type CryptoDepositAccountChain as CryptoDepositAccountChain,
6623
6953
  type CryptoDepositAccountConfigResponse as CryptoDepositAccountConfigResponse,
6954
+ type CryptoDepositAccountConfigSearchResponse as CryptoDepositAccountConfigSearchResponse,
6955
+ type CryptoDepositAccountSearchCurrency as CryptoDepositAccountSearchCurrency,
6624
6956
  type CryptoDepositAccountSourceChain as CryptoDepositAccountSourceChain,
6625
6957
  type CryptoDepositAccountSourceCurrency as CryptoDepositAccountSourceCurrency,
6626
6958
  type CryptoDepositAddressRoute as CryptoDepositAddressRoute,
6959
+ type CryptoDepositAddressStrategy as CryptoDepositAddressStrategy,
6627
6960
  type CryptoDepositAsset as CryptoDepositAsset,
6628
6961
  type CryptoDepositAssetFilter as CryptoDepositAssetFilter,
6629
6962
  type CryptoDepositAssetFilterAll as CryptoDepositAssetFilterAll,
@@ -6637,6 +6970,11 @@ export declare namespace Wallets {
6637
6970
  type CustodialWalletCreateInput as CustodialWalletCreateInput,
6638
6971
  type CustodialWalletProvider as CustodialWalletProvider,
6639
6972
  type CustomTokenTransferSource as CustomTokenTransferSource,
6973
+ type DepositAccountCryptoQuoteAmount as DepositAccountCryptoQuoteAmount,
6974
+ type DepositAccountCryptoQuoteAsset as DepositAccountCryptoQuoteAsset,
6975
+ type DepositAccountCryptoQuoteRequestBody as DepositAccountCryptoQuoteRequestBody,
6976
+ type DepositAccountCryptoQuoteResponse as DepositAccountCryptoQuoteResponse,
6977
+ type DerivationInput as DerivationInput,
6640
6978
  type DetachWalletAutomationRequestBody as DetachWalletAutomationRequestBody,
6641
6979
  type DeveloperFee as DeveloperFee,
6642
6980
  type EncryptedAuthorizationKey as EncryptedAuthorizationKey,
@@ -6819,10 +7157,19 @@ export declare namespace Wallets {
6819
7157
  type TransactionChainNameInput as TransactionChainNameInput,
6820
7158
  type TransactionDetail as TransactionDetail,
6821
7159
  type TransactionTokenAddressInput as TransactionTokenAddressInput,
7160
+ type TransferCustodyOptions as TransferCustodyOptions,
7161
+ type TransferInitiation as TransferInitiation,
7162
+ type TransferInitiationAttestations as TransferInitiationAttestations,
7163
+ type TransferInitiationChannel as TransferInitiationChannel,
7164
+ type TransferInitiationSubchannel as TransferInitiationSubchannel,
6822
7165
  type TransferQuoteRequestBody as TransferQuoteRequestBody,
6823
7166
  type TransferQuoteResponse as TransferQuoteResponse,
6824
7167
  type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail,
6825
7168
  type TransferRequestBody as TransferRequestBody,
7169
+ type TransferScaAttestation as TransferScaAttestation,
7170
+ type TransferScaAuthFactor as TransferScaAuthFactor,
7171
+ type TransferScaAuthFactorCategory as TransferScaAuthFactorCategory,
7172
+ type TransferScaOutcome as TransferScaOutcome,
6826
7173
  type TransferSentTransactionDetail as TransferSentTransactionDetail,
6827
7174
  type TronContract as TronContract,
6828
7175
  type TronRawDataForSend as TronRawDataForSend,
@@ -6957,6 +7304,7 @@ export declare namespace Wallets {
6957
7304
  type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep,
6958
7305
  type TvmWalletActionStepStatus as TvmWalletActionStepStatus,
6959
7306
  type TempoVaultDetails as TempoVaultDetails,
7307
+ type TempoZoneSettlementWalletActionStep as TempoZoneSettlementWalletActionStep,
6960
7308
  type TransferActionResponse as TransferActionResponse,
6961
7309
  type VedaVaultDetails as VedaVaultDetails,
6962
7310
  type WalletActionInclude as WalletActionInclude,