@cobo/cobo-waas2 1.21.0 → 1.23.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 (270) hide show
  1. package/README.md +80 -5
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/PreRequestScript.js +2 -4
  4. package/dist/api/AddressBooksApi.js +200 -21
  5. package/dist/api/AutoSweepApi.js +289 -0
  6. package/dist/api/ComplianceApi.js +214 -0
  7. package/dist/api/PaymentApi.js +233 -20
  8. package/dist/api/TokenizationApi.js +1024 -0
  9. package/dist/api/TransactionsApi.js +105 -4
  10. package/dist/api/WalletsApi.js +4 -4
  11. package/dist/api/WalletsMPCWalletsApi.js +2 -2
  12. package/dist/index.js +259 -7
  13. package/dist/model/AddressBook.js +12 -12
  14. package/dist/model/AddressesEventData.js +8 -3
  15. package/dist/model/ApprovalDetail.js +11 -11
  16. package/dist/model/ApprovalResult.js +6 -11
  17. package/dist/model/ApprovalTemplate.js +4 -4
  18. package/dist/model/ApprovalTransactionResult.js +8 -8
  19. package/dist/model/ApprovalUserDetail.js +95 -24
  20. package/dist/model/AutoSweepTask.js +198 -0
  21. package/dist/model/AutoSweepTaskStatus.js +61 -0
  22. package/dist/model/BalanceUpdateInfoEventData.js +8 -3
  23. package/dist/model/ChainInfo.js +14 -1
  24. package/dist/model/ChainsEventData.js +8 -3
  25. package/dist/model/ComplianceDispositionUpdateEventData.js +321 -0
  26. package/dist/model/CreateAddressBookParam.js +165 -0
  27. package/dist/model/CreateAddressBooks201Response.js +107 -0
  28. package/dist/model/CreateAddressBooksParam.js +128 -0
  29. package/dist/model/CreateAutoSweepTask.js +126 -0
  30. package/dist/model/CreateCryptoAddressRequest.js +5 -5
  31. package/dist/model/CreateCustodialWalletParams.js +9 -0
  32. package/dist/model/CreateExchangeWalletParams.js +14 -0
  33. package/dist/model/CreateMerchantRequest.js +1 -1
  34. package/dist/model/CreateMpcWalletParams.js +14 -0
  35. package/dist/model/CreatePaymentOrderRequest.js +3 -3
  36. package/dist/model/CreateRefundRequest.js +2 -2
  37. package/dist/model/CreateSafeWalletParams.js +9 -0
  38. package/dist/model/CreateSettlement.js +28 -5
  39. package/dist/model/CreateSmartContractWalletParams.js +6 -0
  40. package/dist/model/CreateSweepToAddress.js +126 -0
  41. package/dist/model/CreateWalletParams.js +6 -0
  42. package/dist/model/CreatedWalletInfo.js +6 -0
  43. package/dist/model/CustodialWalletInfo.js +9 -0
  44. package/dist/model/DeleteAddressBookById201Response.js +106 -0
  45. package/dist/model/DeleteCryptoAddress201Response.js +2 -2
  46. package/dist/model/DispositionEventData.js +170 -0
  47. package/dist/model/DispositionQueryResponse.js +146 -0
  48. package/dist/model/DispositionResponse.js +122 -0
  49. package/dist/model/DispositionStatus.js +116 -0
  50. package/dist/model/DispositionType.js +66 -0
  51. package/dist/model/ExchangeWalletInfo.js +14 -0
  52. package/dist/model/GetTokenizationAllowlistActivation200Response.js +107 -0
  53. package/dist/model/IsolateDisposition.js +167 -0
  54. package/dist/model/ListAutoSweepTask200Response.js +123 -0
  55. package/dist/model/ListMerchantBalances200Response.js +107 -0
  56. package/dist/model/ListPaymentWalletBalances200Response.js +107 -0
  57. package/dist/model/ListTokenizationBlocklistAddresses200Response.js +145 -0
  58. package/dist/model/ListWalletSweepToAddresses200Response.js +107 -0
  59. package/dist/model/MPCVaultEventData.js +8 -3
  60. package/dist/model/MPCWalletInfo.js +14 -0
  61. package/dist/model/Merchant.js +1 -1
  62. package/dist/model/MerchantBalance.js +201 -0
  63. package/dist/model/OrgInfo.js +9 -0
  64. package/dist/model/PaymentAddressUpdateEventData.js +8 -3
  65. package/dist/model/PaymentOrderEventData.js +8 -3
  66. package/dist/model/PaymentRefundEventData.js +8 -3
  67. package/dist/model/PaymentSettlementEvent.js +8 -3
  68. package/dist/model/PaymentTransactionEventData.js +8 -3
  69. package/dist/model/PaymentWalletBalance.js +177 -0
  70. package/dist/model/PspBalance.js +175 -0
  71. package/dist/model/ReceivedAmountPerAddress.js +126 -0
  72. package/dist/model/RefundDisposition.js +167 -0
  73. package/dist/model/RoleDetail.js +41 -6
  74. package/dist/model/SafeWallet.js +9 -0
  75. package/dist/model/SettlementDetail.js +1 -1
  76. package/dist/model/SmartContractWalletInfo.js +6 -0
  77. package/dist/model/SuspendedTokenEventData.js +8 -3
  78. package/dist/model/SweepToAddress.js +135 -0
  79. package/dist/model/SweepToAddressStatus.js +61 -0
  80. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  81. package/dist/model/TokenListingEventData.js +8 -3
  82. package/dist/model/TokenizationActivityInfo.js +8 -4
  83. package/dist/model/TokenizationAllowlistActivationRequest.js +13 -0
  84. package/dist/model/TokenizationAllowlistAddressNote.js +4 -4
  85. package/dist/model/TokenizationAllowlistAddressesResponse.js +145 -0
  86. package/dist/model/TokenizationBlocklistAddressNote.js +4 -4
  87. package/dist/model/TokenizationBurnEstimateFeeParams.js +13 -0
  88. package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +4 -4
  89. package/dist/model/TokenizationBurnTokenRequest.js +13 -0
  90. package/dist/model/TokenizationContractCallEstimateFeeParams.js +13 -0
  91. package/dist/model/TokenizationContractCallParamsData.js +43 -9
  92. package/dist/model/TokenizationContractCallRequest.js +13 -0
  93. package/dist/model/TokenizationContractCallType.js +5 -0
  94. package/dist/model/TokenizationERC20TokenParams.js +4 -4
  95. package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +6 -0
  96. package/dist/model/TokenizationEvmContractCallParams.js +2 -2
  97. package/dist/model/TokenizationIssueEstimateFeeParams.js +13 -0
  98. package/dist/model/TokenizationIssueTokenParamsTokenParams.js +40 -12
  99. package/dist/model/TokenizationIssuedTokenRequest.js +14 -1
  100. package/dist/model/TokenizationMintEstimateFeeParams.js +13 -0
  101. package/dist/model/TokenizationMintTokenRequest.js +13 -0
  102. package/dist/model/TokenizationMpcOperationSource.js +2 -2
  103. package/dist/model/TokenizationPauseEstimateFeeParams.js +13 -0
  104. package/dist/model/TokenizationPauseTokenRequest.js +13 -0
  105. package/dist/model/TokenizationSOLTokenParams.js +173 -0
  106. package/dist/model/TokenizationSolContractCallParams.js +137 -0
  107. package/dist/model/TokenizationSolTokenPermissionParams.js +140 -0
  108. package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +13 -0
  109. package/dist/model/TokenizationTokenDetailInfo.js +6 -6
  110. package/dist/model/TokenizationTokenInfo.js +4 -4
  111. package/dist/model/TokenizationTokenOperationSource.js +1 -1
  112. package/dist/model/TokenizationTokenPermissionParams.js +1 -1
  113. package/dist/model/TokenizationTokenPermissionType.js +15 -0
  114. package/dist/model/TokenizationTokenStandard.js +5 -0
  115. package/dist/model/TokenizationUnpauseEstimateFeeParams.js +13 -0
  116. package/dist/model/TokenizationUnpauseTokenRequest.js +13 -0
  117. package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +13 -0
  118. package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +1 -1
  119. package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +13 -0
  120. package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +13 -0
  121. package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +1 -1
  122. package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +13 -0
  123. package/dist/model/TokenizationWeb3OperationSource.js +2 -2
  124. package/dist/model/TokensEventData.js +8 -3
  125. package/dist/model/TransactionWebhookEventData.js +8 -3
  126. package/dist/model/UnfreezeDisposition.js +111 -0
  127. package/dist/model/UpdateAddressBookParam.js +150 -0
  128. package/dist/model/UpdateCustodialWalletParams.js +13 -6
  129. package/dist/model/UpdateMerchantByIdRequest.js +1 -1
  130. package/dist/model/UpdateMpcWalletParams.js +13 -6
  131. package/dist/model/UpdateWalletParams.js +6 -0
  132. package/dist/model/WalletInfo.js +6 -0
  133. package/dist/model/WalletInfoEventData.js +8 -3
  134. package/dist/model/WebhookEventData.js +62 -10
  135. package/dist/model/WebhookEventDataType.js +7 -2
  136. package/dist/model/WebhookEventType.js +5 -0
  137. package/docs/AddressBook.md +7 -7
  138. package/docs/AddressBooksApi.md +218 -8
  139. package/docs/AddressesEventData.md +3 -1
  140. package/docs/ApprovalDetail.md +4 -4
  141. package/docs/ApprovalResult.md +3 -5
  142. package/docs/ApprovalTemplate.md +3 -3
  143. package/docs/ApprovalTransactionResult.md +4 -4
  144. package/docs/ApprovalUserDetail.md +15 -9
  145. package/docs/AutoSweepApi.md +285 -0
  146. package/docs/AutoSweepTask.md +16 -0
  147. package/docs/AutoSweepTaskStatus.md +12 -0
  148. package/docs/BalanceUpdateInfoEventData.md +3 -1
  149. package/docs/ChainInfo.md +2 -1
  150. package/docs/ChainsEventData.md +3 -1
  151. package/docs/ComplianceApi.md +218 -0
  152. package/docs/ComplianceDispositionUpdateEventData.md +56 -0
  153. package/docs/CreateAddressBookParam.md +13 -0
  154. package/docs/CreateAddressBooks201Response.md +9 -0
  155. package/docs/CreateAddressBooksParam.md +9 -0
  156. package/docs/CreateAutoSweepTask.md +10 -0
  157. package/docs/CreateCryptoAddressRequest.md +3 -3
  158. package/docs/CreateCustodialWalletParams.md +1 -0
  159. package/docs/CreateExchangeWalletParams.md +1 -0
  160. package/docs/CreateMerchantRequest.md +1 -1
  161. package/docs/CreateMpcWalletParams.md +1 -0
  162. package/docs/CreatePaymentOrderRequest.md +2 -2
  163. package/docs/CreateRefundRequest.md +1 -1
  164. package/docs/CreateSafeWalletParams.md +1 -0
  165. package/docs/CreateSettlement.md +2 -2
  166. package/docs/CreateSmartContractWalletParams.md +1 -0
  167. package/docs/CreateSweepToAddress.md +10 -0
  168. package/docs/CreateWalletParams.md +1 -0
  169. package/docs/CreatedWalletInfo.md +1 -0
  170. package/docs/CustodialWalletInfo.md +1 -0
  171. package/docs/DeleteAddressBookById201Response.md +9 -0
  172. package/docs/DeleteCryptoAddress201Response.md +1 -1
  173. package/docs/DispositionEventData.md +14 -0
  174. package/docs/DispositionQueryResponse.md +12 -0
  175. package/docs/DispositionResponse.md +10 -0
  176. package/docs/DispositionStatus.md +34 -0
  177. package/docs/DispositionType.md +14 -0
  178. package/docs/ExchangeWalletInfo.md +1 -0
  179. package/docs/GetTokenizationAllowlistActivation200Response.md +9 -0
  180. package/docs/IsolateDisposition.md +13 -0
  181. package/docs/ListAutoSweepTask200Response.md +10 -0
  182. package/docs/ListMerchantBalances200Response.md +9 -0
  183. package/docs/ListPaymentWalletBalances200Response.md +9 -0
  184. package/docs/ListTokenizationBlocklistAddresses200Response.md +10 -0
  185. package/docs/ListWalletSweepToAddresses200Response.md +9 -0
  186. package/docs/MPCVaultEventData.md +3 -1
  187. package/docs/MPCWalletInfo.md +1 -0
  188. package/docs/Merchant.md +1 -1
  189. package/docs/MerchantBalance.md +16 -0
  190. package/docs/OrgInfo.md +1 -0
  191. package/docs/PaymentAddressUpdateEventData.md +3 -1
  192. package/docs/PaymentApi.md +229 -11
  193. package/docs/PaymentOrderEventData.md +3 -1
  194. package/docs/PaymentRefundEventData.md +3 -1
  195. package/docs/PaymentSettlementEvent.md +3 -1
  196. package/docs/PaymentTransactionEventData.md +3 -1
  197. package/docs/PaymentWalletBalance.md +14 -0
  198. package/docs/PspBalance.md +14 -0
  199. package/docs/ReceivedAmountPerAddress.md +10 -0
  200. package/docs/RefundDisposition.md +13 -0
  201. package/docs/RoleDetail.md +4 -1
  202. package/docs/SafeWallet.md +1 -0
  203. package/docs/SettlementDetail.md +1 -1
  204. package/docs/SmartContractWalletInfo.md +1 -0
  205. package/docs/SuspendedTokenEventData.md +3 -1
  206. package/docs/SweepToAddress.md +11 -0
  207. package/docs/SweepToAddressStatus.md +12 -0
  208. package/docs/TSSRequestWebhookEventData.md +3 -1
  209. package/docs/TokenListingEventData.md +3 -1
  210. package/docs/TokenizationActivityInfo.md +2 -2
  211. package/docs/TokenizationAllowlistActivationRequest.md +1 -0
  212. package/docs/TokenizationAllowlistAddressNote.md +3 -3
  213. package/docs/TokenizationAllowlistAddressesResponse.md +10 -0
  214. package/docs/TokenizationApi.md +1069 -0
  215. package/docs/TokenizationBlocklistAddressNote.md +3 -3
  216. package/docs/TokenizationBurnEstimateFeeParams.md +1 -0
  217. package/docs/TokenizationBurnTokenParamsBurnsInner.md +2 -2
  218. package/docs/TokenizationBurnTokenRequest.md +1 -0
  219. package/docs/TokenizationContractCallEstimateFeeParams.md +1 -0
  220. package/docs/TokenizationContractCallParamsData.md +2 -1
  221. package/docs/TokenizationContractCallRequest.md +1 -0
  222. package/docs/TokenizationContractCallType.md +2 -0
  223. package/docs/TokenizationERC20TokenParams.md +1 -1
  224. package/docs/TokenizationEstimateFeeRequestOperationParams.md +1 -0
  225. package/docs/TokenizationEvmContractCallParams.md +1 -1
  226. package/docs/TokenizationIssueEstimateFeeParams.md +1 -0
  227. package/docs/TokenizationIssueTokenParamsTokenParams.md +2 -2
  228. package/docs/TokenizationIssuedTokenRequest.md +2 -1
  229. package/docs/TokenizationMintEstimateFeeParams.md +1 -0
  230. package/docs/TokenizationMintTokenRequest.md +1 -0
  231. package/docs/TokenizationMpcOperationSource.md +1 -1
  232. package/docs/TokenizationPauseEstimateFeeParams.md +1 -0
  233. package/docs/TokenizationPauseTokenRequest.md +1 -0
  234. package/docs/TokenizationSOLTokenParams.md +14 -0
  235. package/docs/TokenizationSolContractCallParams.md +10 -0
  236. package/docs/TokenizationSolTokenPermissionParams.md +13 -0
  237. package/docs/TokenizationToggleAllowlistEstimateFeeParams.md +1 -0
  238. package/docs/TokenizationTokenDetailInfo.md +1 -1
  239. package/docs/TokenizationTokenInfo.md +1 -1
  240. package/docs/TokenizationTokenOperationSource.md +1 -1
  241. package/docs/TokenizationTokenPermissionType.md +6 -0
  242. package/docs/TokenizationTokenStandard.md +2 -0
  243. package/docs/TokenizationUnpauseEstimateFeeParams.md +1 -0
  244. package/docs/TokenizationUnpauseTokenRequest.md +1 -0
  245. package/docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md +1 -0
  246. package/docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md +1 -1
  247. package/docs/TokenizationUpdateAllowlistAddressesRequest.md +1 -0
  248. package/docs/TokenizationUpdateBlocklistAddressesEstimateFeeParams.md +1 -0
  249. package/docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md +1 -1
  250. package/docs/TokenizationUpdateBlocklistAddressesRequest.md +1 -0
  251. package/docs/TokenizationWeb3OperationSource.md +1 -1
  252. package/docs/TokensEventData.md +3 -1
  253. package/docs/TransactionWebhookEventData.md +3 -1
  254. package/docs/TransactionsApi.md +114 -2
  255. package/docs/UnfreezeDisposition.md +9 -0
  256. package/docs/UpdateAddressBookParam.md +12 -0
  257. package/docs/UpdateCustodialWalletParams.md +2 -1
  258. package/docs/UpdateMerchantByIdRequest.md +1 -1
  259. package/docs/UpdateMpcWalletParams.md +2 -1
  260. package/docs/UpdateWalletParams.md +1 -0
  261. package/docs/WalletInfo.md +1 -0
  262. package/docs/WalletInfoEventData.md +3 -1
  263. package/docs/WalletsApi.md +2 -2
  264. package/docs/WalletsMPCWalletsApi.md +1 -1
  265. package/docs/WebhookEventData.md +8 -2
  266. package/docs/WebhookEventDataType.md +3 -1
  267. package/docs/WebhookEventType.md +2 -0
  268. package/package.json +1 -1
  269. package/dist/model/ApprovalShowInfo.js +0 -140
  270. package/docs/ApprovalShowInfo.md +0 -13
@@ -13,7 +13,9 @@ Method | HTTP request | Description
13
13
  [**createSettlementRequest**](PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
14
14
  [**deleteCryptoAddress**](PaymentApi.md#deleteCryptoAddress) | **POST** /payments/crypto_addresses/{crypto_address_id}/delete | Delete crypto address
15
15
  [**getExchangeRate**](PaymentApi.md#getExchangeRate) | **GET** /payments/exchange_rates/{token_id}/{currency} | Get exchange rate
16
+ [**getPayerBalanceByAddress**](PaymentApi.md#getPayerBalanceByAddress) | **GET** /payments/balance/payer/address | Get payer balance
16
17
  [**getPaymentOrderDetailById**](PaymentApi.md#getPaymentOrderDetailById) | **GET** /payments/orders/{order_id} | Get pay-in order information
18
+ [**getPspBalance**](PaymentApi.md#getPspBalance) | **GET** /payments/balance/psp | Get developer balance
17
19
  [**getRefundDetailById**](PaymentApi.md#getRefundDetailById) | **GET** /payments/refunds/{refund_id} | Get refund order information
18
20
  [**getRefunds**](PaymentApi.md#getRefunds) | **GET** /payments/refunds | List all refund orders
19
21
  [**getSettlementById**](PaymentApi.md#getSettlementById) | **GET** /payments/settlement_requests/{settlement_request_id} | Get settlement request information
@@ -22,15 +24,17 @@ Method | HTTP request | Description
22
24
  [**listBankAccounts**](PaymentApi.md#listBankAccounts) | **GET** /payments/bank_accounts | List all bank accounts
23
25
  [**listCryptoAddresses**](PaymentApi.md#listCryptoAddresses) | **GET** /payments/crypto_addresses | List crypto addresses
24
26
  [**listForcedSweepRequests**](PaymentApi.md#listForcedSweepRequests) | **GET** /payments/force_sweep_requests | List forced sweeps
27
+ [**listMerchantBalances**](PaymentApi.md#listMerchantBalances) | **GET** /payments/balance/merchants | List merchant balances
25
28
  [**listMerchants**](PaymentApi.md#listMerchants) | **GET** /payments/merchants | List all merchants
26
29
  [**listPaymentOrders**](PaymentApi.md#listPaymentOrders) | **GET** /payments/orders | List all pay-in orders
27
30
  [**listPaymentSupportedTokens**](PaymentApi.md#listPaymentSupportedTokens) | **GET** /payments/supported_tokens | List all supported tokens
31
+ [**listPaymentWalletBalances**](PaymentApi.md#listPaymentWalletBalances) | **GET** /payments/balance/payment_wallets | List payment wallet balances
28
32
  [**listSettlementDetails**](PaymentApi.md#listSettlementDetails) | **GET** /payments/settlement_details | List all settlement details
29
33
  [**listSettlementRequests**](PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
30
34
  [**listTopUpPayers**](PaymentApi.md#listTopUpPayers) | **GET** /payments/topup/payers | List payers
31
35
  [**updateMerchantById**](PaymentApi.md#updateMerchantById) | **PUT** /payments/merchants/{merchant_id} | Update merchant
32
36
  [**updatePaymentOrder**](PaymentApi.md#updatePaymentOrder) | **PUT** /payments/orders/{order_id} | Update pay-in order
33
- [**updateRefundById**](PaymentApi.md#updateRefundById) | **PUT** /payments/refunds/{refund_id} | Update refund order information
37
+ [**updateRefundById**](PaymentApi.md#updateRefundById) | **PUT** /payments/refunds/{refund_id} | Update refund order
34
38
  [**updateTopUpAddress**](PaymentApi.md#updateTopUpAddress) | **PUT** /payments/topup/address | Update top-up address
35
39
 
36
40
 
@@ -41,7 +45,7 @@ Method | HTTP request | Description
41
45
 
42
46
  Cancel refund order
43
47
 
44
- This operation cancels a specified refund order.
48
+ This operation cancels a specified refund order. You can only cancel refund orders that have not been processed yet.
45
49
 
46
50
  ### Example
47
51
 
@@ -91,7 +95,7 @@ Name | Type | Description | Notes
91
95
 
92
96
  Create crypto address
93
97
 
94
- Create a new cryptocurrency address for receiving payouts or transfers. The address must match the specified `token_id`'s blockchain. Optionally, a label can be provided to help categorize the address internally.
98
+ This operation registers a crypto address for crypto withdrawal. The registered address can later be referenced by its ID when creating settlement requests.
95
99
 
96
100
  ### Example
97
101
 
@@ -121,7 +125,7 @@ apiInstance.createCryptoAddress(opts).then((data) => {
121
125
 
122
126
  Name | Type | Description | Notes
123
127
  ------------- | ------------- | ------------- | -------------
124
- **CreateCryptoAddressRequest** | [**CreateCryptoAddressRequest**](CreateCryptoAddressRequest.md)| The request body to create a crypto address. | [optional]
128
+ **CreateCryptoAddressRequest** | [**CreateCryptoAddressRequest**](CreateCryptoAddressRequest.md)| The request body to register a crypto address. | [optional]
125
129
 
126
130
  ### Return type
127
131
 
@@ -195,7 +199,7 @@ Name | Type | Description | Notes
195
199
 
196
200
  Create merchant
197
201
 
198
- This operation creates a merchant and links it to a specified wallet. Payments to the merchant will be deposited into the linked wallet. Upon successful creation, a merchant ID is generated and returned along with the merchant's information.
202
+ This operation creates a merchant and links it to a specified wallet. Payments to the merchant will be deposited into the linked wallet. Upon successful creation, a merchant ID is generated and returned along with the merchant's information. If you are a merchant (directly serving the payer), you only need to create one merchant and do not need to configure the developer fee rate. The developer fee rate only applies to platforms such as payment service providers (PSPs) that charge fees to their downstream merchants.
199
203
 
200
204
  ### Example
201
205
 
@@ -403,7 +407,7 @@ Name | Type | Description | Notes
403
407
 
404
408
  Delete crypto address
405
409
 
406
- This operation deletes a crypto address.
410
+ This operation unregisters a crypto address from being used for crypto withdrawals.
407
411
 
408
412
  ### Example
409
413
 
@@ -499,6 +503,60 @@ Name | Type | Description | Notes
499
503
  - **Accept**: application/json
500
504
 
501
505
 
506
+ ## getPayerBalanceByAddress
507
+
508
+ > [ReceivedAmountPerAddress] getPayerBalanceByAddress(merchant_id, payer_id, token_id)
509
+
510
+ Get payer balance
511
+
512
+ This operation retrieves the total amount received for a specific payer. The information is grouped by token and receiving address.
513
+
514
+ ### Example
515
+
516
+ ```javascript
517
+ const CoboWaas2 = require('@cobo/cobo-waas2');
518
+ // Initialize the API client
519
+ const apiClient = CoboWaas2.ApiClient.instance
520
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
521
+ apiClient.setEnv(CoboWaas2.Env.DEV);
522
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
523
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
524
+ // Call the API
525
+ const apiInstance = new CoboWaas2.PaymentApi();
526
+ const merchant_id = "M1001";
527
+ const payer_id = "P20250619T0310056d7aa";
528
+ const token_id = "ETH_USDT";
529
+ apiInstance.getPayerBalanceByAddress(merchant_id, payer_id, token_id).then((data) => {
530
+ console.log('API called successfully. Returned data: ' + data);
531
+ }, (error) => {
532
+ console.error(error);
533
+ });
534
+
535
+ ```
536
+
537
+ ### Parameters
538
+
539
+
540
+ Name | Type | Description | Notes
541
+ ------------- | ------------- | ------------- | -------------
542
+ **merchant_id** | **String**| The merchant ID. |
543
+ **payer_id** | **String**| Unique payer identifier on the Cobo side, auto-generated by the system. |
544
+ **token_id** | **String**| The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format &#x60;{CHAIN}_{TOKEN}&#x60;. Supported values include: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
545
+
546
+ ### Return type
547
+
548
+ [**[ReceivedAmountPerAddress]**](ReceivedAmountPerAddress.md)
549
+
550
+ ### Authorization
551
+
552
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
553
+
554
+ ### HTTP request headers
555
+
556
+ - **Content-Type**: Not defined
557
+ - **Accept**: application/json
558
+
559
+
502
560
  ## getPaymentOrderDetailById
503
561
 
504
562
  > Order getPaymentOrderDetailById(order_id)
@@ -549,6 +607,56 @@ Name | Type | Description | Notes
549
607
  - **Accept**: application/json
550
608
 
551
609
 
610
+ ## getPspBalance
611
+
612
+ > PspBalance getPspBalance(token_id)
613
+
614
+ Get developer balance
615
+
616
+ This operation retrieves the balance information for you as the developer. The balance information is grouped by token.
617
+
618
+ ### Example
619
+
620
+ ```javascript
621
+ const CoboWaas2 = require('@cobo/cobo-waas2');
622
+ // Initialize the API client
623
+ const apiClient = CoboWaas2.ApiClient.instance
624
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
625
+ apiClient.setEnv(CoboWaas2.Env.DEV);
626
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
627
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
628
+ // Call the API
629
+ const apiInstance = new CoboWaas2.PaymentApi();
630
+ const token_id = "ETH_USDT";
631
+ apiInstance.getPspBalance(token_id).then((data) => {
632
+ console.log('API called successfully. Returned data: ' + data);
633
+ }, (error) => {
634
+ console.error(error);
635
+ });
636
+
637
+ ```
638
+
639
+ ### Parameters
640
+
641
+
642
+ Name | Type | Description | Notes
643
+ ------------- | ------------- | ------------- | -------------
644
+ **token_id** | **String**| The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format &#x60;{CHAIN}_{TOKEN}&#x60;. Supported values include: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
645
+
646
+ ### Return type
647
+
648
+ [**PspBalance**](PspBalance.md)
649
+
650
+ ### Authorization
651
+
652
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
653
+
654
+ ### HTTP request headers
655
+
656
+ - **Content-Type**: Not defined
657
+ - **Accept**: application/json
658
+
659
+
552
660
  ## getRefundDetailById
553
661
 
554
662
  > Refund getRefundDetailById(refund_id)
@@ -645,7 +753,7 @@ Name | Type | Description | Notes
645
753
  **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]
646
754
  **merchant_id** | **String**| The merchant ID. | [optional]
647
755
  **request_id** | **String**| The request ID. | [optional]
648
- **statuses** | **String**| A list of statuses of order, refund or settle request. | [optional]
756
+ **statuses** | **String**| A list of order, refund or settlement statuses. You can refer to the following operations for the possible status values: - [Get pay-in order information](https://www.cobo.com/developers/v2/api-references/payment/get-pay-in-order-information) - [Get refund order information](https://www.cobo.com/developers/v2/api-references/payment/get-refund-order-information) - [List all settlement details](https://www.cobo.com/developers/v2/api-references/payment/list-all-settlement-details) | [optional]
649
757
 
650
758
  ### Return type
651
759
 
@@ -977,6 +1085,62 @@ Name | Type | Description | Notes
977
1085
  - **Accept**: application/json
978
1086
 
979
1087
 
1088
+ ## listMerchantBalances
1089
+
1090
+ > ListMerchantBalances200Response listMerchantBalances(token_id, acquiring_type, opts)
1091
+
1092
+ List merchant balances
1093
+
1094
+ This operation retrieves the balance information for specified merchants. The balance information is grouped by token and acquiring type. If you do not specify the &#x60;merchant_ids&#x60; parameter, the balance information for all merchants will be returned.
1095
+
1096
+ ### Example
1097
+
1098
+ ```javascript
1099
+ const CoboWaas2 = require('@cobo/cobo-waas2');
1100
+ // Initialize the API client
1101
+ const apiClient = CoboWaas2.ApiClient.instance
1102
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
1103
+ apiClient.setEnv(CoboWaas2.Env.DEV);
1104
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
1105
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
1106
+ // Call the API
1107
+ const apiInstance = new CoboWaas2.PaymentApi();
1108
+ const token_id = "ETH_USDT";
1109
+ const acquiring_type = new CoboWaas2.AcquiringType();
1110
+ const opts = {
1111
+ 'merchant_ids': "M1001,M1002,M1003"
1112
+ };
1113
+ apiInstance.listMerchantBalances(token_id, acquiring_type, opts).then((data) => {
1114
+ console.log('API called successfully. Returned data: ' + data);
1115
+ }, (error) => {
1116
+ console.error(error);
1117
+ });
1118
+
1119
+ ```
1120
+
1121
+ ### Parameters
1122
+
1123
+
1124
+ Name | Type | Description | Notes
1125
+ ------------- | ------------- | ------------- | -------------
1126
+ **token_id** | **String**| The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format &#x60;{CHAIN}_{TOKEN}&#x60;. Supported values include: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
1127
+ **acquiring_type** | [**AcquiringType**](.md)| The payment acquisition type. - &#x60;Order&#x60;: Payers pay by fixed-amount orders. Ideal for specific purchases and one-time transactions. - &#x60;TopUp&#x60;: Account recharge flow where payers deposit funds to their dedicated top-up addresses. Ideal for flexible or usage-based payment models. |
1128
+ **merchant_ids** | **String**| A list of merchant IDs to query. | [optional]
1129
+
1130
+ ### Return type
1131
+
1132
+ [**ListMerchantBalances200Response**](ListMerchantBalances200Response.md)
1133
+
1134
+ ### Authorization
1135
+
1136
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
1137
+
1138
+ ### HTTP request headers
1139
+
1140
+ - **Content-Type**: Not defined
1141
+ - **Accept**: application/json
1142
+
1143
+
980
1144
  ## listMerchants
981
1145
 
982
1146
  > ListMerchants200Response listMerchants(opts)
@@ -1083,7 +1247,7 @@ Name | Type | Description | Notes
1083
1247
  **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]
1084
1248
  **merchant_id** | **String**| The merchant ID. | [optional]
1085
1249
  **psp_order_id** | **String**| A unique reference code assigned by the developer to identify this order in their system. | [optional]
1086
- **statuses** | **String**| A list of statuses of order, refund or settle request. | [optional]
1250
+ **statuses** | **String**| A list of order, refund or settlement statuses. You can refer to the following operations for the possible status values: - [Get pay-in order information](https://www.cobo.com/developers/v2/api-references/payment/get-pay-in-order-information) - [Get refund order information](https://www.cobo.com/developers/v2/api-references/payment/get-refund-order-information) - [List all settlement details](https://www.cobo.com/developers/v2/api-references/payment/list-all-settlement-details) | [optional]
1087
1251
 
1088
1252
  ### Return type
1089
1253
 
@@ -1145,6 +1309,60 @@ This endpoint does not need any parameter.
1145
1309
  - **Accept**: application/json
1146
1310
 
1147
1311
 
1312
+ ## listPaymentWalletBalances
1313
+
1314
+ > ListPaymentWalletBalances200Response listPaymentWalletBalances(token_id, opts)
1315
+
1316
+ List payment wallet balances
1317
+
1318
+ This operation retrieves the balance information for specified payment wallets. The balance information is grouped by token. If you do not specify the &#x60;wallet_ids&#x60; parameter, the balance information for all payment wallets will be returned.
1319
+
1320
+ ### Example
1321
+
1322
+ ```javascript
1323
+ const CoboWaas2 = require('@cobo/cobo-waas2');
1324
+ // Initialize the API client
1325
+ const apiClient = CoboWaas2.ApiClient.instance
1326
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
1327
+ apiClient.setEnv(CoboWaas2.Env.DEV);
1328
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
1329
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
1330
+ // Call the API
1331
+ const apiInstance = new CoboWaas2.PaymentApi();
1332
+ const token_id = "ETH_USDT";
1333
+ const opts = {
1334
+ 'wallet_ids': "f47ac10b-58cc-4372-a567-0e02b2c3d479,f47ac10b-58cc-4372-a567-0e02b2c3d472"
1335
+ };
1336
+ apiInstance.listPaymentWalletBalances(token_id, opts).then((data) => {
1337
+ console.log('API called successfully. Returned data: ' + data);
1338
+ }, (error) => {
1339
+ console.error(error);
1340
+ });
1341
+
1342
+ ```
1343
+
1344
+ ### Parameters
1345
+
1346
+
1347
+ Name | Type | Description | Notes
1348
+ ------------- | ------------- | ------------- | -------------
1349
+ **token_id** | **String**| The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format &#x60;{CHAIN}_{TOKEN}&#x60;. Supported values include: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
1350
+ **wallet_ids** | **String**| A list of wallet IDs to query. | [optional]
1351
+
1352
+ ### Return type
1353
+
1354
+ [**ListPaymentWalletBalances200Response**](ListPaymentWalletBalances200Response.md)
1355
+
1356
+ ### Authorization
1357
+
1358
+ [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
1359
+
1360
+ ### HTTP request headers
1361
+
1362
+ - **Content-Type**: Not defined
1363
+ - **Accept**: application/json
1364
+
1365
+
1148
1366
  ## listSettlementDetails
1149
1367
 
1150
1368
  > ListSettlementDetails200Response listSettlementDetails(opts)
@@ -1189,7 +1407,7 @@ Name | Type | Description | Notes
1189
1407
  **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]
1190
1408
  **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]
1191
1409
  **merchant_id** | **String**| The merchant ID. | [optional]
1192
- **statuses** | **String**| A list of statuses of order, refund or settle request. | [optional]
1410
+ **statuses** | **String**| A list of order, refund or settlement statuses. You can refer to the following operations for the possible status values: - [Get pay-in order information](https://www.cobo.com/developers/v2/api-references/payment/get-pay-in-order-information) - [Get refund order information](https://www.cobo.com/developers/v2/api-references/payment/get-refund-order-information) - [List all settlement details](https://www.cobo.com/developers/v2/api-references/payment/list-all-settlement-details) | [optional]
1193
1411
 
1194
1412
  ### Return type
1195
1413
 
@@ -1435,9 +1653,9 @@ Name | Type | Description | Notes
1435
1653
 
1436
1654
  > Refund updateRefundById(refund_id, opts)
1437
1655
 
1438
- Update refund order information
1656
+ Update refund order
1439
1657
 
1440
- This operation updates a specified refund order.
1658
+ This operation updates a specified refund order by modifying its recipient address. You can only update the recipient address for refund orders that have not been processed yet.
1441
1659
 
1442
1660
  ### Example
1443
1661
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. - &#x60;ComplianceDisposition&#x60;: The compliance disposition event data. |
8
8
  **order_id** | **String** | The order ID. |
9
9
  **merchant_id** | **String** | The merchant ID. | [optional]
10
10
  **token_id** | **String** | The ID of the cryptocurrency used for payment. Supported tokens: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDCOIN&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC2&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
@@ -60,6 +60,8 @@ Name | Type | Description | Notes
60
60
 
61
61
  * `SuspendedToken` (value: `"SuspendedToken"`)
62
62
 
63
+ * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
64
+
63
65
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
64
66
 
65
67
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. - &#x60;ComplianceDisposition&#x60;: The compliance disposition event data. |
8
8
  **request_id** | **String** | The request ID provided by you when creating the refund request. | [optional]
9
9
  **refund_id** | **String** | The refund order ID. |
10
10
  **order_id** | **String** | The ID of the pay-in order corresponding to this refund. | [optional]
@@ -58,6 +58,8 @@ Name | Type | Description | Notes
58
58
 
59
59
  * `SuspendedToken` (value: `"SuspendedToken"`)
60
60
 
61
+ * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
62
+
61
63
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
62
64
 
63
65
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. - &#x60;ComplianceDisposition&#x60;: The compliance disposition 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) | |
@@ -51,6 +51,8 @@ Name | Type | Description | Notes
51
51
 
52
52
  * `SuspendedToken` (value: `"SuspendedToken"`)
53
53
 
54
+ * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
55
+
54
56
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
55
57
 
56
58
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. - &#x60;ComplianceDisposition&#x60;: The compliance disposition 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]
@@ -77,6 +77,8 @@ Name | Type | Description | Notes
77
77
 
78
78
  * `SuspendedToken` (value: `"SuspendedToken"`)
79
79
 
80
+ * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
81
+
80
82
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
81
83
 
82
84
 
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.PaymentWalletBalance
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **wallet_id** | **String** | The unique identifier of the wallet. |
8
+ **token_id** | **String** | The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format &#x60;{CHAIN}_{TOKEN}&#x60;. |
9
+ **swept_balance** | **String** | The total amount of the token on the sweep-to address of the payment wallet. | [optional]
10
+ **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 for the payment wallet. | [optional]
12
+ **above_sweep_threshold_balance** | **String** | The total amount of funds that exceed the sweep threshold across all receiving addresses in the payment wallet. When the balance on a receiving address exceeds the sweep threshold, those funds become eligible for automatic sweeping and are included in this balance. | [optional]
13
+
14
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.PspBalance
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **token_id** | **String** | The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format &#x60;{CHAIN}_{TOKEN}&#x60;. |
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&#39;s balance. | [optional]
10
+ **refunded_amount** | **String** | The total amount of the token that has been refunded from the developer&#39;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]
13
+
14
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ReceivedAmountPerAddress
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The receiving address. |
8
+ **total_received_amount** | **String** | The total amount of the token that has been received at this address. |
9
+
10
+
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.RefundDisposition
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **transaction_id** | **String** | The UUID of the transaction whose funds are to be refunded. This identifies the original transaction that requires refund processing. |
8
+ **destination_address** | **String** | The blockchain address to receive the refunded funds. |
9
+ **disposition_amount** | **String** | The amount to be refunded from the original transaction, specified as a numeric string. This value cannot exceed the total amount of the original transaction. |
10
+ **category_names** | **[String]** | Custom categories to identify and track this refund transaction. Used for transaction classification and reporting. | [optional]
11
+ **description** | **String** | Additional notes or description for the refund. | [optional]
12
+
13
+
@@ -5,7 +5,10 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **result** | [**ApprovalTransactionResult**](ApprovalTransactionResult.md) | | [optional]
8
- **threshold** | **Number** | The threshold for the transaction approval. | [optional]
8
+ **review_threshold** | **Number** | Minimum number of approvals required for this role. | [optional]
9
+ **initiator** | **String** | The initiator of the transaction. | [optional]
10
+ **is_upgraded** | **Boolean** | Indicates whether the transaction approval has been upgraded. | [optional]
11
+ **complete_time** | **String** | Time when the role completed the approval. | [optional]
9
12
  **user_details** | [**[ApprovalUserDetail]**](ApprovalUserDetail.md) | | [optional]
10
13
 
11
14
 
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
10
  **name** | **String** | The wallet name. |
11
11
  **org_id** | **String** | The ID of the owning organization. |
12
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet | [optional]
12
13
  **chain_id** | **String** | The ID of the chain on which the wallet operates. | [optional]
13
14
  **smart_contract_wallet_type** | [**SmartContractWalletType**](SmartContractWalletType.md) | |
14
15
  **safe_address** | **String** | The Smart Contract Wallet address. | [optional]
@@ -19,6 +19,6 @@ Name | Type | Description | Notes
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
- **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]
22
+ **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. | [optional]
23
23
 
24
24
 
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
10
10
  **name** | **String** | The wallet name. |
11
11
  **org_id** | **String** | The ID of the owning organization. |
12
+ **enable_auto_sweep** | **Boolean** | Enable the auto sweep feature for the wallet | [optional]
12
13
  **chain_id** | **String** | The ID of the chain on which the wallet operates. | [optional]
13
14
  **smart_contract_wallet_type** | [**SmartContractWalletType**](SmartContractWalletType.md) | |
14
15
  **safe_address** | **String** | The Smart Contract Wallet address. | [optional]
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. - &#x60;ComplianceDisposition&#x60;: The compliance disposition event data. |
8
8
  **token_ids** | **String** | A list of token IDs, separated by comma. |
9
9
  **operation_type** | [**SuspendedTokenOperationType**](SuspendedTokenOperationType.md) | |
10
10
 
@@ -43,6 +43,8 @@ Name | Type | Description | Notes
43
43
 
44
44
  * `SuspendedToken` (value: `"SuspendedToken"`)
45
45
 
46
+ * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
47
+
46
48
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
47
49
 
48
50
 
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.SweepToAddress
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The wallet address. |
8
+ **chain_id** | **String** | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains). |
9
+ **status** | [**SweepToAddressStatus**](SweepToAddressStatus.md) | | [optional]
10
+
11
+
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.SweepToAddressStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `Valid` (value: `"Valid"`)
7
+
8
+ * `Invalid` (value: `"Invalid"`)
9
+
10
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
11
+
12
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. - &#x60;ComplianceDisposition&#x60;: The compliance disposition event data. |
8
8
  **tss_request_id** | **String** | The TSS request ID. | [optional]
9
9
  **source_key_share_holder_group** | [**SourceGroup**](SourceGroup.md) | | [optional]
10
10
  **target_key_share_holder_group_id** | **String** | The target key share holder group ID. | [optional]
@@ -48,6 +48,8 @@ Name | Type | Description | Notes
48
48
 
49
49
  * `SuspendedToken` (value: `"SuspendedToken"`)
50
50
 
51
+ * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
52
+
51
53
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
52
54
 
53
55
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. - &#x60;ComplianceDisposition&#x60;: The compliance disposition event data. |
8
8
  **request_id** | **String** | The unique identifier of the token listing request. |
9
9
  **chain_id** | **String** | The ID of the blockchain where the token is deployed. |
10
10
  **contract_address** | **String** | The token&#39;s contract address on the specified blockchain. |
@@ -52,6 +52,8 @@ Name | Type | Description | Notes
52
52
 
53
53
  * `SuspendedToken` (value: `"SuspendedToken"`)
54
54
 
55
+ * `ComplianceDisposition` (value: `"ComplianceDisposition"`)
56
+
55
57
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
56
58
 
57
59