@cobo/cobo-waas2 1.20.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/README.md +60 -4
  2. package/dist/ApiClient.js +11 -2
  3. package/dist/PreRequestScript.js +2 -4
  4. package/dist/api/AutoSweepApi.js +289 -0
  5. package/dist/api/PaymentApi.js +386 -24
  6. package/dist/api/TokenizationApi.js +1024 -0
  7. package/dist/api/TransactionsApi.js +103 -2
  8. package/dist/api/WalletsApi.js +2 -2
  9. package/dist/crypto/ApiSigner.js +5 -1
  10. package/dist/index.js +175 -0
  11. package/dist/model/AddressesEventData.js +3 -3
  12. package/dist/model/ApprovalDetail.js +7 -7
  13. package/dist/model/AutoSweepTask.js +198 -0
  14. package/dist/model/AutoSweepTaskStatus.js +61 -0
  15. package/dist/model/BalanceUpdateInfoEventData.js +3 -3
  16. package/dist/model/ChainsEventData.js +3 -3
  17. package/dist/model/CreateAutoSweepTask.js +126 -0
  18. package/dist/model/CreateCryptoAddressRequest.js +138 -0
  19. package/dist/model/CreateCustodialWalletParams.js +9 -0
  20. package/dist/model/CreateExchangeWalletParams.js +14 -0
  21. package/dist/model/CreateMpcWalletParams.js +14 -0
  22. package/dist/model/CreatePaymentOrderRequest.js +5 -5
  23. package/dist/model/CreateSafeWalletParams.js +9 -0
  24. package/dist/model/CreateSettlement.js +27 -4
  25. package/dist/model/CreateSmartContractWalletParams.js +6 -0
  26. package/dist/model/CreateSweepToAddress.js +126 -0
  27. package/dist/model/CreateWalletParams.js +6 -0
  28. package/dist/model/CreatedWalletInfo.js +6 -0
  29. package/dist/model/CryptoAddress.js +12 -12
  30. package/dist/model/CustodialWalletInfo.js +9 -0
  31. package/dist/model/DeleteCryptoAddress201Response.js +110 -0
  32. package/dist/model/ExchangeWalletInfo.js +14 -0
  33. package/dist/model/ForcedSweep.js +9 -9
  34. package/dist/model/ForcedSweepRequest.js +8 -9
  35. package/dist/model/GetTokenizationAllowlistActivation200Response.js +107 -0
  36. package/dist/model/ListAutoSweepTask200Response.js +123 -0
  37. package/dist/model/ListMerchantBalances200Response.js +107 -0
  38. package/dist/model/ListPaymentWalletBalances200Response.js +107 -0
  39. package/dist/model/ListSettlementDetails200Response.js +123 -0
  40. package/dist/model/ListTokenizationBlocklistAddresses200Response.js +145 -0
  41. package/dist/model/ListWalletSweepToAddresses200Response.js +107 -0
  42. package/dist/model/MPCVaultEventData.js +3 -3
  43. package/dist/model/MPCWalletInfo.js +14 -0
  44. package/dist/model/MerchantBalance.js +201 -0
  45. package/dist/model/PaymentAddressUpdateEventData.js +13 -13
  46. package/dist/model/PaymentOrderEventData.js +3 -3
  47. package/dist/model/PaymentRefundEventData.js +3 -3
  48. package/dist/model/PaymentSettlementEvent.js +42 -3
  49. package/dist/model/PaymentTransactionEventData.js +6 -6
  50. package/dist/model/PaymentWalletBalance.js +177 -0
  51. package/dist/model/PspBalance.js +175 -0
  52. package/dist/model/ReceivedAmountPerAddress.js +126 -0
  53. package/dist/model/SafeWallet.js +9 -0
  54. package/dist/model/Settlement.js +27 -0
  55. package/dist/model/SettlementDetail.js +26 -0
  56. package/dist/model/SettlementInfo.js +7 -7
  57. package/dist/model/SmartContractWalletInfo.js +6 -0
  58. package/dist/model/SuspendedTokenEventData.js +3 -3
  59. package/dist/model/SweepToAddress.js +135 -0
  60. package/dist/model/SweepToAddressStatus.js +61 -0
  61. package/dist/model/TSSRequestWebhookEventData.js +3 -3
  62. package/dist/model/TokenListingEventData.js +3 -3
  63. package/dist/model/TokenizationActivityInfo.js +8 -4
  64. package/dist/model/TokenizationAllowlistActivationRequest.js +13 -0
  65. package/dist/model/TokenizationAllowlistAddressNote.js +4 -4
  66. package/dist/model/TokenizationAllowlistAddressesResponse.js +145 -0
  67. package/dist/model/TokenizationBlocklistAddressNote.js +4 -4
  68. package/dist/model/TokenizationBurnEstimateFeeParams.js +13 -0
  69. package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +4 -4
  70. package/dist/model/TokenizationBurnTokenRequest.js +13 -0
  71. package/dist/model/TokenizationContractCallEstimateFeeParams.js +13 -0
  72. package/dist/model/TokenizationContractCallParamsData.js +43 -9
  73. package/dist/model/TokenizationContractCallRequest.js +13 -0
  74. package/dist/model/TokenizationContractCallType.js +5 -0
  75. package/dist/model/TokenizationERC20TokenParams.js +4 -4
  76. package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +6 -0
  77. package/dist/model/TokenizationEvmContractCallParams.js +2 -2
  78. package/dist/model/TokenizationIssueEstimateFeeParams.js +13 -0
  79. package/dist/model/TokenizationIssueTokenParamsTokenParams.js +40 -12
  80. package/dist/model/TokenizationIssuedTokenRequest.js +14 -1
  81. package/dist/model/TokenizationMintEstimateFeeParams.js +13 -0
  82. package/dist/model/TokenizationMintTokenRequest.js +13 -0
  83. package/dist/model/TokenizationMpcOperationSource.js +2 -2
  84. package/dist/model/TokenizationPauseEstimateFeeParams.js +13 -0
  85. package/dist/model/TokenizationPauseTokenRequest.js +13 -0
  86. package/dist/model/TokenizationSOLTokenParams.js +173 -0
  87. package/dist/model/TokenizationSolContractCallParams.js +137 -0
  88. package/dist/model/TokenizationSolTokenPermissionParams.js +140 -0
  89. package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +13 -0
  90. package/dist/model/TokenizationTokenDetailInfo.js +6 -6
  91. package/dist/model/TokenizationTokenInfo.js +4 -4
  92. package/dist/model/TokenizationTokenOperationSource.js +1 -1
  93. package/dist/model/TokenizationTokenPermissionParams.js +1 -1
  94. package/dist/model/TokenizationTokenPermissionType.js +15 -0
  95. package/dist/model/TokenizationTokenStandard.js +5 -0
  96. package/dist/model/TokenizationUnpauseEstimateFeeParams.js +13 -0
  97. package/dist/model/TokenizationUnpauseTokenRequest.js +13 -0
  98. package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +13 -0
  99. package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +1 -1
  100. package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +13 -0
  101. package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +13 -0
  102. package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +1 -1
  103. package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +13 -0
  104. package/dist/model/TokenizationWeb3OperationSource.js +2 -2
  105. package/dist/model/TokensEventData.js +3 -3
  106. package/dist/model/TopUpAddress.js +0 -1
  107. package/dist/model/TransactionWebhookEventData.js +3 -3
  108. package/dist/model/UpdateCustodialWalletParams.js +13 -6
  109. package/dist/model/UpdateMpcWalletParams.js +13 -6
  110. package/dist/model/UpdateTopUpAddress.js +3 -3
  111. package/dist/model/UpdateWalletParams.js +6 -0
  112. package/dist/model/WalletInfo.js +6 -0
  113. package/dist/model/WalletInfoEventData.js +3 -3
  114. package/dist/model/WebhookEventData.js +19 -7
  115. package/dist/model/WebhookEventDataType.js +2 -2
  116. package/docs/AddressesEventData.md +1 -1
  117. package/docs/ApprovalDetail.md +1 -1
  118. package/docs/AutoSweepApi.md +285 -0
  119. package/docs/AutoSweepTask.md +16 -0
  120. package/docs/AutoSweepTaskStatus.md +12 -0
  121. package/docs/BalanceUpdateInfoEventData.md +1 -1
  122. package/docs/ChainsEventData.md +1 -1
  123. package/docs/CreateAutoSweepTask.md +10 -0
  124. package/docs/CreateCryptoAddressRequest.md +11 -0
  125. package/docs/CreateCustodialWalletParams.md +1 -0
  126. package/docs/CreateExchangeWalletParams.md +1 -0
  127. package/docs/CreateMpcWalletParams.md +1 -0
  128. package/docs/CreatePaymentOrderRequest.md +3 -3
  129. package/docs/CreateSafeWalletParams.md +1 -0
  130. package/docs/CreateSettlement.md +1 -1
  131. package/docs/CreateSmartContractWalletParams.md +1 -0
  132. package/docs/CreateSweepToAddress.md +10 -0
  133. package/docs/CreateWalletParams.md +1 -0
  134. package/docs/CreatedWalletInfo.md +1 -0
  135. package/docs/CryptoAddress.md +1 -1
  136. package/docs/CustodialWalletInfo.md +1 -0
  137. package/docs/DeleteCryptoAddress201Response.md +9 -0
  138. package/docs/ExchangeWalletInfo.md +1 -0
  139. package/docs/ForcedSweep.md +7 -7
  140. package/docs/ForcedSweepRequest.md +4 -4
  141. package/docs/GetTokenizationAllowlistActivation200Response.md +9 -0
  142. package/docs/ListAutoSweepTask200Response.md +10 -0
  143. package/docs/ListMerchantBalances200Response.md +9 -0
  144. package/docs/ListPaymentWalletBalances200Response.md +9 -0
  145. package/docs/ListSettlementDetails200Response.md +10 -0
  146. package/docs/ListTokenizationBlocklistAddresses200Response.md +10 -0
  147. package/docs/ListWalletSweepToAddresses200Response.md +9 -0
  148. package/docs/MPCVaultEventData.md +1 -1
  149. package/docs/MPCWalletInfo.md +1 -0
  150. package/docs/MerchantBalance.md +16 -0
  151. package/docs/PaymentAddressUpdateEventData.md +6 -6
  152. package/docs/PaymentApi.md +403 -16
  153. package/docs/PaymentOrderEventData.md +1 -1
  154. package/docs/PaymentRefundEventData.md +1 -1
  155. package/docs/PaymentSettlementEvent.md +4 -1
  156. package/docs/PaymentTransactionEventData.md +4 -4
  157. package/docs/PaymentWalletBalance.md +14 -0
  158. package/docs/PspBalance.md +14 -0
  159. package/docs/ReceivedAmountPerAddress.md +10 -0
  160. package/docs/SafeWallet.md +1 -0
  161. package/docs/Settlement.md +3 -0
  162. package/docs/SettlementDetail.md +2 -0
  163. package/docs/SettlementInfo.md +6 -6
  164. package/docs/SmartContractWalletInfo.md +1 -0
  165. package/docs/SuspendedTokenEventData.md +1 -1
  166. package/docs/SweepToAddress.md +11 -0
  167. package/docs/SweepToAddressStatus.md +12 -0
  168. package/docs/TSSRequestWebhookEventData.md +1 -1
  169. package/docs/TokenListingEventData.md +1 -1
  170. package/docs/TokenizationActivityInfo.md +2 -2
  171. package/docs/TokenizationAllowlistActivationRequest.md +1 -0
  172. package/docs/TokenizationAllowlistAddressNote.md +3 -3
  173. package/docs/TokenizationAllowlistAddressesResponse.md +10 -0
  174. package/docs/TokenizationApi.md +1069 -0
  175. package/docs/TokenizationBlocklistAddressNote.md +3 -3
  176. package/docs/TokenizationBurnEstimateFeeParams.md +1 -0
  177. package/docs/TokenizationBurnTokenParamsBurnsInner.md +2 -2
  178. package/docs/TokenizationBurnTokenRequest.md +1 -0
  179. package/docs/TokenizationContractCallEstimateFeeParams.md +1 -0
  180. package/docs/TokenizationContractCallParamsData.md +2 -1
  181. package/docs/TokenizationContractCallRequest.md +1 -0
  182. package/docs/TokenizationContractCallType.md +2 -0
  183. package/docs/TokenizationERC20TokenParams.md +1 -1
  184. package/docs/TokenizationEstimateFeeRequestOperationParams.md +1 -0
  185. package/docs/TokenizationEvmContractCallParams.md +1 -1
  186. package/docs/TokenizationIssueEstimateFeeParams.md +1 -0
  187. package/docs/TokenizationIssueTokenParamsTokenParams.md +2 -2
  188. package/docs/TokenizationIssuedTokenRequest.md +2 -1
  189. package/docs/TokenizationMintEstimateFeeParams.md +1 -0
  190. package/docs/TokenizationMintTokenRequest.md +1 -0
  191. package/docs/TokenizationMpcOperationSource.md +1 -1
  192. package/docs/TokenizationPauseEstimateFeeParams.md +1 -0
  193. package/docs/TokenizationPauseTokenRequest.md +1 -0
  194. package/docs/TokenizationSOLTokenParams.md +14 -0
  195. package/docs/TokenizationSolContractCallParams.md +10 -0
  196. package/docs/TokenizationSolTokenPermissionParams.md +13 -0
  197. package/docs/TokenizationToggleAllowlistEstimateFeeParams.md +1 -0
  198. package/docs/TokenizationTokenDetailInfo.md +1 -1
  199. package/docs/TokenizationTokenInfo.md +1 -1
  200. package/docs/TokenizationTokenOperationSource.md +1 -1
  201. package/docs/TokenizationTokenPermissionType.md +6 -0
  202. package/docs/TokenizationTokenStandard.md +2 -0
  203. package/docs/TokenizationUnpauseEstimateFeeParams.md +1 -0
  204. package/docs/TokenizationUnpauseTokenRequest.md +1 -0
  205. package/docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md +1 -0
  206. package/docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md +1 -1
  207. package/docs/TokenizationUpdateAllowlistAddressesRequest.md +1 -0
  208. package/docs/TokenizationUpdateBlocklistAddressesEstimateFeeParams.md +1 -0
  209. package/docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md +1 -1
  210. package/docs/TokenizationUpdateBlocklistAddressesRequest.md +1 -0
  211. package/docs/TokenizationWeb3OperationSource.md +1 -1
  212. package/docs/TokensEventData.md +1 -1
  213. package/docs/TransactionWebhookEventData.md +1 -1
  214. package/docs/TransactionsApi.md +113 -1
  215. package/docs/UpdateCustodialWalletParams.md +2 -1
  216. package/docs/UpdateMpcWalletParams.md +2 -1
  217. package/docs/UpdateTopUpAddress.md +1 -1
  218. package/docs/UpdateWalletParams.md +1 -0
  219. package/docs/WalletInfo.md +1 -0
  220. package/docs/WalletInfoEventData.md +1 -1
  221. package/docs/WalletsApi.md +1 -1
  222. package/docs/WebhookEventData.md +9 -7
  223. package/docs/WebhookEventDataType.md +1 -1
  224. package/package.json +1 -1
@@ -0,0 +1,285 @@
1
+ # CoboWaas2.AutoSweepApi
2
+
3
+ All URIs are relative to *https://api.dev.cobo.com/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**createAutoSweepTask**](AutoSweepApi.md#createAutoSweepTask) | **POST** /auto_sweep/tasks | create auto sweep task
8
+ [**createWalletSweepToAddresses**](AutoSweepApi.md#createWalletSweepToAddresses) | **POST** /auto_sweep/sweep_to_addresses | create wallet sweep to addresses
9
+ [**getAutoSweepTaskById**](AutoSweepApi.md#getAutoSweepTaskById) | **GET** /auto_sweep/tasks/{task_id} | Get auto sweep task information
10
+ [**listAutoSweepTask**](AutoSweepApi.md#listAutoSweepTask) | **GET** /auto_sweep/tasks | List wallet auto sweep task
11
+ [**listWalletSweepToAddresses**](AutoSweepApi.md#listWalletSweepToAddresses) | **GET** /auto_sweep/sweep_to_addresses | List wallet sweep to addresses
12
+
13
+
14
+
15
+ ## createAutoSweepTask
16
+
17
+ > AutoSweepTask createAutoSweepTask(opts)
18
+
19
+ create auto sweep task
20
+
21
+ This operation create a new auto sweep task.
22
+
23
+ ### Example
24
+
25
+ ```javascript
26
+ const CoboWaas2 = require('@cobo/cobo-waas2');
27
+ // Initialize the API client
28
+ const apiClient = CoboWaas2.ApiClient.instance
29
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
30
+ apiClient.setEnv(CoboWaas2.Env.DEV);
31
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
32
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
33
+ // Call the API
34
+ const apiInstance = new CoboWaas2.AutoSweepApi();
35
+ const opts = {
36
+ 'CreateAutoSweepTask': new CoboWaas2.CreateAutoSweepTask()
37
+ };
38
+ apiInstance.createAutoSweepTask(opts).then((data) => {
39
+ console.log('API called successfully. Returned data: ' + data);
40
+ }, (error) => {
41
+ console.error(error);
42
+ });
43
+
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **CreateAutoSweepTask** | [**CreateAutoSweepTask**](CreateAutoSweepTask.md)| The request body to generates a new sweep to addresses within a specified wallet. | [optional]
52
+
53
+ ### Return type
54
+
55
+ [**AutoSweepTask**](AutoSweepTask.md)
56
+
57
+ ### Authorization
58
+
59
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: application/json
64
+ - **Accept**: application/json
65
+
66
+
67
+ ## createWalletSweepToAddresses
68
+
69
+ > SweepToAddress createWalletSweepToAddresses(opts)
70
+
71
+ create wallet sweep to addresses
72
+
73
+ This operation create a new sweep to address for the wallet. The old sweep to address will become invalid.
74
+
75
+ ### Example
76
+
77
+ ```javascript
78
+ const CoboWaas2 = require('@cobo/cobo-waas2');
79
+ // Initialize the API client
80
+ const apiClient = CoboWaas2.ApiClient.instance
81
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
82
+ apiClient.setEnv(CoboWaas2.Env.DEV);
83
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
84
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
85
+ // Call the API
86
+ const apiInstance = new CoboWaas2.AutoSweepApi();
87
+ const opts = {
88
+ 'CreateSweepToAddress': new CoboWaas2.CreateSweepToAddress()
89
+ };
90
+ apiInstance.createWalletSweepToAddresses(opts).then((data) => {
91
+ console.log('API called successfully. Returned data: ' + data);
92
+ }, (error) => {
93
+ console.error(error);
94
+ });
95
+
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+
101
+ Name | Type | Description | Notes
102
+ ------------- | ------------- | ------------- | -------------
103
+ **CreateSweepToAddress** | [**CreateSweepToAddress**](CreateSweepToAddress.md)| The request body to generates a new sweep to addresses within a specified wallet. | [optional]
104
+
105
+ ### Return type
106
+
107
+ [**SweepToAddress**](SweepToAddress.md)
108
+
109
+ ### Authorization
110
+
111
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: application/json
116
+ - **Accept**: application/json
117
+
118
+
119
+ ## getAutoSweepTaskById
120
+
121
+ > AutoSweepTask getAutoSweepTaskById(task_id)
122
+
123
+ Get auto sweep task information
124
+
125
+ This operation retrieves detailed information about a specified auto sweep task.
126
+
127
+ ### Example
128
+
129
+ ```javascript
130
+ const CoboWaas2 = require('@cobo/cobo-waas2');
131
+ // Initialize the API client
132
+ const apiClient = CoboWaas2.ApiClient.instance
133
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
134
+ apiClient.setEnv(CoboWaas2.Env.DEV);
135
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
136
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
137
+ // Call the API
138
+ const apiInstance = new CoboWaas2.AutoSweepApi();
139
+ const task_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
140
+ apiInstance.getAutoSweepTaskById(task_id).then((data) => {
141
+ console.log('API called successfully. Returned data: ' + data);
142
+ }, (error) => {
143
+ console.error(error);
144
+ });
145
+
146
+ ```
147
+
148
+ ### Parameters
149
+
150
+
151
+ Name | Type | Description | Notes
152
+ ------------- | ------------- | ------------- | -------------
153
+ **task_id** | **String**| The auto sweep task ID. |
154
+
155
+ ### Return type
156
+
157
+ [**AutoSweepTask**](AutoSweepTask.md)
158
+
159
+ ### Authorization
160
+
161
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
162
+
163
+ ### HTTP request headers
164
+
165
+ - **Content-Type**: Not defined
166
+ - **Accept**: application/json
167
+
168
+
169
+ ## listAutoSweepTask
170
+
171
+ > ListAutoSweepTask200Response listAutoSweepTask(wallet_id, opts)
172
+
173
+ List wallet auto sweep task
174
+
175
+ This operation retrieves a list of auto sweep task.
176
+
177
+ ### Example
178
+
179
+ ```javascript
180
+ const CoboWaas2 = require('@cobo/cobo-waas2');
181
+ // Initialize the API client
182
+ const apiClient = CoboWaas2.ApiClient.instance
183
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
184
+ apiClient.setEnv(CoboWaas2.Env.DEV);
185
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
186
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
187
+ // Call the API
188
+ const apiInstance = new CoboWaas2.AutoSweepApi();
189
+ const wallet_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
190
+ const opts = {
191
+ 'token_id': "ETH_USDT",
192
+ 'task_ids': "f47ac10b-58cc-4372-a567-0e02b2c3d479,1ddca562-8434-41c9-8809-d437bad9c868",
193
+ 'min_created_timestamp': 1635744000000,
194
+ 'max_created_timestamp': 1635744000000,
195
+ 'limit': 10,
196
+ 'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
197
+ 'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk",
198
+ 'direction': "ASC"
199
+ };
200
+ apiInstance.listAutoSweepTask(wallet_id, opts).then((data) => {
201
+ console.log('API called successfully. Returned data: ' + data);
202
+ }, (error) => {
203
+ console.error(error);
204
+ });
205
+
206
+ ```
207
+
208
+ ### Parameters
209
+
210
+
211
+ Name | Type | Description | Notes
212
+ ------------- | ------------- | ------------- | -------------
213
+ **wallet_id** | **String**| The wallet ID. |
214
+ **token_id** | **String**| The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). | [optional]
215
+ **task_ids** | **String**| A list of auto sweep task IDs, separated by comma. | [optional]
216
+ **min_created_timestamp** | **Number**| The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If not provided, the default value is 90 days before the current time. This default value is subject to change. | [optional]
217
+ **max_created_timestamp** | **Number**| The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If not provided, the default value is the current time. This default value is subject to change. | [optional]
218
+ **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
219
+ **before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
220
+ **after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
221
+ **direction** | **String**| The sort direction. Possible values include: - &#x60;ASC&#x60;: Sort the results in ascending order. - &#x60;DESC&#x60;: Sort the results in descending order. | [optional] [default to &#39;ASC&#39;]
222
+
223
+ ### Return type
224
+
225
+ [**ListAutoSweepTask200Response**](ListAutoSweepTask200Response.md)
226
+
227
+ ### Authorization
228
+
229
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
230
+
231
+ ### HTTP request headers
232
+
233
+ - **Content-Type**: Not defined
234
+ - **Accept**: application/json
235
+
236
+
237
+ ## listWalletSweepToAddresses
238
+
239
+ > ListWalletSweepToAddresses200Response listWalletSweepToAddresses(wallet_id)
240
+
241
+ List wallet sweep to addresses
242
+
243
+ This operation retrieves a list of sweep to addresses within your wallet.
244
+
245
+ ### Example
246
+
247
+ ```javascript
248
+ const CoboWaas2 = require('@cobo/cobo-waas2');
249
+ // Initialize the API client
250
+ const apiClient = CoboWaas2.ApiClient.instance
251
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
252
+ apiClient.setEnv(CoboWaas2.Env.DEV);
253
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
254
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
255
+ // Call the API
256
+ const apiInstance = new CoboWaas2.AutoSweepApi();
257
+ const wallet_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
258
+ apiInstance.listWalletSweepToAddresses(wallet_id).then((data) => {
259
+ console.log('API called successfully. Returned data: ' + data);
260
+ }, (error) => {
261
+ console.error(error);
262
+ });
263
+
264
+ ```
265
+
266
+ ### Parameters
267
+
268
+
269
+ Name | Type | Description | Notes
270
+ ------------- | ------------- | ------------- | -------------
271
+ **wallet_id** | **String**| The wallet ID. |
272
+
273
+ ### Return type
274
+
275
+ [**ListWalletSweepToAddresses200Response**](ListWalletSweepToAddresses200Response.md)
276
+
277
+ ### Authorization
278
+
279
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
280
+
281
+ ### HTTP request headers
282
+
283
+ - **Content-Type**: Not defined
284
+ - **Accept**: application/json
285
+
@@ -0,0 +1,16 @@
1
+ # CoboWaas2.AutoSweepTask
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **task_id** | **String** | The auto sweep task ID. |
8
+ **wallet_id** | **String** | The wallet ID. |
9
+ **token_id** | **String** | The token ID of the swept token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). |
10
+ **status** | [**AutoSweepTaskStatus**](AutoSweepTaskStatus.md) | |
11
+ **transaction_ids** | **[String]** | The IDs of the corresponding transactions of the auto sweep task. | [optional]
12
+ **failed_reasons** | **[String]** | Failed reason of create auto sweep transaction. | [optional]
13
+ **created_timestamp** | **Number** | The time when the task was created, in Unix timestamp format, measured in milliseconds. |
14
+ **updated_timestamp** | **Number** | The time when the task was updated, in Unix timestamp format, measured in milliseconds. | [optional]
15
+
16
+
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.AutoSweepTaskStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `Submitted` (value: `"Submitted"`)
7
+
8
+ * `TransactionCreated` (value: `"TransactionCreated"`)
9
+
10
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
11
+
12
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The payment address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
8
8
  **token_id** | **String** | The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). |
9
9
  **address** | **String** | The wallet address. |
10
10
  **wallet_uuid** | **String** | The wallet ID. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The payment address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
8
8
  **chains** | [**[ChainInfo]**](ChainInfo.md) | The enabled chains. |
9
9
  **wallet_type** | [**WalletType**](WalletType.md) | | [optional]
10
10
  **wallet_subtypes** | [**[WalletSubtype]**](WalletSubtype.md) | | [optional]
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CreateAutoSweepTask
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **wallet_id** | **String** | The wallet ID. |
8
+ **token_id** | **String** | The token ID of the swept token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). |
9
+
10
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.CreateCryptoAddressRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **token_id** | **String** | The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format &#x60;{CHAIN}_{TOKEN}&#x60;. Supported values include: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
8
+ **address** | **String** | The blockchain address in its native format. This is the actual destination address where funds will be sent. The address must match the format required by the specified blockchain. For example: - For &#x60;SOL_USDC&#x60;: Provide a Solana address - For &#x60;ETH_USDT&#x60;: Provide an Ethereum address |
9
+ **label** | **String** | A label to help identify the address&#39;s purpose. | [optional]
10
+
11
+
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | The wallet name. |
8
8
  **wallet_type** | [**WalletType**](WalletType.md) | |
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet. This parameter only applies to MPC and Web3 wallets. | [optional]
10
11
 
11
12
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | The wallet name. |
8
8
  **wallet_type** | [**WalletType**](WalletType.md) | |
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet. This parameter only applies to MPC and Web3 wallets. | [optional]
10
11
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
11
12
  **apikey** | **String** | The API key of your exchange account. |
12
13
  **secret** | **String** | The API secret of your exchange account. |
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | The wallet name. |
8
8
  **wallet_type** | [**WalletType**](WalletType.md) | |
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet. This parameter only applies to MPC and Web3 wallets. | [optional]
10
11
  **vault_id** | **String** | The ID of the owning vault. You can call [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization. |
11
12
 
12
13
 
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **merchant_id** | **String** | The merchant ID. |
8
8
  **token_id** | **String** | The ID of the cryptocurrency used for payment. Supported values: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
9
- **currency** | **String** | The fiat currency of the order. Currently, only &#x60;USD&#x60; is supported. | [optional] [default to &#39;&#39;]
10
- **order_amount** | **String** | The base amount of the order in fiat currency, excluding the developer fee (specified in &#x60;fee_amount&#x60;). Values must be greater than &#x60;0&#x60; and contain two decimal places. |
11
- **fee_amount** | **String** | The developer fee for the order in fiat currency. It is added to the base amount (&#x60;order_amount&#x60;) to determine the final charge. For example, if order_amount is \&quot;100.00\&quot; and fee_amount is \&quot;2.00\&quot;, the customer will be charged \&quot;102.00\&quot; in total, with \&quot;100.00\&quot; being settled to the merchant and \&quot;2.00\&quot; settled to the developer. Values must be greater than 0 and contain two decimal places. |
9
+ **currency** | **String** | The fiat currency for the base order amount and the developer fee. Currently, only &#x60;USD&#x60; is supported. If left empty, both &#x60;order_amount&#x60; and &#x60;fee_amount&#x60; will be denominated in the cryptocurrency specified by &#x60;token_id&#x60; | [optional] [default to &#39;&#39;]
10
+ **order_amount** | **String** | The base amount of the order, excluding the developer fee (specified in &#x60;fee_amount&#x60;), in the currency specified by &#x60;currency&#x60;. If &#x60;currency&#x60; is not specified, the amount is in the cryptocurrency specified by &#x60;token_id&#x60;. Values must be greater than &#x60;0&#x60; and contain two decimal places. |
11
+ **fee_amount** | **String** | The developer fee for the order, in the currency specified by &#x60;currency&#x60;. If &#x60;currency&#x60; is not specified, the fee is in the cryptocurrency specified by &#x60;token_id&#x60;. The developer fee is added to the base amount (&#x60;order_amount&#x60;) to determine the final charge. For example: - Base amount (&#x60;order_amount&#x60;): \&quot;100.00\&quot; - Developer fee (&#x60;fee_amount&#x60;): \&quot;2.00\&quot; - Total charged to customer: \&quot;102.00\&quot; Values must be greater than 0 and contain two decimal places. |
12
12
  **merchant_order_code** | **String** | A unique reference code assigned by the merchant to identify this order in their system. The code should have a maximum length of 128 characters. | [optional]
13
13
  **psp_order_code** | **String** | A unique reference code assigned by you as a developer to identify this order in your system. This code must be unique across all orders in your system. The code should have a maximum length of 128 characters. |
14
14
  **expired_in** | **Number** | The number of seconds until the pay-in order expires, counted from when the request is sent. For example, if set to &#x60;1800&#x60;, the order will expire in 30 minutes. After expiration: - The order status becomes final and cannot be changed - The &#x60;received_token_amount&#x60; field will no longer be updated - Funds received after expiration will be categorized as late payments and can only be settled from the developer balance. - A late payment will trigger a &#x60;transactionLate&#x60; webhook event. | [optional] [default to 1800]
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | The wallet name. |
8
8
  **wallet_type** | [**WalletType**](WalletType.md) | |
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet. This parameter only applies to MPC and Web3 wallets. | [optional]
10
11
  **chain_id** | **String** | The ID of the chain that the wallet operates on. |
11
12
  **smart_contract_wallet_type** | [**SmartContractWalletType**](SmartContractWalletType.md) | |
12
13
  **safe_address** | **String** | The address of the Smart Contract Wallet. If this is not provided, Cobo will create a new Safe{Wallet} and set up Cobo Safe for you. In that case, the &#x60;threshold&#x60; and &#x60;signers&#x60; properties are required. | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **merchant_id** | **String** | The merchant ID. Specify this field when &#x60;settlement_type&#x60; is set to &#x60;Merchant&#x60;. | [optional]
8
- **token_id** | **String** | The ID of the cryptocurrency you want to settle. Specify this field when &#x60;payout_channel&#x60; is set to &#x60;Crypto&#x60;. Supported values: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; | [optional]
8
+ **token_id** | **String** | The ID of the cryptocurrency you want to settle. Specify this field when &#x60;payout_channel&#x60; is set to &#x60;Crypto&#x60;. Supported values: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
9
9
  **currency** | **String** | The fiat currency for settling the cryptocurrency. Currently, only &#x60;USD&#x60; is supported. Specify this field when &#x60;payout_channel&#x60; is set to &#x60;OffRamp&#x60;. | [optional]
10
10
  **amount** | **String** | The settlement amount. When settling merchant balance from orders (&#x60;acquiring_type&#x60; is &#x60;Order&#x60; and &#x60;settlement_type&#x60; is &#x60;Merchant&#x60;), do not specify this field as the settlement amount will be automatically calculated based on the order amounts. - If &#x60;payout_channel&#x60; is set to &#x60;Crypto&#x60;, this represents the settlement amount in the specified cryptocurrency. - If &#x60;payout_channel&#x60; is set to &#x60;OffRamp&#x60;, this represents the settlement amount in the specified fiat currency. | [optional]
11
11
  **bank_account_id** | **String** | The ID of the bank account where the settled funds will be deposited. This field is only applicable when &#x60;payout_channel&#x60; is set to &#x60;OffRamp&#x60;. Call [List all bank accounts](/v2/api-references/payment/list-all-bank-accounts) to retrieve the IDs of registered bank accounts. | [optional]
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | The wallet name. |
8
8
  **wallet_type** | [**WalletType**](WalletType.md) | |
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet. This parameter only applies to MPC and Web3 wallets. | [optional]
10
11
  **chain_id** | **String** | The ID of the chain that the wallet operates on. |
11
12
  **smart_contract_wallet_type** | [**SmartContractWalletType**](SmartContractWalletType.md) | |
12
13
  **safe_address** | **String** | The address of the Smart Contract Wallet. If this is not provided, Cobo will create a new Safe{Wallet} and set up Cobo Safe for you. In that case, the &#x60;threshold&#x60; and &#x60;signers&#x60; properties are required. | [optional]
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CreateSweepToAddress
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **wallet_id** | **String** | The wallet ID. |
8
+ **chain_id** | **String** | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains). |
9
+
10
+
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | The wallet name. |
8
8
  **wallet_type** | [**WalletType**](WalletType.md) | |
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet. This parameter only applies to MPC and Web3 wallets. | [optional]
10
11
  **vault_id** | **String** | The ID of the owning vault. You can call [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization. |
11
12
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
12
13
  **apikey** | **String** | The API key of your exchange account. |
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
10
  **name** | **String** | The wallet name. |
11
11
  **org_id** | **String** | The ID of the owning organization. |
12
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet | [optional]
12
13
  **project_id** | **String** | The project ID. | [optional]
13
14
  **project_name** | **String** | The project name. | [optional]
14
15
  **vault_id** | **String** | The ID of the owning vault. |
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **token_id** | **String** | The token identifier (e.g., ETH_USDT, TRON_USDT) that this address is associated with. |
8
- **address_id** | **String** | A unique identifier for this crypto address, automatically generated by Cobo. Use this ID (not the raw blockchain address) when submitting a settlement request. |
8
+ **crypto_address_id** | **String** | A unique identifier for this crypto address, automatically generated by Cobo. Use this ID (not the raw blockchain address) when submitting a settlement request. |
9
9
  **address** | **String** | The blockchain address in its native format. This is the actual destination address where funds will be sent. Note: When submitting a settlement request, use the address ID rather than this raw address. |
10
10
  **label** | **String** | A label to help identify the address&#39;s purpose. | [optional]
11
11
  **created_timestamp** | **Number** | The creation time of the crypto address, represented as a UNIX timestamp in seconds. | [optional]
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
10
  **name** | **String** | The wallet name. |
11
11
  **org_id** | **String** | The ID of the owning organization. |
12
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet | [optional]
12
13
 
13
14
 
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.DeleteCryptoAddress201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **crypto_address_id** | **String** | The ID of the deleted crypto address. |
8
+
9
+
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
10
  **name** | **String** | The wallet name. |
11
11
  **org_id** | **String** | The ID of the owning organization. |
12
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet | [optional]
12
13
  **apikey** | **String** | The API key of your exchange account. |
13
14
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
14
15
  **main_wallet_id** | **String** | The wallet ID of the Main Account associated with the Sub Account. This property is returned only if you are creating or querying an Exchange Wallet (Sub Account). | [optional]
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **forced_sweep_id** | **String** | The force sweep ID. |
8
- **request_id** | **String** | The request ID provided by you when creating the force sweep request. |
9
- **wallet_id** | **String** | The wallet ID to force sweep, which is the unique identifier of a wallet. | [optional]
10
- **token_id** | **String** | The token ID to force sweep, which is the unique identifier of a token. | [optional]
11
- **amount** | **String** | The amount of needing force sweep. | [optional]
7
+ **forced_sweep_id** | **String** | The forced sweep ID generated by Cobo. |
8
+ **request_id** | **String** | The request ID provided by you when creating the forced sweep. |
9
+ **wallet_id** | **String** | The ID of the wallet in which the funds have been forcefully swept. | [optional]
10
+ **token_id** | **String** | The ID of the token that has been forcefully swept. | [optional]
11
+ **amount** | **String** | The amount of token that has been forcefully swept. | [optional]
12
12
  **status** | [**ForcedSweepStatus**](ForcedSweepStatus.md) | |
13
- **created_timestamp** | **Number** | The created time of the force sweep request, represented as a UNIX timestamp in seconds. | [optional]
14
- **updated_timestamp** | **Number** | The updated time of the force sweep request, represented as a UNIX timestamp in seconds. | [optional]
13
+ **created_timestamp** | **Number** | The creation time of the forced sweep, represented as a UNIX timestamp in seconds. | [optional]
14
+ **updated_timestamp** | **Number** | The update time of the forced sweep, represented as a UNIX timestamp in seconds. | [optional]
15
15
 
16
16
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **request_id** | **String** | The request id of the force sweep. |
8
- **wallet_id** | **String** | The wallet ID to force sweep, which is the unique identifier of a wallet. |
9
- **token_id** | **String** | The token ID to force sweep, which is the unique identifier of a token. |
10
- **amount** | **String** | The amount of needing force sweep. |
7
+ **request_id** | **String** | The request ID that is used to track a forced sweep. The request ID is provided by you and must be unique. |
8
+ **wallet_id** | **String** | The ID of the wallet in which the funds will be forcefully swept. |
9
+ **token_id** | **String** | The ID of the token to be forcefully swept. |
10
+ **amount** | **String** | The amount of the token to be forcefully swept. |
11
11
 
12
12
 
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.GetTokenizationAllowlistActivation200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **activated** | **Boolean** | Indicates whether the allowlist feature is activated for the token. |
8
+
9
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListAutoSweepTask200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[AutoSweepTask]**](AutoSweepTask.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.ListMerchantBalances200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[MerchantBalance]**](MerchantBalance.md) | | [optional]
8
+
9
+
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.ListPaymentWalletBalances200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[PaymentWalletBalance]**](PaymentWalletBalance.md) | | [optional]
8
+
9
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListSettlementDetails200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[SettlementDetail]**](SettlementDetail.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListTokenizationBlocklistAddresses200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[TokenizationBlocklistAddressNote]**](TokenizationBlocklistAddressNote.md) | |
8
+ **pagination** | [**Pagination**](Pagination.md) | |
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.ListWalletSweepToAddresses200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[SweepToAddress]**](SweepToAddress.md) | | [optional]
8
+
9
+