@cobo/cobo-waas2 1.15.0 → 1.17.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 (140) hide show
  1. package/README.md +42 -6
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/PreRequestScript.js +27 -33
  4. package/dist/api/AddressBooksApi.js +4 -4
  5. package/dist/api/AppWorkflowsApi.js +275 -0
  6. package/dist/api/DevelopersApi.js +4 -4
  7. package/dist/api/DevelopersWebhooksApi.js +12 -12
  8. package/dist/api/FeeStationApi.js +12 -12
  9. package/dist/api/OAuthApi.js +93 -6
  10. package/dist/api/PaymentApi.js +107 -161
  11. package/dist/api/StakingsApi.js +28 -28
  12. package/dist/api/TransactionsApi.js +4 -4
  13. package/dist/api/WalletsApi.js +102 -51
  14. package/dist/api/WalletsExchangeWalletApi.js +8 -8
  15. package/dist/api/WalletsMPCWalletsApi.js +20 -20
  16. package/dist/index.js +224 -14
  17. package/dist/model/AppWorkflow.js +173 -0
  18. package/dist/model/AppWorkflowField.js +137 -0
  19. package/dist/model/AppWorkflowPolicy.js +144 -0
  20. package/dist/model/ApprovalEntry.js +148 -0
  21. package/dist/model/ApprovalRequest.js +180 -0
  22. package/dist/model/ApprovalRequestDetail.js +177 -0
  23. package/dist/model/ApprovalStatus.js +71 -0
  24. package/dist/model/ApprovalUser.js +146 -0
  25. package/dist/model/BabylonStakeExtra.js +16 -0
  26. package/dist/model/BatchCheckUtxo201Response.js +107 -0
  27. package/dist/model/BatchCheckUtxoRequest.js +142 -0
  28. package/dist/model/{CreateBankAccountRequest.js → BatchUTXOParam.js} +43 -28
  29. package/dist/model/ChainInfo.js +9 -0
  30. package/dist/model/CreateApprovalRequest201Response.js +110 -0
  31. package/dist/model/CreatePaymentOrderRequest.js +5 -5
  32. package/dist/model/CreateRefundRequest.js +35 -0
  33. package/dist/model/CreateSettlement.js +39 -29
  34. package/dist/model/CreateStakeActivityExtra.js +6 -0
  35. package/dist/model/CryptoAddress.js +171 -0
  36. package/dist/model/{OrderAddressInfo.js → CustodialTransferDestination.js} +36 -46
  37. package/dist/model/CustodialWeb3TransferSource.js +1 -1
  38. package/dist/model/EstimateContractCallFeeParams.js +13 -0
  39. package/dist/model/EstimateFeeParams.js +6 -0
  40. package/dist/model/EstimateTransferFeeParams.js +13 -0
  41. package/dist/model/ExchangePermissionToken201Response.js +122 -0
  42. package/dist/model/ExchangePermissionTokenRequest.js +110 -0
  43. package/dist/model/ListApprovalRequests200Response.js +123 -0
  44. package/dist/model/MpcTransferSource.js +1 -1
  45. package/dist/model/Order.js +4 -4
  46. package/dist/model/PaymentOrderEventData.js +6 -6
  47. package/dist/model/PayoutChannel.js +61 -0
  48. package/dist/model/PolicyAction.js +123 -0
  49. package/dist/model/PolicyActionContent.js +169 -0
  50. package/dist/model/PolicyActionType.js +66 -0
  51. package/dist/model/PolicyCondition.js +148 -0
  52. package/dist/model/PolicyFieldOperator.js +76 -0
  53. package/dist/model/PolicyFieldValueType.js +61 -0
  54. package/dist/model/RefreshPermissionTokenRequest.js +110 -0
  55. package/dist/model/RequestApproval.js +188 -0
  56. package/dist/model/RevokeApprovalRequest201Response.js +119 -0
  57. package/dist/model/RevokeApprovalRequestRequest.js +110 -0
  58. package/dist/model/SettlementDetail.js +22 -0
  59. package/dist/model/SupportedToken.js +222 -0
  60. package/dist/model/SwapActivityApprovers.js +122 -0
  61. package/dist/model/SwapActivityDetail.js +30 -0
  62. package/dist/model/SwapApproversStatus.js +66 -0
  63. package/dist/model/TransactionCoboCategory.js +102 -7
  64. package/dist/model/TransactionDestination.js +4 -0
  65. package/dist/model/TransactionDestinationType.js +5 -0
  66. package/dist/model/TransactionRbfSource.js +1 -1
  67. package/dist/model/TransactionSubStatus.js +10 -0
  68. package/dist/model/TransactionTransferToWalletDestination.js +2 -2
  69. package/dist/model/TransferDestination.js +42 -14
  70. package/dist/model/TransferDestinationType.js +5 -0
  71. package/dist/model/UTXO.js +9 -0
  72. package/docs/AddressBooksApi.md +2 -2
  73. package/docs/AppWorkflow.md +12 -0
  74. package/docs/AppWorkflowField.md +11 -0
  75. package/docs/AppWorkflowPolicy.md +10 -0
  76. package/docs/AppWorkflowsApi.md +273 -0
  77. package/docs/ApprovalEntry.md +11 -0
  78. package/docs/ApprovalRequest.md +13 -0
  79. package/docs/ApprovalRequestDetail.md +13 -0
  80. package/docs/ApprovalStatus.md +16 -0
  81. package/docs/ApprovalUser.md +12 -0
  82. package/docs/BabylonStakeExtra.md +1 -0
  83. package/docs/BatchCheckUtxo201Response.md +9 -0
  84. package/docs/BatchCheckUtxoRequest.md +10 -0
  85. package/docs/BatchUTXOParam.md +10 -0
  86. package/docs/ChainInfo.md +1 -0
  87. package/docs/CreateApprovalRequest201Response.md +9 -0
  88. package/docs/CreatePaymentOrderRequest.md +1 -1
  89. package/docs/CreateRefundRequest.md +3 -0
  90. package/docs/CreateSettlement.md +5 -2
  91. package/docs/CreateStakeActivityExtra.md +1 -0
  92. package/docs/CryptoAddress.md +14 -0
  93. package/docs/CustodialTransferDestination.md +11 -0
  94. package/docs/CustodialWeb3TransferSource.md +1 -1
  95. package/docs/DevelopersApi.md +2 -2
  96. package/docs/DevelopersWebhooksApi.md +6 -6
  97. package/docs/EstimateContractCallFeeParams.md +1 -0
  98. package/docs/EstimateFeeParams.md +1 -0
  99. package/docs/EstimateTransferFeeParams.md +1 -0
  100. package/docs/ExchangePermissionToken201Response.md +12 -0
  101. package/docs/ExchangePermissionTokenRequest.md +9 -0
  102. package/docs/FeeStationApi.md +6 -6
  103. package/docs/ListApprovalRequests200Response.md +10 -0
  104. package/docs/MpcTransferSource.md +1 -1
  105. package/docs/OAuthApi.md +102 -0
  106. package/docs/Order.md +2 -2
  107. package/docs/PaymentApi.md +86 -147
  108. package/docs/PaymentOrderEventData.md +2 -2
  109. package/docs/PayoutChannel.md +12 -0
  110. package/docs/PolicyAction.md +10 -0
  111. package/docs/PolicyActionContent.md +25 -0
  112. package/docs/PolicyActionType.md +14 -0
  113. package/docs/PolicyCondition.md +12 -0
  114. package/docs/PolicyFieldOperator.md +18 -0
  115. package/docs/PolicyFieldValueType.md +12 -0
  116. package/docs/RefreshPermissionTokenRequest.md +9 -0
  117. package/docs/RequestApproval.md +13 -0
  118. package/docs/RevokeApprovalRequest201Response.md +10 -0
  119. package/docs/RevokeApprovalRequestRequest.md +9 -0
  120. package/docs/SettlementDetail.md +2 -0
  121. package/docs/StakingsApi.md +14 -14
  122. package/docs/SupportedToken.md +17 -0
  123. package/docs/SwapActivityApprovers.md +10 -0
  124. package/docs/SwapActivityDetail.md +1 -0
  125. package/docs/SwapApproversStatus.md +14 -0
  126. package/docs/TransactionCoboCategory.md +41 -3
  127. package/docs/TransactionDestinationType.md +2 -0
  128. package/docs/TransactionRbfSource.md +1 -1
  129. package/docs/TransactionSubStatus.md +4 -0
  130. package/docs/TransactionTransferToWalletDestination.md +1 -1
  131. package/docs/TransactionsApi.md +2 -2
  132. package/docs/TransferDestination.md +1 -1
  133. package/docs/TransferDestinationType.md +2 -0
  134. package/docs/UTXO.md +1 -0
  135. package/docs/WalletsApi.md +78 -23
  136. package/docs/WalletsExchangeWalletApi.md +4 -4
  137. package/docs/WalletsMPCWalletsApi.md +10 -10
  138. package/package.json +1 -1
  139. package/docs/CreateBankAccountRequest.md +0 -9
  140. package/docs/OrderAddressInfo.md +0 -12
@@ -0,0 +1,273 @@
1
+ # CoboWaas2.AppWorkflowsApi
2
+
3
+ All URIs are relative to *https://api.dev.cobo.com/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**createApprovalRequest**](AppWorkflowsApi.md#createApprovalRequest) | **POST** /app/workflows/approval_requests | Request workflow approval
8
+ [**getApprovalRequestById**](AppWorkflowsApi.md#getApprovalRequestById) | **GET** /app/workflows/approval_requests/{approval_id} | Get approval request details
9
+ [**listAppWorkflows**](AppWorkflowsApi.md#listAppWorkflows) | **GET** /app/workflows | List app workflows
10
+ [**listApprovalRequests**](AppWorkflowsApi.md#listApprovalRequests) | **GET** /app/workflows/approval_requests | List approval requests
11
+ [**revokeApprovalRequest**](AppWorkflowsApi.md#revokeApprovalRequest) | **POST** /app/workflows/approval_requests/{approval_id}/revoke | Revoke approval request
12
+
13
+
14
+
15
+ ## createApprovalRequest
16
+
17
+ > CreateApprovalRequest201Response createApprovalRequest(opts)
18
+
19
+ Request workflow approval
20
+
21
+ This operation triggers a specified workflow and generates a new approval request. <Note>To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).</Note>
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.AppWorkflowsApi();
35
+ const opts = {
36
+ 'RequestApproval': new CoboWaas2.RequestApproval()
37
+ };
38
+ apiInstance.createApprovalRequest(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
+ **RequestApproval** | [**RequestApproval**](RequestApproval.md)| The request body to request workflow approval. | [optional]
52
+
53
+ ### Return type
54
+
55
+ [**CreateApprovalRequest201Response**](CreateApprovalRequest201Response.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
+ ## getApprovalRequestById
68
+
69
+ > ApprovalRequestDetail getApprovalRequestById(approval_id)
70
+
71
+ Get approval request details
72
+
73
+ This operation retrieves the details of a specific approval request. &lt;Note&gt;To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).&lt;/Note&gt;
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.AppWorkflowsApi();
87
+ const approval_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
88
+ apiInstance.getApprovalRequestById(approval_id).then((data) => {
89
+ console.log('API called successfully. Returned data: ' + data);
90
+ }, (error) => {
91
+ console.error(error);
92
+ });
93
+
94
+ ```
95
+
96
+ ### Parameters
97
+
98
+
99
+ Name | Type | Description | Notes
100
+ ------------- | ------------- | ------------- | -------------
101
+ **approval_id** | **String**| The system-generated unique ID of the approval request. |
102
+
103
+ ### Return type
104
+
105
+ [**ApprovalRequestDetail**](ApprovalRequestDetail.md)
106
+
107
+ ### Authorization
108
+
109
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
110
+
111
+ ### HTTP request headers
112
+
113
+ - **Content-Type**: Not defined
114
+ - **Accept**: application/json
115
+
116
+
117
+ ## listAppWorkflows
118
+
119
+ > [AppWorkflow] listAppWorkflows()
120
+
121
+ List app workflows
122
+
123
+ This operation retrieves all approval workflows of an Cobo Portal App. &lt;Note&gt;You need to [configure approval workflow](https://www.cobo.com/developers/v2/apps/configure-workflow) in the app Manifest file first.&lt;/Note&gt; &lt;Note&gt;To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).&lt;/Note&gt;
124
+
125
+ ### Example
126
+
127
+ ```javascript
128
+ const CoboWaas2 = require('@cobo/cobo-waas2');
129
+ // Initialize the API client
130
+ const apiClient = CoboWaas2.ApiClient.instance
131
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
132
+ apiClient.setEnv(CoboWaas2.Env.DEV);
133
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
134
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
135
+ // Call the API
136
+ const apiInstance = new CoboWaas2.AppWorkflowsApi();
137
+ apiInstance.listAppWorkflows().then((data) => {
138
+ console.log('API called successfully. Returned data: ' + data);
139
+ }, (error) => {
140
+ console.error(error);
141
+ });
142
+
143
+ ```
144
+
145
+ ### Parameters
146
+
147
+ This endpoint does not need any parameter.
148
+
149
+ ### Return type
150
+
151
+ [**[AppWorkflow]**](AppWorkflow.md)
152
+
153
+ ### Authorization
154
+
155
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
156
+
157
+ ### HTTP request headers
158
+
159
+ - **Content-Type**: Not defined
160
+ - **Accept**: application/json
161
+
162
+
163
+ ## listApprovalRequests
164
+
165
+ > ListApprovalRequests200Response listApprovalRequests(operation_id, opts)
166
+
167
+ List approval requests
168
+
169
+ This operation retrieves a list of approval requests. &lt;Note&gt;To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).&lt;/Note&gt;
170
+
171
+ ### Example
172
+
173
+ ```javascript
174
+ const CoboWaas2 = require('@cobo/cobo-waas2');
175
+ // Initialize the API client
176
+ const apiClient = CoboWaas2.ApiClient.instance
177
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
178
+ apiClient.setEnv(CoboWaas2.Env.DEV);
179
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
180
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
181
+ // Call the API
182
+ const apiInstance = new CoboWaas2.AppWorkflowsApi();
183
+ const operation_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
184
+ const opts = {
185
+ 'limit': 10,
186
+ 'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
187
+ 'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
188
+ };
189
+ apiInstance.listApprovalRequests(operation_id, opts).then((data) => {
190
+ console.log('API called successfully. Returned data: ' + data);
191
+ }, (error) => {
192
+ console.error(error);
193
+ });
194
+
195
+ ```
196
+
197
+ ### Parameters
198
+
199
+
200
+ Name | Type | Description | Notes
201
+ ------------- | ------------- | ------------- | -------------
202
+ **operation_id** | **String**| The unique ID of the approval workflow. |
203
+ **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
204
+ **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]
205
+ **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]
206
+
207
+ ### Return type
208
+
209
+ [**ListApprovalRequests200Response**](ListApprovalRequests200Response.md)
210
+
211
+ ### Authorization
212
+
213
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
214
+
215
+ ### HTTP request headers
216
+
217
+ - **Content-Type**: Not defined
218
+ - **Accept**: application/json
219
+
220
+
221
+ ## revokeApprovalRequest
222
+
223
+ > RevokeApprovalRequest201Response revokeApprovalRequest(approval_id, opts)
224
+
225
+ Revoke approval request
226
+
227
+ This operation revokes a pending approval request. &lt;Note&gt;To use the approval workflow operations, you must use the Cobo OAuth authentication method ([Org Access Token](https://www.cobo.com/developers/v2/apps/org-access-tokens)).&lt;/Note&gt;
228
+
229
+ ### Example
230
+
231
+ ```javascript
232
+ const CoboWaas2 = require('@cobo/cobo-waas2');
233
+ // Initialize the API client
234
+ const apiClient = CoboWaas2.ApiClient.instance
235
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
236
+ apiClient.setEnv(CoboWaas2.Env.DEV);
237
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
238
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
239
+ // Call the API
240
+ const apiInstance = new CoboWaas2.AppWorkflowsApi();
241
+ const approval_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
242
+ const opts = {
243
+ 'RevokeApprovalRequestRequest': new CoboWaas2.RevokeApprovalRequestRequest()
244
+ };
245
+ apiInstance.revokeApprovalRequest(approval_id, opts).then((data) => {
246
+ console.log('API called successfully. Returned data: ' + data);
247
+ }, (error) => {
248
+ console.error(error);
249
+ });
250
+
251
+ ```
252
+
253
+ ### Parameters
254
+
255
+
256
+ Name | Type | Description | Notes
257
+ ------------- | ------------- | ------------- | -------------
258
+ **approval_id** | **String**| The system-generated unique ID of the approval request. |
259
+ **RevokeApprovalRequestRequest** | [**RevokeApprovalRequestRequest**](RevokeApprovalRequestRequest.md)| The request body to revoke an approval request. | [optional]
260
+
261
+ ### Return type
262
+
263
+ [**RevokeApprovalRequest201Response**](RevokeApprovalRequest201Response.md)
264
+
265
+ ### Authorization
266
+
267
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: application/json
272
+ - **Accept**: application/json
273
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.ApprovalEntry
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **status** | [**ApprovalStatus**](ApprovalStatus.md) | |
8
+ **created_timestamp** | **Number** | The time when the approval was created, in Unix timestamp format, measured in milliseconds. |
9
+ **approval_users** | [**[ApprovalUser]**](ApprovalUser.md) | | [optional]
10
+
11
+
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.ApprovalRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **approval_id** | **String** | The system-generated unique ID of the approval request. |
8
+ **request_id** | **String** | An identifier provided by you when requesting the approval. |
9
+ **fields** | [**[AppWorkflowField]**](AppWorkflowField.md) | |
10
+ **status** | [**ApprovalStatus**](ApprovalStatus.md) | |
11
+ **initiated_timestamp** | **Number** | The time when the approval was initiated, in Unix timestamp format, measured in milliseconds. |
12
+
13
+
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.ApprovalRequestDetail
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **approval_id** | **String** | The system-generated unique ID of the approval request. | [optional]
8
+ **initiator** | [**ApprovalUser**](ApprovalUser.md) | |
9
+ **approved_list** | [**[ApprovalEntry]**](ApprovalEntry.md) | | [optional]
10
+ **status** | [**ApprovalStatus**](ApprovalStatus.md) | |
11
+ **modified_timestamp** | **Number** | The time when the approval was modified, in Unix timestamp format, measured in milliseconds. | [optional]
12
+
13
+
@@ -0,0 +1,16 @@
1
+ # CoboWaas2.ApprovalStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `Pending` (value: `"Pending"`)
7
+
8
+ * `Completed` (value: `"Completed"`)
9
+
10
+ * `Failed` (value: `"Failed"`)
11
+
12
+ * `Revoked` (value: `"Revoked"`)
13
+
14
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
15
+
16
+
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.ApprovalUser
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **email** | **String** | The user email. |
8
+ **name** | **String** | The user name. | [optional]
9
+ **status** | [**ApprovalStatus**](ApprovalStatus.md) | |
10
+ **created_timestamp** | **Number** | The time when the approval was created, in Unix timestamp format, measured in milliseconds. |
11
+
12
+
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
8
8
  **finality_provider_public_key** | **String** | The public key of the finality provider. |
9
9
  **stake_block_time** | **Number** | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. |
10
10
  **auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. The default value is &#x60;true&#x60;. - &#x60;true&#x60;: Automatically broadcast the transaction. - &#x60;false&#x60;: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](https://www.cobo.com/developers/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data &#x60;raw_tx&#x60; by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information) and broadcast it yourself. | [optional]
11
+ **babylon_address** | [**StakingSource**](StakingSource.md) | | [optional]
11
12
 
12
13
 
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.BatchCheckUtxo201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[UTXO]**](UTXO.md) | | [optional]
8
+
9
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.BatchCheckUtxoRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **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). |
8
+ **utxos** | [**[BatchUTXOParam]**](BatchUTXOParam.md) | |
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.BatchUTXOParam
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **tx_hash** | **String** | The transaction hash. |
8
+ **vout_ns** | **[Number]** | | [optional]
9
+
10
+
package/docs/ChainInfo.md CHANGED
@@ -11,5 +11,6 @@ Name | Type | Description | Notes
11
11
  **explorer_address_url** | **String** | The address URL pattern on the blockchain explorer. You can use it to concatenate the address URLs. | [optional]
12
12
  **require_memo** | **Boolean** | Whether the chain requires a memo. | [optional]
13
13
  **confirming_threshold** | **Number** | The number of confirmations required for an on-chain transaction, such as 64 for Ethereum. | [optional]
14
+ **coinbase_maturity** | **Number** | The number of confirmations required before a coinbase transaction is considered mature and can be spent, for example, 100 confirmations for BTC. | [optional]
14
15
 
15
16
 
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.CreateApprovalRequest201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **approval_id** | **String** | The system-generated unique ID of the approval request. You can use this ID to query the approval request status or revoke the request. |
8
+
9
+
@@ -11,6 +11,6 @@ Name | Type | Description | Notes
11
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. |
12
12
  **merchant_order_code** | **String** | A unique reference code assigned by the merchant to identify this order in their system. | [optional]
13
13
  **psp_order_code** | **String** | A unique reference code assigned by the developer to identify this order in their system. |
14
- **expired_at** | **Number** | The expiration time of the pay-in order, represented as a UNIX timestamp in seconds. After this time: - 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]
14
+ **expired_in** | **Number** | The pay-in order will expire after approximately a certain number of seconds: - 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]
15
15
 
16
16
 
@@ -11,5 +11,8 @@ Name | Type | Description | Notes
11
11
  **token_id** | **String** | The ID of the cryptocurrency used for refund. Supported values: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDC&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC&#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; |
12
12
  **refund_type** | [**RefundType**](RefundType.md) | |
13
13
  **order_id** | **String** | The ID of the original pay-in order associated with this refund. Use this to track refunds against specific payments. | [optional]
14
+ **charge_merchant_fee** | **Boolean** | Indicates whether the merchant should bear the transaction fee for the refund. If true, the fee will be deducted from merchant&#39;s account balance. | [optional]
15
+ **merchant_fee_amount** | **String** | The amount of the transaction fee that the merchant will bear for the refund. This is only applicable if &#x60;charge_merchant_fee&#x60; is set to true. | [optional]
16
+ **merchant_fee_token_id** | **String** | The ID of the cryptocurrency used for the transaction fee. This is only applicable if &#x60;charge_merchant_fee&#x60; is set to true. | [optional]
14
17
 
15
18
 
@@ -7,8 +7,11 @@ Name | Type | Description | Notes
7
7
  **merchant_id** | **String** | The merchant ID. | [optional]
8
8
  **token_id** | **String** | The ID of the cryptocurrency you want to settle. Supported values: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDC&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC&#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]
9
9
  **currency** | **String** | The fiat currency for settling the cryptocurrency. Currently, only &#x60;USD&#x60; is supported. | [optional] [default to &#39;USD&#39;]
10
- **amount** | **String** | The settlement amount. - If &#x60;token_id&#x60; is specified, this represents the settlement amount in the specified cryptocurrency. - If &#x60;token_id&#x60; is not specified, this represents the settlement amount in the specified fiat currency. |
11
- **bank_account_id** | **String** | The ID of the bank account where the settled funds will be deposited. |
10
+ **amount** | **String** | The settlement amount. - If &#x60;token_id&#x60; is specified, this represents the settlement amount in the specified cryptocurrency. - If &#x60;token_id&#x60; is not specified, this represents the settlement amount in the specified fiat currency. | [optional]
11
+ **bank_account_id** | **String** | The ID of the bank account where the settled funds will be deposited. | [optional]
12
12
  **settlement_type** | [**SettlementType**](SettlementType.md) | | [optional]
13
+ **crypto_address_id** | **String** | The ID of the pre-approved crypto address used for Crypto settlements. - This field is only applicable when &#x60;payout_channel&#x60; is set to &#x60;Crypto&#x60;. - If &#x60;payout_channel&#x60; is &#x60;OffRamp&#x60;, this field will be ignored. - The value must refer to a valid address that has been pre-configured and approved for the given token. | [optional]
14
+ **payout_channel** | [**PayoutChannel**](PayoutChannel.md) | | [optional]
15
+ **order_ids** | **[String]** | A list of unique order IDs to be included in this settlement. - This field is only applicable when &#x60;settlement_type&#x60; is set to &#x60;Merchant&#x60;. - If provided, the settlement will only apply to the specified orders. - The settlement &#x60;amount&#x60; must exactly match the total eligible amount from these orders. - This ensures consistency between the declared amount and the actual order-level data being settled. | [optional]
13
16
 
14
17
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **finality_provider_public_key** | **String** | The public key of the finality provider. |
9
9
  **stake_block_time** | **Number** | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. |
10
10
  **auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. The default value is &#x60;true&#x60;. - &#x60;true&#x60;: Automatically broadcast the transaction. - &#x60;false&#x60;: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](https://www.cobo.com/developers/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data &#x60;raw_tx&#x60; by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information) and broadcast it yourself. | [optional]
11
+ **babylon_address** | [**StakingSource**](StakingSource.md) | | [optional]
11
12
  **provider_name** | **String** | The name of the provider. |
12
13
  **timelock** | **Number** | The Unix timestamp (in seconds) when the staking position will be unlocked and available for withdrawal. |
13
14
  **change_address** | **String** | The change address on the Bitcoin chain. If not provided, the source wallet&#39;s address will be used as the change address. | [optional]
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.CryptoAddress
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **token_id** | **String** | The token identifier (e.g., ETH_USDT, TRON_USDT) that this address is associated with. |
8
+ **address_id** | **String** | Unique identifier for the pre-approved crypto address, used to reference the address securely in requests. This ID is returned by the system and should be used instead of the raw blockchain address in API calls. |
9
+ **address** | **String** | The actual blockchain address to which funds will be transferred. This is for display purposes only; external clients should always use address_id to refer to the address in secure operations. |
10
+ **label** | **String** | A human-readable label or alias for the crypto address, set by the merchant or platform operator. This field is optional and intended to help distinguish addresses by usage or purpose (e.g., \&quot;Main Payout Wallet\&quot;, \&quot;Cold Wallet\&quot;). | [optional]
11
+ **created_timestamp** | **Number** | The created time of the crypto address, represented as a UNIX timestamp in seconds. | [optional]
12
+ **updated_timestamp** | **Number** | The updated time of the crypto address, represented as a UNIX timestamp in seconds. | [optional]
13
+
14
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.CustodialTransferDestination
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **destination_type** | [**TransferDestinationType**](TransferDestinationType.md) | |
8
+ **wallet_id** | **String** | The wallet ID. |
9
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is &#x60;1.5&#x60;. |
10
+
11
+
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **source_type** | [**WalletSubtype**](WalletSubtype.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
- **address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the &#x60;included_utxos&#x60; property. If you specify both the &#x60;address&#x60; and &#x60;included_utxos&#x60; properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the &#x60;address&#x60; or &#x60;included_utxos&#x60; property. If neither property is provided, the transfer will fail. | [optional]
9
+ **address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the &#x60;included_utxos&#x60; property. When &#x60;included_utxos&#x60; is specified, only these specified UTXOs will be used for the transaction. If you specify both the &#x60;address&#x60; and &#x60;included_utxos&#x60; properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the &#x60;address&#x60; or &#x60;included_utxos&#x60; property. If neither property is provided, the transfer will fail. | [optional]
10
10
  **included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
11
11
  **excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
12
12
 
@@ -105,8 +105,8 @@ Name | Type | Description | Notes
105
105
  **wallet_ids** | **String**| A list of wallet IDs, separated by commas. | [optional]
106
106
  **status** | **String**| The callback message status. Possible values include &#x60;Approved&#x60;, &#x60;Denied&#x60;, and &#x60;Failed&#x60;. | [optional]
107
107
  **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
108
- **before** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;before&#x60; to the ID of Object C (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object A. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. - If you set it to &#x60;infinity&#x60;, the last page of data is returned. | [optional]
109
- **after** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;after&#x60; to the ID of Object A (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object C. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. | [optional]
108
+ **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]
109
+ **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]
110
110
 
111
111
  ### Return type
112
112
 
@@ -214,8 +214,8 @@ Name | Type | Description | Notes
214
214
  **status** | [**WebhookEndpointStatus**](.md)| | [optional]
215
215
  **event_type** | [**WebhookEventType**](.md)| | [optional]
216
216
  **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
217
- **before** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;before&#x60; to the ID of Object C (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object A. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. - If you set it to &#x60;infinity&#x60;, the last page of data is returned. | [optional]
218
- **after** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;after&#x60; to the ID of Object A (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object C. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. | [optional]
217
+ **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]
218
+ **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]
219
219
 
220
220
  ### Return type
221
221
 
@@ -320,8 +320,8 @@ Name | Type | Description | Notes
320
320
  **event_id** | **String**| The event ID. You can obtain a list of event IDs by calling [List all events](https://www.cobo.com/developers/v2/api-references/developers--webhooks/list-all-events). |
321
321
  **endpoint_id** | **String**| The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](https://www.cobo.com/developers/v2/api-references/developers--webhooks/list-webhook-endpoints). |
322
322
  **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
323
- **before** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;before&#x60; to the ID of Object C (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object A. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. - If you set it to &#x60;infinity&#x60;, the last page of data is returned. | [optional]
324
- **after** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;after&#x60; to the ID of Object A (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object C. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. | [optional]
323
+ **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]
324
+ **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]
325
325
 
326
326
  ### Return type
327
327
 
@@ -382,8 +382,8 @@ Name | Type | Description | Notes
382
382
  **status** | [**WebhookEventStatus**](.md)| | [optional]
383
383
  **type** | [**WebhookEventType**](.md)| | [optional]
384
384
  **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
385
- **before** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;before&#x60; to the ID of Object C (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object A. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. - If you set it to &#x60;infinity&#x60;, the last page of data is returned. | [optional]
386
- **after** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;after&#x60; to the ID of Object A (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object C. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. | [optional]
385
+ **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]
386
+ **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]
387
387
 
388
388
  ### Return type
389
389
 
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
10
10
  **source** | [**ContractCallSource**](ContractCallSource.md) | |
11
11
  **destination** | [**ContractCallDestination**](ContractCallDestination.md) | |
12
12
  **fee_type** | [**FeeType**](FeeType.md) | | [optional]
13
+ **replaced_transaction_id** | **String** | The ID of the transaction that this transaction replaced. | [optional]
13
14
 
14
15
 
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **token_id** | **String** | The token ID of the transferred 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). |
11
11
  **destination** | [**ContractCallDestination**](ContractCallDestination.md) | |
12
12
  **fee_type** | [**FeeType**](FeeType.md) | | [optional]
13
+ **replaced_transaction_id** | **String** | The ID of the transaction that this transaction replaced. | [optional]
13
14
  **chain_id** | **String** | The chain ID of the chain on which the smart contract is deployed. 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). |
14
15
 
15
16
 
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
10
10
  **token_id** | **String** | The token ID of the transferred 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). |
11
11
  **destination** | [**TransferDestination**](TransferDestination.md) | | [optional]
12
12
  **fee_type** | [**FeeType**](FeeType.md) | | [optional]
13
+ **replaced_transaction_id** | **String** | The ID of the transaction that this transaction replaced. | [optional]
13
14
 
14
15
 
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.ExchangePermissionToken201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **access_token** | **String** | The new Permission Access Token. | [optional]
8
+ **token_type** | **String** | The type of the tokens, which is Bearer. | [optional]
9
+ **expires_in** | **Number** | The time in seconds in which the new Permission Access Token expires. | [optional]
10
+ **refresh_token** | **String** | The Refresh Token, used to obtain another Org Access Token when the new Permission Access Token expires. The expiration time for Refresh Tokens is currently set to 7 days and is subject to change. | [optional]
11
+
12
+
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.ExchangePermissionTokenRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **permission_type** | **String** | The OAuth permission type. Set the value as &#x60;payment_orders_payin&#x60;. |
8
+
9
+