@cobo/cobo-waas2 1.23.0 → 1.25.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 (243) hide show
  1. package/README.md +68 -6
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AddressBooksApi.js +6 -6
  4. package/dist/api/ComplianceApi.js +132 -2
  5. package/dist/api/DevelopersWebhooksApi.js +2 -2
  6. package/dist/api/FeeStationApi.js +47 -4
  7. package/dist/api/PaymentApi.js +246 -56
  8. package/dist/api/SwapsApi.js +374 -0
  9. package/dist/api/TransactionsApi.js +4 -4
  10. package/dist/index.js +336 -14
  11. package/dist/model/AddressInfo.js +13 -0
  12. package/dist/model/AddressesEventData.js +8 -3
  13. package/dist/model/AddressesEventDataAllOfAddresses.js +18 -0
  14. package/dist/model/BalanceUpdateInfoEventData.js +8 -3
  15. package/dist/model/BridgingFee.js +136 -0
  16. package/dist/model/ChainsEventData.js +8 -3
  17. package/dist/model/CommissionFee.js +110 -0
  18. package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
  19. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +305 -0
  20. package/dist/model/ContractCallDestination.js +48 -8
  21. package/dist/model/ContractCallDestinationType.js +5 -0
  22. package/dist/model/CreateMerchantRequest.js +15 -8
  23. package/dist/model/CreateOrderLinkRequest.js +129 -0
  24. package/dist/model/CreatePaymentOrderRequest.js +27 -1
  25. package/dist/model/CreateRefundRequest.js +2 -2
  26. package/dist/model/CreateSettlement.js +3 -29
  27. package/dist/model/CreateSettlementRequestRequest.js +39 -0
  28. package/dist/model/CreateSwapActivityRequest.js +193 -0
  29. package/dist/model/CustodialTransferDestination.js +1 -1
  30. package/dist/model/EstimateContractCallFeeParams.js +1 -1
  31. package/dist/model/EstimateFeeParams.js +1 -1
  32. package/dist/model/EstimateTransferFeeParams.js +1 -1
  33. package/dist/model/EstimatedEvmEip1559Fee.js +1 -1
  34. package/dist/model/EstimatedEvmLegacyFee.js +1 -1
  35. package/dist/model/EstimatedFILFee.js +1 -1
  36. package/dist/model/EstimatedFixedFee.js +1 -1
  37. package/dist/model/EstimatedSOLFee.js +1 -1
  38. package/dist/model/EstimatedUtxoFee.js +1 -1
  39. package/dist/model/FeeStationCheckFeeStationUsage.js +186 -0
  40. package/dist/model/FeeStationCheckFeeStationUsageResponse.js +200 -0
  41. package/dist/model/FeeStationGasStationType.js +61 -0
  42. package/dist/model/FundsStatusType.js +111 -0
  43. package/dist/model/KytScreeningsDecisionsType.js +71 -0
  44. package/dist/model/KytScreeningsEventData.js +155 -0
  45. package/dist/model/KytScreeningsReviewType.js +61 -0
  46. package/dist/model/KytScreeningsTransaction.js +144 -0
  47. package/dist/model/KytScreeningsTransactionType.js +61 -0
  48. package/dist/model/Link.js +125 -0
  49. package/dist/model/LinkDisplayInfo.js +100 -0
  50. package/dist/model/ListSwapActivities200Response.js +123 -0
  51. package/dist/model/ListSwapEnabledTokens200Response.js +123 -0
  52. package/dist/model/ListTopUpPayerAccounts200Response.js +123 -0
  53. package/dist/model/MPCVaultEventData.js +8 -3
  54. package/dist/model/Merchant.js +12 -3
  55. package/dist/model/MerchantBalance.js +3 -3
  56. package/dist/model/MessageSignDestination.js +8 -70
  57. package/dist/model/Order.js +13 -0
  58. package/dist/model/OrderLinkBusinessInfo.js +261 -0
  59. package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +125 -0
  60. package/dist/model/OtcFee.js +123 -0
  61. package/dist/model/PaymentAddressUpdateEventData.js +8 -3
  62. package/dist/model/PaymentEstimateFee.js +125 -0
  63. package/dist/model/PaymentEstimateFee201Response.js +108 -0
  64. package/dist/model/PaymentEstimateFeeRequest.js +137 -0
  65. package/dist/model/PaymentEstimatedFee.js +173 -0
  66. package/dist/model/PaymentFeeType.js +71 -0
  67. package/dist/model/PaymentOrderEventData.js +26 -3
  68. package/dist/model/PaymentRefundEventData.js +30 -5
  69. package/dist/model/PaymentSettlementEvent.js +70 -9
  70. package/dist/model/PaymentTransactionEventData.js +8 -3
  71. package/dist/model/PspBalance.js +3 -3
  72. package/dist/model/Refund.js +17 -1
  73. package/dist/model/ReviewStatusType.js +91 -0
  74. package/dist/model/SettleRequestStatus.js +5 -0
  75. package/dist/model/Settlement.js +45 -3
  76. package/dist/model/SettlementDetail.js +33 -1
  77. package/dist/model/SettlementInfo.js +7 -7
  78. package/dist/model/SolContractCallAddressLookupTableAccount.js +126 -0
  79. package/dist/model/SolContractCallDestination.js +30 -0
  80. package/dist/model/StellarContractCallContractParam.js +164 -0
  81. package/dist/model/StellarContractCallContractType.js +56 -0
  82. package/dist/model/StellarContractCallDestination.js +125 -0
  83. package/dist/model/StellarContractCallTrustLineOperationType.js +56 -0
  84. package/dist/model/StellarContractCallTrustLineParam.js +133 -0
  85. package/dist/model/SubmitKytResponse.js +122 -0
  86. package/dist/model/SubmitKytScreeningsDecisionsBody.js +122 -0
  87. package/dist/model/{RawMessageSignDestination.js → SubmitKytScreeningsReviewBody.js} +36 -36
  88. package/dist/model/SupportedToken.js +9 -0
  89. package/dist/model/SuspendedTokenEventData.js +8 -3
  90. package/dist/model/SwapActivity.js +9 -9
  91. package/dist/model/SwapActivityApprovers.js +1 -1
  92. package/dist/model/SwapActivityDetail.js +34 -18
  93. package/dist/model/SwapActivitySigners.js +2 -2
  94. package/dist/model/SwapActivityTimeline.js +5 -5
  95. package/dist/model/SwapEstimateFee.js +147 -0
  96. package/dist/model/SwapQuote.js +18 -31
  97. package/dist/model/SwapReceivingTransaction.js +133 -0
  98. package/dist/model/SwapToken.js +9 -9
  99. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  100. package/dist/model/TokenListingEventData.js +8 -3
  101. package/dist/model/TokensEventData.js +8 -3
  102. package/dist/model/TransactionCoboCategory.js +5 -0
  103. package/dist/model/TransactionDestination.js +48 -8
  104. package/dist/model/TransactionDestinationType.js +5 -0
  105. package/dist/model/TransactionEvmEip1559Fee.js +1 -1
  106. package/dist/model/TransactionEvmLegacyFee.js +1 -1
  107. package/dist/model/TransactionFILFee.js +1 -1
  108. package/dist/model/TransactionFixedFee.js +1 -1
  109. package/dist/model/TransactionFuelingInfo.js +13 -0
  110. package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -1
  111. package/dist/model/TransactionRequestEvmLegacyFee.js +1 -1
  112. package/dist/model/TransactionRequestFILFee.js +1 -1
  113. package/dist/model/TransactionRequestSOLFee.js +1 -1
  114. package/dist/model/TransactionRequestUtxoFee.js +1 -1
  115. package/dist/model/TransactionSOLFee.js +1 -1
  116. package/dist/model/TransactionSolContractAddressLookupTableAccount.js +126 -0
  117. package/dist/model/TransactionSolContractDestination.js +30 -0
  118. package/dist/model/TransactionStellarContractParam.js +164 -0
  119. package/dist/model/TransactionStellarContractType.js +56 -0
  120. package/dist/model/{BTCEIP191MessageSignDestination.js → TransactionStellarDestination.js} +38 -35
  121. package/dist/model/TransactionStellarTrustLineOperationType.js +56 -0
  122. package/dist/model/TransactionStellarTrustLineParam.js +133 -0
  123. package/dist/model/TransactionUtxoFee.js +1 -1
  124. package/dist/model/TransactionWebhookEventData.js +8 -3
  125. package/dist/model/UpdateBankAccountByIdRequest.js +108 -0
  126. package/dist/model/UpdateTopUpAddress.js +4 -6
  127. package/dist/model/WalletInfoEventData.js +8 -3
  128. package/dist/model/WalletSetup.js +66 -0
  129. package/dist/model/WebhookEventData.js +81 -11
  130. package/dist/model/WebhookEventDataType.js +7 -2
  131. package/dist/model/WebhookEventType.js +10 -0
  132. package/docs/AddressBooksApi.md +3 -3
  133. package/docs/AddressInfo.md +1 -0
  134. package/docs/AddressesEventData.md +3 -1
  135. package/docs/AddressesEventDataAllOfAddresses.md +1 -0
  136. package/docs/BalanceUpdateInfoEventData.md +3 -1
  137. package/docs/BridgingFee.md +11 -0
  138. package/docs/ChainsEventData.md +3 -1
  139. package/docs/CommissionFee.md +9 -0
  140. package/docs/ComplianceApi.md +158 -1
  141. package/docs/ComplianceDispositionUpdateEventData.md +3 -1
  142. package/docs/ComplianceKytScreeningsUpdateEventData.md +57 -0
  143. package/docs/ContractCallDestination.md +2 -0
  144. package/docs/ContractCallDestinationType.md +2 -0
  145. package/docs/CreateMerchantRequest.md +3 -2
  146. package/docs/CreateOrderLinkRequest.md +10 -0
  147. package/docs/CreatePaymentOrderRequest.md +3 -1
  148. package/docs/CreateRefundRequest.md +2 -2
  149. package/docs/CreateSettlement.md +2 -4
  150. package/docs/CreateSettlementRequestRequest.md +3 -0
  151. package/docs/CreateSwapActivityRequest.md +15 -0
  152. package/docs/DevelopersWebhooksApi.md +1 -1
  153. package/docs/EstimateContractCallFeeParams.md +1 -1
  154. package/docs/EstimateFeeParams.md +1 -1
  155. package/docs/EstimateTransferFeeParams.md +1 -1
  156. package/docs/FeeStationApi.md +53 -0
  157. package/docs/FeeStationCheckFeeStationUsage.md +14 -0
  158. package/docs/FeeStationCheckFeeStationUsageResponse.md +16 -0
  159. package/docs/FeeStationGasStationType.md +12 -0
  160. package/docs/FundsStatusType.md +32 -0
  161. package/docs/KytScreeningsDecisionsType.md +16 -0
  162. package/docs/KytScreeningsEventData.md +13 -0
  163. package/docs/KytScreeningsReviewType.md +12 -0
  164. package/docs/KytScreeningsTransaction.md +12 -0
  165. package/docs/KytScreeningsTransactionType.md +12 -0
  166. package/docs/Link.md +10 -0
  167. package/docs/LinkDisplayInfo.md +10 -0
  168. package/docs/ListSwapActivities200Response.md +10 -0
  169. package/docs/ListSwapEnabledTokens200Response.md +10 -0
  170. package/docs/ListTopUpPayerAccounts200Response.md +10 -0
  171. package/docs/MPCVaultEventData.md +3 -1
  172. package/docs/Merchant.md +3 -2
  173. package/docs/MerchantBalance.md +3 -3
  174. package/docs/MessageSignDestination.md +0 -1
  175. package/docs/Order.md +1 -0
  176. package/docs/OrderLinkBusinessInfo.md +19 -0
  177. package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +10 -0
  178. package/docs/OtcFee.md +10 -0
  179. package/docs/PaymentAddressUpdateEventData.md +3 -1
  180. package/docs/PaymentApi.md +253 -25
  181. package/docs/PaymentEstimateFee.md +10 -0
  182. package/docs/PaymentEstimateFee201Response.md +9 -0
  183. package/docs/PaymentEstimateFeeRequest.md +10 -0
  184. package/docs/PaymentEstimatedFee.md +13 -0
  185. package/docs/PaymentFeeType.md +16 -0
  186. package/docs/PaymentOrderEventData.md +4 -1
  187. package/docs/PaymentRefundEventData.md +5 -2
  188. package/docs/PaymentSettlementEvent.md +9 -4
  189. package/docs/PaymentTransactionEventData.md +3 -1
  190. package/docs/PspBalance.md +3 -3
  191. package/docs/Refund.md +2 -1
  192. package/docs/ReviewStatusType.md +24 -0
  193. package/docs/SettleRequestStatus.md +2 -0
  194. package/docs/Settlement.md +6 -3
  195. package/docs/SettlementDetail.md +3 -1
  196. package/docs/SettlementInfo.md +6 -6
  197. package/docs/SolContractCallAddressLookupTableAccount.md +10 -0
  198. package/docs/SolContractCallDestination.md +1 -0
  199. package/docs/StellarContractCallContractParam.md +11 -0
  200. package/docs/StellarContractCallContractType.md +10 -0
  201. package/docs/StellarContractCallDestination.md +10 -0
  202. package/docs/StellarContractCallTrustLineOperationType.md +10 -0
  203. package/docs/StellarContractCallTrustLineParam.md +11 -0
  204. package/docs/SubmitKytResponse.md +10 -0
  205. package/docs/SubmitKytScreeningsDecisionsBody.md +10 -0
  206. package/docs/SubmitKytScreeningsReviewBody.md +10 -0
  207. package/docs/SupportedToken.md +1 -0
  208. package/docs/SuspendedTokenEventData.md +3 -1
  209. package/docs/SwapActivity.md +9 -9
  210. package/docs/SwapActivityDetail.md +10 -9
  211. package/docs/SwapActivitySigners.md +1 -1
  212. package/docs/SwapActivityTimeline.md +3 -3
  213. package/docs/SwapEstimateFee.md +12 -0
  214. package/docs/SwapQuote.md +10 -11
  215. package/docs/SwapReceivingTransaction.md +11 -0
  216. package/docs/SwapToken.md +6 -6
  217. package/docs/SwapsApi.md +356 -0
  218. package/docs/TSSRequestWebhookEventData.md +3 -1
  219. package/docs/TokenListingEventData.md +3 -1
  220. package/docs/TokensEventData.md +3 -1
  221. package/docs/TransactionCoboCategory.md +2 -0
  222. package/docs/TransactionDestination.md +2 -0
  223. package/docs/TransactionDestinationType.md +2 -0
  224. package/docs/TransactionFuelingInfo.md +1 -0
  225. package/docs/TransactionSolContractAddressLookupTableAccount.md +10 -0
  226. package/docs/TransactionSolContractDestination.md +1 -0
  227. package/docs/TransactionStellarContractParam.md +11 -0
  228. package/docs/TransactionStellarContractType.md +10 -0
  229. package/docs/TransactionStellarDestination.md +10 -0
  230. package/docs/TransactionStellarTrustLineOperationType.md +10 -0
  231. package/docs/TransactionStellarTrustLineParam.md +11 -0
  232. package/docs/TransactionWebhookEventData.md +3 -1
  233. package/docs/TransactionsApi.md +2 -2
  234. package/docs/UpdateBankAccountByIdRequest.md +9 -0
  235. package/docs/UpdateTopUpAddress.md +1 -1
  236. package/docs/WalletInfoEventData.md +3 -1
  237. package/docs/WalletSetup.md +14 -0
  238. package/docs/WebhookEventData.md +12 -3
  239. package/docs/WebhookEventDataType.md +3 -1
  240. package/docs/WebhookEventType.md +4 -0
  241. package/package.json +1 -1
  242. package/docs/BTCEIP191MessageSignDestination.md +0 -10
  243. package/docs/RawMessageSignDestination.md +0 -10
@@ -4,17 +4,20 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
7
+ **data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. |
8
8
  **settlement_request_id** | **String** | The settlement request ID generated by Cobo. |
9
9
  **request_id** | **String** | The request ID provided by you when creating the settlement request. |
10
10
  **status** | [**SettleRequestStatus**](SettleRequestStatus.md) | |
11
11
  **settlements** | [**[SettlementDetail]**](SettlementDetail.md) | |
12
- **created_timestamp** | **Number** | The creation time of the settlement request, represented as a UNIX timestamp in seconds. | [optional]
13
- **updated_timestamp** | **Number** | The last update time of the settlement request, represented as a UNIX timestamp in seconds. | [optional]
14
- **initiator** | **String** | The initiator of this settlement request. Can return either an API key or the Payment Management App's ID. - Format `api_key_<API_KEY>`: Indicates the settlement request was initiated via the Payment API using the API key. - Format `app_<APP_ID>`: Indicates the settlement request was initiated through the Payment Management App using the App ID. | [optional]
12
+ **created_timestamp** | **Number** | The created time of the settlement request, represented as a UNIX timestamp in seconds. | [optional]
13
+ **updated_timestamp** | **Number** | The updated time of the settlement request, represented as a UNIX timestamp in seconds. | [optional]
14
+ **initiator** | **String** | The initiator of this settlement request. Can return either an API key or the Payments App's ID. - Format `api_key_<API_KEY>`: Indicates the settlement request was initiated via the Payments API using the API key. - Format `app_<APP_ID>`: Indicates the settlement request was initiated through the Payments App using the App ID. | [optional]
15
15
  **acquiring_type** | [**AcquiringType**](AcquiringType.md) | | [optional]
16
16
  **payout_channel** | [**PayoutChannel**](PayoutChannel.md) | | [optional]
17
17
  **settlement_type** | [**SettlementType**](SettlementType.md) | | [optional]
18
+ **currency** | **String** | The fiat currency for the off-ramp. | [optional]
19
+ **received_amount_fiat** | **String** | The estimated amount of the fiat currency to receive after off-ramping. This amount is subject to change due to bank transfer fees. | [optional]
20
+ **bank_account** | [**BankAccount**](BankAccount.md) | | [optional]
18
21
 
19
22
 
20
23
 
@@ -53,6 +56,8 @@ Name | Type | Description | Notes
53
56
 
54
57
  * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
55
58
 
59
+ * `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
60
+
56
61
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
57
62
 
58
63
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
7
+ **data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. |
8
8
  **transaction_id** | **String** | The transaction ID. |
9
9
  **cobo_id** | **String** | The Cobo ID, which can be used to track a transaction. | [optional]
10
10
  **request_id** | **String** | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. | [optional]
@@ -79,6 +79,8 @@ Name | Type | Description | Notes
79
79
 
80
80
  * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
81
81
 
82
+ * `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
83
+
82
84
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
83
85
 
84
86
 
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **token_id** | **String** | The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format `{CHAIN}_{TOKEN}`. |
8
8
  **developer_fee_amount** | **String** | The total amount of the token that has been received as developer fee. | [optional]
9
- **settled_amount** | **String** | The total amount of the token that has been settled from the developer's balance. | [optional]
9
+ **settled_amount** | **String** | The total amount of the token that has been paid out from the developer's balance. | [optional]
10
10
  **refunded_amount** | **String** | The total amount of the token that has been refunded from the developer's balance. | [optional]
11
- **total_balance** | **String** | The total balance of the token for the developer. | [optional]
12
- **available_balance** | **String** | The balance available for settlement or refund, in the specified cryptocurrency. | [optional]
11
+ **total_balance** | **String** | The total balance of the token available for payout or refund for the developer. `total_balance` = `developer_fee_amount` - `settled_amount` - `refunded_amount` For more information, please refer to [Amounts and Balances](/v2_cn/payments/amounts-and-balances) | [optional]
12
+ **available_balance** | **String** | This field has been deprecated. | [optional]
13
13
 
14
14
 
package/docs/Refund.md CHANGED
@@ -16,10 +16,11 @@ Name | Type | Description | Notes
16
16
  **refund_type** | [**RefundType**](RefundType.md) | | [optional]
17
17
  **created_timestamp** | **Number** | The creation time of the refund order, represented as a UNIX timestamp in seconds. | [optional]
18
18
  **updated_timestamp** | **Number** | The last update time of the refund order, represented as a UNIX timestamp in seconds. | [optional]
19
- **initiator** | **String** | The initiator of this settlement request. Can return either an API key or the Payment Management App's ID. - Format `api_key_<API_KEY>`: Indicates the settlement request was initiated via the Payment API using the API key. - Format `app_<APP_ID>`: Indicates the settlement request was initiated through the Payment Management App using the App ID. | [optional]
19
+ **initiator** | **String** | The initiator of this settlement request. Can return either an API key or the Payments App's ID. - Format `api_key_<API_KEY>`: Indicates the settlement request was initiated via the Payments API using the API key. - Format `app_<APP_ID>`: Indicates the settlement request was initiated through the Payments App using the App ID. | [optional]
20
20
  **transactions** | [**[PaymentTransaction]**](PaymentTransaction.md) | An array of transactions associated with this refund order. Each transaction represents a separate blockchain operation related to the refund process. | [optional]
21
21
  **charge_merchant_fee** | **Boolean** | Whether to charge developer fee to the merchant for the refund. - `true`: The fee amount (specified in `merchant_fee_amount`) will be deducted from the merchant's balance and added to the developer's balance - `false`: The merchant is not charged any developer fee. | [optional]
22
22
  **merchant_fee_amount** | **String** | The developer fee amount to charge the merchant, denominated in the cryptocurrency specified by `merchant_fee_token_id`. This is only applicable if `charge_merchant_fee` is set to `true`. | [optional]
23
23
  **merchant_fee_token_id** | **String** | The ID of the cryptocurrency used for the developer fee. This is only applicable if `charge_merchant_fee` is set to true. | [optional]
24
+ **commission_fee** | [**CommissionFee**](CommissionFee.md) | | [optional]
24
25
 
25
26
 
@@ -0,0 +1,24 @@
1
+ # CoboWaas2.ReviewStatusType
2
+
3
+ ## Enum
4
+
5
+
6
+ * `PendingScreening` (value: `"PendingScreening"`)
7
+
8
+ * `Screened` (value: `"Screened"`)
9
+
10
+ * `PendingDecision` (value: `"PendingDecision"`)
11
+
12
+ * `PendingReview` (value: `"PendingReview"`)
13
+
14
+ * `Approved` (value: `"Approved"`)
15
+
16
+ * `Rejected` (value: `"Rejected"`)
17
+
18
+ * `Unsupported` (value: `"Unsupported"`)
19
+
20
+ * `Bypassed` (value: `"Bypassed"`)
21
+
22
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
23
+
24
+
@@ -13,6 +13,8 @@
13
13
 
14
14
  * `Failed` (value: `"Failed"`)
15
15
 
16
+ * `Canceled` (value: `"Canceled"`)
17
+
16
18
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
17
19
 
18
20
 
@@ -8,11 +8,14 @@ Name | Type | Description | Notes
8
8
  **request_id** | **String** | The request ID provided by you when creating the settlement request. |
9
9
  **status** | [**SettleRequestStatus**](SettleRequestStatus.md) | |
10
10
  **settlements** | [**[SettlementDetail]**](SettlementDetail.md) | |
11
- **created_timestamp** | **Number** | The creation time of the settlement request, represented as a UNIX timestamp in seconds. | [optional]
12
- **updated_timestamp** | **Number** | The last update time of the settlement request, represented as a UNIX timestamp in seconds. | [optional]
13
- **initiator** | **String** | The initiator of this settlement request. Can return either an API key or the Payment Management App's ID. - Format `api_key_<API_KEY>`: Indicates the settlement request was initiated via the Payment API using the API key. - Format `app_<APP_ID>`: Indicates the settlement request was initiated through the Payment Management App using the App ID. | [optional]
11
+ **created_timestamp** | **Number** | The created time of the settlement request, represented as a UNIX timestamp in seconds. | [optional]
12
+ **updated_timestamp** | **Number** | The updated time of the settlement request, represented as a UNIX timestamp in seconds. | [optional]
13
+ **initiator** | **String** | The initiator of this settlement request. Can return either an API key or the Payments App's ID. - Format `api_key_<API_KEY>`: Indicates the settlement request was initiated via the Payments API using the API key. - Format `app_<APP_ID>`: Indicates the settlement request was initiated through the Payments App using the App ID. | [optional]
14
14
  **acquiring_type** | [**AcquiringType**](AcquiringType.md) | | [optional]
15
15
  **payout_channel** | [**PayoutChannel**](PayoutChannel.md) | | [optional]
16
16
  **settlement_type** | [**SettlementType**](SettlementType.md) | | [optional]
17
+ **currency** | **String** | The fiat currency for the off-ramp. | [optional]
18
+ **received_amount_fiat** | **String** | The estimated amount of the fiat currency to receive after off-ramping. This amount is subject to change due to bank transfer fees. | [optional]
19
+ **bank_account** | [**BankAccount**](BankAccount.md) | | [optional]
17
20
 
18
21
 
@@ -15,10 +15,12 @@ Name | Type | Description | Notes
15
15
  **transactions** | [**[PaymentTransaction]**](PaymentTransaction.md) | An array of transactions associated with this settlement request. Each transaction represents a separate blockchain operation related to the settlement process. | [optional]
16
16
  **created_timestamp** | **Number** | The creation time of the settlement, represented as a UNIX timestamp in seconds. | [optional]
17
17
  **updated_timestamp** | **Number** | The last update time of the settlement, represented as a UNIX timestamp in seconds. | [optional]
18
- **crypto_address_id** | **String** | The ID of the crypto address used for crypto withdrawal. | [optional]
18
+ **crypto_address_id** | **String** | The ID of the crypto address used for crypto payouts. | [optional]
19
19
  **payout_channel** | [**PayoutChannel**](PayoutChannel.md) | | [optional]
20
20
  **acquiring_type** | [**AcquiringType**](AcquiringType.md) | | [optional]
21
21
  **settlement_request_id** | **String** | The settlement request ID generated by Cobo. | [optional]
22
22
  **order_ids** | **[String]** | A list of unique order IDs to be included in this settlement. - This field is only applicable when `settlement_type` is set to `Merchant`. - If provided, the settlement will only apply to the specified orders. | [optional]
23
+ **commission_fee** | [**CommissionFee**](CommissionFee.md) | | [optional]
24
+ **bridging_fee** | [**BridgingFee**](BridgingFee.md) | | [optional]
23
25
 
24
26
 
@@ -6,13 +6,13 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **merchant_id** | **String** | The merchant ID. For developer balance, this field will be empty. | [optional]
8
8
  **token_id** | **String** | The ID of the cryptocurrency. | [optional]
9
- **available_amount** | **String** | This field is no longer in use and can be ignored. |
10
- **available_currency_balance** | **String** | This field is no longer in use and can be ignored. | [optional]
11
- **pending_amount** | **String** | This field is no longer in use and can be ignored. | [optional]
12
- **pending_currency_balance** | **String** | This field is no longer in use and can be ignored. | [optional]
9
+ **available_amount** | **String** | This field has been deprecated. |
10
+ **available_currency_balance** | **String** | This field has been deprecated. | [optional]
11
+ **pending_amount** | **String** | This field has been deprecated. | [optional]
12
+ **pending_currency_balance** | **String** | This field has been deprecated. | [optional]
13
13
  **settled_amount** | **String** | The amount already settled, in the specified cryptocurrency. | [optional]
14
- **available_balance** | **String** | The balance available for settlement or refund, in the specified cryptocurrency. | [optional]
15
- **total_balance** | **String** | The total unsettled balance in the specified cryptocurrency, including: - Available balance that can be settled immediately - Amounts below the sweep threshold that require forced sweep before settlement | [optional]
14
+ **available_balance** | **String** | This field has been deprecated. | [optional]
15
+ **total_balance** | **String** | The total balance in the specified cryptocurrency. | [optional]
16
16
  **acquiring_type** | [**AcquiringType**](AcquiringType.md) | | [optional]
17
17
  **created_timestamp** | **Number** | The creation time of the settlement, represented as a UNIX timestamp in seconds. | [optional]
18
18
  **updated_timestamp** | **Number** | The last update time of the settlement, represented as a UNIX timestamp in seconds. | [optional]
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.SolContractCallAddressLookupTableAccount
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **alt_account_key** | **String** | The on-chain public key of the Address Lookup Table (ALT) account, identifying the specific lookup table. |
8
+ **addresses** | **[String]** | An array of stored account addresses within the lookup table, which can be referenced in transactions by index. |
9
+
10
+
@@ -6,5 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.md) | |
8
8
  **instructions** | [**[SolContractCallInstruction]**](SolContractCallInstruction.md) | |
9
+ **address_lookup_table_accounts** | [**[SolContractCallAddressLookupTableAccount]**](SolContractCallAddressLookupTableAccount.md) | | [optional]
9
10
 
10
11
 
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.StellarContractCallContractParam
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **contract_type** | [**StellarContractCallContractType**](StellarContractCallContractType.md) | |
8
+ **token_id** | **String** | The token ID, which is the unique identifier of a token. |
9
+ **operation_type** | [**StellarContractCallTrustLineOperationType**](StellarContractCallTrustLineOperationType.md) | |
10
+
11
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.StellarContractCallContractType
2
+
3
+ ## Enum
4
+
5
+
6
+ * `TrustLine` (value: `"TrustLine"`)
7
+
8
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.StellarContractCallDestination
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.md) | |
8
+ **contract_param** | [**StellarContractCallContractParam**](StellarContractCallContractParam.md) | |
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.StellarContractCallTrustLineOperationType
2
+
3
+ ## Enum
4
+
5
+
6
+ * `ChangeTrust` (value: `"ChangeTrust"`)
7
+
8
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
9
+
10
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.StellarContractCallTrustLineParam
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **contract_type** | [**StellarContractCallContractType**](StellarContractCallContractType.md) | |
8
+ **token_id** | **String** | The token ID, which is the unique identifier of a token. |
9
+ **operation_type** | [**StellarContractCallTrustLineOperationType**](StellarContractCallTrustLineOperationType.md) | |
10
+
11
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.SubmitKytResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **transaction_id** | **String** | The UUID of the transaction being processed for KYT screening. |
8
+ **submitted** | **Boolean** | Indicates whether the KYT review result was successfully submitted. |
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.SubmitKytScreeningsDecisionsBody
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **transaction_id** | **String** | The UUID of the transaction for KYT result submission. This identifies the specific transaction that the external KYT result applies to. |
8
+ **result** | [**KytScreeningsDecisionsType**](KytScreeningsDecisionsType.md) | |
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.SubmitKytScreeningsReviewBody
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **transaction_id** | **String** | The UUID of the transaction that requires a manual KYT review. |
8
+ **result** | [**KytScreeningsReviewType**](KytScreeningsReviewType.md) | |
9
+
10
+
@@ -13,5 +13,6 @@ Name | Type | Description | Notes
13
13
  **chain_symbol** | **String** | Symbol of the underlying blockchain |
14
14
  **chain_icon_url** | **String** | URL to the blockchain's icon image | [optional]
15
15
  **token_icon_url** | **String** | URL to the token's icon image | [optional]
16
+ **can_off_ramp** | **Boolean** | Whether the token is supported by the off-ramp service. | [optional]
16
17
 
17
18
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
7
+ **data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. |
8
8
  **token_ids** | **String** | A list of token IDs, separated by comma. |
9
9
  **operation_type** | [**SuspendedTokenOperationType**](SuspendedTokenOperationType.md) | |
10
10
 
@@ -45,6 +45,8 @@ Name | Type | Description | Notes
45
45
 
46
46
  * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
47
47
 
48
+ * `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
49
+
48
50
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
49
51
 
50
52
 
@@ -7,20 +7,20 @@ Name | Type | Description | Notes
7
7
  **activity_id** | **String** | The unique identifier of the swap activity. | [optional]
8
8
  **swap_type** | [**SwapType**](SwapType.md) | | [optional]
9
9
  **status** | [**SwapActivityStatus**](SwapActivityStatus.md) | | [optional]
10
- **request_id** | **String** | The request id of the swap activity. | [optional]
11
- **wallet_id** | **String** | The unique identifier of the wallet. | [optional]
12
- **pay_token_id** | **String** | The token ID to pay. | [optional]
13
- **receive_token_id** | **String** | The token ID to receive. | [optional]
14
- **pay_amount** | **String** | The amount of tokens to bridge. | [optional]
15
- **receive_amount** | **String** | The amount of tokens to receive. | [optional]
16
- **fee_token_id** | **String** | The fee token ID. | [optional]
17
- **fee_amount** | **String** | The amount of fee. | [optional]
10
+ **request_id** | **String** | The request ID of the swap transaction. | [optional]
11
+ **wallet_id** | **String** | The ID of the wallet used to pay. | [optional]
12
+ **pay_token_id** | **String** | The ID of the token to pay. | [optional]
13
+ **receive_token_id** | **String** | The ID of the token to receive. | [optional]
14
+ **pay_amount** | **String** | The amount of the token to pay. | [optional]
15
+ **receive_amount** | **String** | The amount of the token to receive. | [optional]
16
+ **fee_token_id** | **String** | The ID of the token used for paying the service fee. | [optional]
17
+ **fee_amount** | **String** | The amount of the service fee. | [optional]
18
18
  **initiator** | **String** | The initiator of the swap activity. | [optional]
19
19
  **initiator_type** | [**TransactionInitiatorType**](TransactionInitiatorType.md) | | [optional]
20
20
  **description** | **String** | The description of the swap activity. | [optional]
21
21
  **created_timestamp** | **Number** | The time when the swap activity was created, in Unix timestamp format, measured in milliseconds. | [optional]
22
22
  **updated_timestamp** | **Number** | The time when the swap activity was last updated, in Unix timestamp format, measured in milliseconds. | [optional]
23
23
  **network_fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
24
- **destination_address** | **String** | the destination address of web3/mpc wallets. | [optional]
24
+ **destination_address** | **String** | The address of an MPC Wallet or Web3 Wallet that receives the swapped or bridged assets. | [optional]
25
25
 
26
26
 
@@ -7,23 +7,24 @@ Name | Type | Description | Notes
7
7
  **activity_id** | **String** | The unique identifier of the swap activity. | [optional]
8
8
  **swap_type** | [**SwapType**](SwapType.md) | | [optional]
9
9
  **status** | [**SwapActivityStatus**](SwapActivityStatus.md) | | [optional]
10
- **request_id** | **String** | The request id of the swap activity. | [optional]
11
- **wallet_id** | **String** | The unique identifier of the wallet. | [optional]
12
- **pay_token_id** | **String** | The token ID to pay. | [optional]
13
- **receive_token_id** | **String** | The token ID to receive. | [optional]
14
- **pay_amount** | **String** | The amount of tokens to bridge. | [optional]
15
- **receive_amount** | **String** | The amount of tokens to receive. | [optional]
16
- **fee_token_id** | **String** | The fee token ID. | [optional]
17
- **fee_amount** | **String** | The amount of fee. | [optional]
10
+ **request_id** | **String** | The request ID of the swap transaction. | [optional]
11
+ **wallet_id** | **String** | The ID of the wallet used to pay. | [optional]
12
+ **pay_token_id** | **String** | The ID of the token to pay. | [optional]
13
+ **receive_token_id** | **String** | The ID of the token to receive. | [optional]
14
+ **pay_amount** | **String** | The amount of the token to pay. | [optional]
15
+ **receive_amount** | **String** | The amount of the token to receive. | [optional]
16
+ **fee_token_id** | **String** | The ID of the token used for paying the service fee. | [optional]
17
+ **fee_amount** | **String** | The amount of the service fee. | [optional]
18
18
  **initiator** | **String** | The initiator of the swap activity. | [optional]
19
19
  **initiator_type** | [**TransactionInitiatorType**](TransactionInitiatorType.md) | | [optional]
20
20
  **description** | **String** | The description of the swap activity. | [optional]
21
21
  **created_timestamp** | **Number** | The time when the swap activity was created, in Unix timestamp format, measured in milliseconds. | [optional]
22
22
  **updated_timestamp** | **Number** | The time when the swap activity was last updated, in Unix timestamp format, measured in milliseconds. | [optional]
23
23
  **network_fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
24
- **destination_address** | **String** | the destination address of web3/mpc wallets. | [optional]
24
+ **destination_address** | **String** | The address of an MPC Wallet or Web3 Wallet that receives the swapped or bridged assets. | [optional]
25
25
  **timeline** | [**[SwapActivityTimeline]**](SwapActivityTimeline.md) | | [optional]
26
26
  **approvers** | [**[SwapActivityApprovers]**](SwapActivityApprovers.md) | | [optional]
27
27
  **signers** | [**[SwapActivitySigners]**](SwapActivitySigners.md) | | [optional]
28
+ **receiving_transaction** | [**SwapReceivingTransaction**](SwapReceivingTransaction.md) | | [optional]
28
29
 
29
30
 
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **signer** | **String** | The signer name. | [optional]
8
8
  **status** | [**SwapSingingStatus**](SwapSingingStatus.md) | | [optional]
9
- **failed_reason** | **String** | Failed reason of signing process. | [optional]
9
+ **failed_reason** | **String** | The reason for the signing failure. | [optional]
10
10
 
11
11
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **action** | **String** | The action of the swap activity. Possible values include: - `Submitted`: The swap request is submitted. - `Pending Authorization`: The swap request is pending authorization. - `Bridge {Token}`: The token is being bridged to the target chain. - `Swap {Token}`: The token is being swapped on the target chain. - `Cobo Confirmation`: The swap result is waiting for Cobo confirmation. |
8
- **status** | **String** | The status of the action. Possible values include: - `Success`: The action is successfully completed. - `Processing`: The action is being processed. - `Failed`: The action has failed. |
9
- **timestamp** | **Number** | The time when the action took place, in Unix timestamp format, measured in milliseconds. | [optional]
7
+ **action** | **String** | The action in the swap activity. Possible values include: - `Submitted`: The swap request has been submitted. - `Pending Authorization`: The swap request is pending authorization. - `Bridge {Token}`: The token is being bridged to the destination chain. - `Swap {Token}`: The token is being exchanged to the destination token. - `Cobo Confirmation`: The swap result is pending Cobo's final confirmation. |
8
+ **status** | **String** | The status of the action. Possible values include: - `Success`: The action completed successfully. - `Processing`: The action is being processed. - `Failed`: The action failed. |
9
+ **timestamp** | **Number** | The time when the action occurred, in Unix timestamp format, measured in milliseconds. | [optional]
10
10
 
11
11
 
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.SwapEstimateFee
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **wallet_id** | **String** | The ID of the wallet to pay. |
8
+ **address** | **String** | The wallet address. This property is required when the wallet to pay is not a Custodial Wallet (Asset Wallet). | [optional]
9
+ **quote_id** | **String** | The ID of the swap quote. |
10
+ **fee_type** | [**FeeType**](FeeType.md) | | [optional]
11
+
12
+
package/docs/SwapQuote.md CHANGED
@@ -4,16 +4,15 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **quote_id** | **String** | The unique id of quote. |
8
- **pay_token_id** | **String** | The token ID to pay. |
9
- **pay_amount** | **String** | The amount of tokens to pay. |
10
- **receive_token_id** | **String** | The token ID to receive. |
11
- **receive_amount** | **String** | The amount of tokens to receive. |
12
- **fee_token_id** | **String** | The token ID for the service fee. |
13
- **fee_amount** | **String** | The amount of tokens for the service fee. |
14
- **estimated_network_fee_amount** | **String** | The estimated amount of tokens for the network fee. | [optional]
15
- **min_receive_amount** | **String** | The minimum amount of tokens to receive if the pay amount is specified. | [optional]
16
- **max_pay_amount** | **String** | The maximum amount of tokens to pay if the receive amount is specified. | [optional]
17
- **quote_expired_timestamp** | **Number** | The time when the quote will expire, in Unix timestamp format, measured in milliseconds. |
7
+ **quote_id** | **String** | The unique identifier of the swap quote. |
8
+ **pay_token_id** | **String** | The ID of the token to pay. |
9
+ **pay_amount** | **String** | The amount of the token to pay. |
10
+ **receive_token_id** | **String** | The ID of the token to receive. |
11
+ **receive_amount** | **String** | The amount of the token to receive. |
12
+ **fee_token_id** | **String** | The ID of the token for the service fee. |
13
+ **fee_amount** | **String** | The amount of the token for the service fee. |
14
+ **min_receive_amount** | **String** | The minimum amount of the token to receive if `pay_amount` is specified. | [optional]
15
+ **max_pay_amount** | **String** | The maximum amount of the token to pay if `receive_amount` is specified. | [optional]
16
+ **quote_expired_timestamp** | **Number** | The time when the swap quote expires, in Unix timestamp format, measured in milliseconds. |
18
17
 
19
18
 
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.SwapReceivingTransaction
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **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). |
8
+ **transaction_hash** | **String** | The transaction hash. | [optional]
9
+ **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
10
+
11
+
package/docs/SwapToken.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **token_id** | **String** | The token id. |
8
- **chain_id** | **String** | The chain id. |
9
- **asset_id** | **String** | The asset id. |
10
- **token_address** | **String** | The token address. | [optional]
11
- **min_amount** | **String** | The minimum amount. | [optional]
12
- **max_amount** | **String** | The maximum amount. | [optional]
7
+ **token_id** | **String** | The token ID. |
8
+ **chain_id** | **String** | The chain ID, which is the unique identifier of a blockchain. |
9
+ **asset_id** | **String** | The asset ID. |
10
+ **token_address** | **String** | The on-chain contract address of the token. | [optional]
11
+ **min_amount** | **String** | The minimum amount allowed for a swap. | [optional]
12
+ **max_amount** | **String** | The maximum amount allowed for a swap. | [optional]
13
13
 
14
14