@cobo/cobo-waas2 1.28.0 → 1.29.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 (186) hide show
  1. package/README.md +66 -9
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AutoSweepApi.js +2 -2
  4. package/dist/api/ComplianceApi.js +144 -4
  5. package/dist/api/FeeStationApi.js +2 -2
  6. package/dist/api/PaymentApi.js +960 -85
  7. package/dist/api/StakingsApi.js +2 -2
  8. package/dist/api/TransactionsApi.js +6 -6
  9. package/dist/index.js +245 -0
  10. package/dist/model/AddressRiskLevel.js +71 -0
  11. package/dist/model/AddressesEventData.js +8 -3
  12. package/dist/model/AllocationRecord.js +8 -5
  13. package/dist/model/AllocationRequest.js +10 -7
  14. package/dist/model/BalanceUpdateInfoEventData.js +8 -3
  15. package/dist/model/BatchAllocation.js +1 -1
  16. package/dist/model/ChainsEventData.js +8 -3
  17. package/dist/model/CommissionFee.js +2 -2
  18. package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
  19. package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +341 -0
  20. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
  21. package/dist/model/ContractCallParams.js +2 -2
  22. package/dist/model/CounterpartyWalletAddressDetail.js +2 -2
  23. package/dist/model/CreateBatchAllocationRequest.js +2 -2
  24. package/dist/model/CreateCounterpartyEntry201Response.js +143 -0
  25. package/dist/model/CreateCounterpartyEntryRequest.js +141 -0
  26. package/dist/model/CreateDestinationEntry201Response.js +172 -0
  27. package/dist/model/CreateDestinationEntryRequest.js +172 -0
  28. package/dist/model/CreateKyaScreeningsBody.js +129 -0
  29. package/dist/model/CreateMerchantRequest.js +1 -1
  30. package/dist/model/CreatePaymentOrderRequest.js +11 -11
  31. package/dist/model/CreatePayoutRequest.js +5 -5
  32. package/dist/model/CreateRefundRequest.js +2 -2
  33. package/dist/model/CreateReportRequest.js +156 -0
  34. package/dist/model/CreateWalletAddress.js +2 -2
  35. package/dist/model/DeleteCounterpartyById200Response.js +110 -0
  36. package/dist/model/DeleteCounterpartyEntry200Response.js +110 -0
  37. package/dist/model/DeleteDestinationById200Response.js +110 -0
  38. package/dist/model/DeleteDestinationEntry200Response.js +110 -0
  39. package/dist/model/EntryType.js +61 -0
  40. package/dist/model/GetCounterpartyEntry200Response.js +90 -0
  41. package/dist/model/GetDestinationEntry200Response.js +106 -0
  42. package/dist/model/GetReports200Response.js +123 -0
  43. package/dist/model/KyaRiskAssessment.js +151 -0
  44. package/dist/model/KyaRiskDetail.js +126 -0
  45. package/dist/model/KyaRiskLevel.js +66 -0
  46. package/dist/model/KyaScreeningRequest.js +154 -0
  47. package/dist/model/KyaScreeningResult.js +222 -0
  48. package/dist/model/KyaScreeningResultRiskAssessment.js +171 -0
  49. package/dist/model/KyaScreeningStatus.js +71 -0
  50. package/dist/model/KyaScreeningsEventData.js +174 -0
  51. package/dist/model/LinkDisplayInfo.js +1 -1
  52. package/dist/model/ListCounterpartyEntries200Response.js +123 -0
  53. package/dist/model/ListDestinationEntries200Response.js +153 -0
  54. package/dist/model/ListKyaScreenings200Response.js +145 -0
  55. package/dist/model/MPCVaultEventData.js +8 -3
  56. package/dist/model/MerchantBalance.js +4 -4
  57. package/dist/model/Order.js +10 -10
  58. package/dist/model/OrderLinkBusinessInfo.js +12 -12
  59. package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -4
  60. package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +4 -4
  61. package/dist/model/PaymentAddressUpdateEventData.js +8 -3
  62. package/dist/model/PaymentAllocationAmount.js +2 -2
  63. package/dist/model/PaymentOrderEventData.js +26 -21
  64. package/dist/model/PaymentPayout.js +3 -3
  65. package/dist/model/PaymentPayoutDetail.js +3 -3
  66. package/dist/model/PaymentPayoutEvent.js +14 -9
  67. package/dist/model/PaymentPayoutItem.js +8 -7
  68. package/dist/model/PaymentPayoutItemDetail.js +8 -7
  69. package/dist/model/PaymentPayoutParam.js +8 -7
  70. package/dist/model/PaymentRefundEventData.js +8 -3
  71. package/dist/model/PaymentSettlementEvent.js +8 -3
  72. package/dist/model/PaymentTransactionEventData.js +8 -3
  73. package/dist/model/PspBalance.js +4 -4
  74. package/dist/model/RefundLinkBusinessInfo.js +1 -1
  75. package/dist/model/Report.js +209 -0
  76. package/dist/model/ReportExportFormat.js +66 -0
  77. package/dist/model/ReportStatus.js +61 -0
  78. package/dist/model/ReportType.js +121 -0
  79. package/dist/model/SuspendedTokenEventData.js +8 -3
  80. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  81. package/dist/model/TokenListingEventData.js +8 -3
  82. package/dist/model/TokensEventData.js +8 -3
  83. package/dist/model/TransactionWebhookEventData.js +8 -3
  84. package/dist/model/TransferParams.js +2 -2
  85. package/dist/model/UpdateCounterpartyRequest.js +160 -0
  86. package/dist/model/UpdateDestinationEntry200Response.js +90 -0
  87. package/dist/model/UpdateDestinationEntryRequest.js +135 -0
  88. package/dist/model/UpdateDestinationRequest.js +173 -0
  89. package/dist/model/UpdateMerchantByIdRequest.js +1 -1
  90. package/dist/model/WalletAddress.js +20 -2
  91. package/dist/model/WalletInfoEventData.js +8 -3
  92. package/dist/model/WebhookEventData.js +58 -24
  93. package/dist/model/WebhookEventDataType.js +7 -2
  94. package/dist/model/WebhookEventType.js +5 -0
  95. package/docs/AddressRiskLevel.md +16 -0
  96. package/docs/AddressesEventData.md +3 -1
  97. package/docs/AllocationRecord.md +5 -5
  98. package/docs/AllocationRequest.md +5 -5
  99. package/docs/AutoSweepApi.md +1 -1
  100. package/docs/BalanceUpdateInfoEventData.md +3 -1
  101. package/docs/BatchAllocation.md +1 -1
  102. package/docs/ChainsEventData.md +3 -1
  103. package/docs/CommissionFee.md +1 -1
  104. package/docs/ComplianceApi.md +163 -0
  105. package/docs/ComplianceDispositionUpdateEventData.md +3 -1
  106. package/docs/ComplianceKyaScreeningsUpdateEventData.md +62 -0
  107. package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
  108. package/docs/ContractCallParams.md +1 -1
  109. package/docs/CounterpartyWalletAddressDetail.md +1 -1
  110. package/docs/CreateBatchAllocationRequest.md +1 -1
  111. package/docs/CreateCounterpartyEntry201Response.md +10 -0
  112. package/docs/CreateCounterpartyEntryRequest.md +10 -0
  113. package/docs/CreateDestinationEntry201Response.md +11 -0
  114. package/docs/CreateDestinationEntryRequest.md +11 -0
  115. package/docs/CreateKyaScreeningsBody.md +9 -0
  116. package/docs/CreateMerchantRequest.md +1 -1
  117. package/docs/CreatePaymentOrderRequest.md +10 -10
  118. package/docs/CreatePayoutRequest.md +4 -4
  119. package/docs/CreateRefundRequest.md +2 -2
  120. package/docs/CreateReportRequest.md +13 -0
  121. package/docs/CreateWalletAddress.md +1 -1
  122. package/docs/DeleteCounterpartyById200Response.md +9 -0
  123. package/docs/DeleteCounterpartyEntry200Response.md +9 -0
  124. package/docs/DeleteDestinationById200Response.md +9 -0
  125. package/docs/DeleteDestinationEntry200Response.md +9 -0
  126. package/docs/EntryType.md +12 -0
  127. package/docs/FeeStationApi.md +1 -1
  128. package/docs/GetCounterpartyEntry200Response.md +9 -0
  129. package/docs/GetDestinationEntry200Response.md +10 -0
  130. package/docs/GetReports200Response.md +10 -0
  131. package/docs/KyaRiskAssessment.md +11 -0
  132. package/docs/KyaRiskDetail.md +10 -0
  133. package/docs/KyaRiskLevel.md +14 -0
  134. package/docs/KyaScreeningRequest.md +12 -0
  135. package/docs/KyaScreeningResult.md +17 -0
  136. package/docs/KyaScreeningResultRiskAssessment.md +11 -0
  137. package/docs/KyaScreeningStatus.md +16 -0
  138. package/docs/KyaScreeningsEventData.md +14 -0
  139. package/docs/LinkDisplayInfo.md +1 -1
  140. package/docs/ListCounterpartyEntries200Response.md +10 -0
  141. package/docs/ListDestinationEntries200Response.md +11 -0
  142. package/docs/ListKyaScreenings200Response.md +10 -0
  143. package/docs/MPCVaultEventData.md +3 -1
  144. package/docs/MerchantBalance.md +4 -4
  145. package/docs/Order.md +8 -8
  146. package/docs/OrderLinkBusinessInfo.md +11 -11
  147. package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
  148. package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +2 -2
  149. package/docs/PaymentAddressUpdateEventData.md +3 -1
  150. package/docs/PaymentAllocationAmount.md +1 -1
  151. package/docs/PaymentApi.md +1104 -161
  152. package/docs/PaymentOrderEventData.md +11 -9
  153. package/docs/PaymentPayout.md +3 -3
  154. package/docs/PaymentPayoutDetail.md +3 -3
  155. package/docs/PaymentPayoutEvent.md +6 -4
  156. package/docs/PaymentPayoutItem.md +6 -6
  157. package/docs/PaymentPayoutItemDetail.md +6 -6
  158. package/docs/PaymentPayoutParam.md +5 -5
  159. package/docs/PaymentRefundEventData.md +3 -1
  160. package/docs/PaymentSettlementEvent.md +3 -1
  161. package/docs/PaymentTransactionEventData.md +3 -1
  162. package/docs/PspBalance.md +4 -4
  163. package/docs/RefundLinkBusinessInfo.md +1 -1
  164. package/docs/Report.md +17 -0
  165. package/docs/ReportExportFormat.md +14 -0
  166. package/docs/ReportStatus.md +12 -0
  167. package/docs/ReportType.md +36 -0
  168. package/docs/StakingsApi.md +1 -1
  169. package/docs/SuspendedTokenEventData.md +3 -1
  170. package/docs/TSSRequestWebhookEventData.md +3 -1
  171. package/docs/TokenListingEventData.md +3 -1
  172. package/docs/TokensEventData.md +3 -1
  173. package/docs/TransactionWebhookEventData.md +3 -1
  174. package/docs/TransactionsApi.md +3 -3
  175. package/docs/TransferParams.md +1 -1
  176. package/docs/UpdateCounterpartyRequest.md +13 -0
  177. package/docs/UpdateDestinationEntry200Response.md +9 -0
  178. package/docs/UpdateDestinationEntryRequest.md +11 -0
  179. package/docs/UpdateDestinationRequest.md +14 -0
  180. package/docs/UpdateMerchantByIdRequest.md +1 -1
  181. package/docs/WalletAddress.md +3 -1
  182. package/docs/WalletInfoEventData.md +3 -1
  183. package/docs/WebhookEventData.md +18 -15
  184. package/docs/WebhookEventDataType.md +3 -1
  185. package/docs/WebhookEventType.md +2 -0
  186. package/package.json +1 -1
@@ -36,7 +36,7 @@ var OrderLinkBusinessInfo = /*#__PURE__*/function () {
36
36
  * @alias module:model/OrderLinkBusinessInfo
37
37
  * @param merchant_id {String} The merchant ID.
38
38
  * @param psp_order_code {String} A unique reference code assigned by you as a developer to identify this order in your system. This code must be unique across all orders in your system. The code should have a maximum length of 128 characters.
39
- * @param fee_amount {String} The developer fee for the order, in the currency specified by `currency`. If `currency` is not specified, the fee is in the cryptocurrency specified by `token_id`. If you are a merchant directly serving payers, set this field to `0`. Developer fees are only relevant for platforms like payment service providers (PSPs) that charge fees to their downstream merchants. The developer fee is added to the base amount (`order_amount`) to determine the final charge. For example: - Base amount (`order_amount`): \"100.00\" - Developer fee (`fee_amount`): \"2.00\" - Total charged to customer: \"102.00\" Values can contain up to two decimal places.
39
+ * @param fee_amount {String} The developer fee for the order. It is added to the base amount (`pricing_amount`) to determine the final charge. For example, if `pricing_amount` is \"100.00\" and `fee_amount` is \"2.00\", the payer will be charged \"102.00\" in total, with \"100.00\" being settled to the merchant account and \"2.00\" settled to the developer account. Values must be greater than 0 and contain two decimal places.
40
40
  */
41
41
  function OrderLinkBusinessInfo(merchant_id, psp_order_code, fee_amount) {
42
42
  _classCallCheck(this, OrderLinkBusinessInfo);
@@ -251,31 +251,31 @@ OrderLinkBusinessInfo.prototype['merchant_order_code'] = undefined;
251
251
  OrderLinkBusinessInfo.prototype['psp_order_code'] = undefined;
252
252
 
253
253
  /**
254
- * The currency for the base order amount and the developer fee. Currently, only `USD`/`USDT`/`USDC` are supported.
254
+ * The pricing currency that denominates `pricing_amount` and `fee_amount`. Currently, only `USD`/`USDT`/`USDC` are supported. This field is required.
255
255
  * @member {String} pricing_currency
256
256
  */
257
257
  OrderLinkBusinessInfo.prototype['pricing_currency'] = undefined;
258
258
 
259
259
  /**
260
- * The base amount of the order, excluding the developer fee (specified in `fee_amount`), in the currency specified by `currency`. If `currency` is not specified, the amount is in the cryptocurrency specified by `token_id`. Values must be greater than `0` and contain two decimal places.
260
+ * The base amount of the order, excluding the developer fee (specified in `fee_amount`). Values must be greater than `0` and contain two decimal places.
261
261
  * @member {String} pricing_amount
262
262
  */
263
263
  OrderLinkBusinessInfo.prototype['pricing_amount'] = undefined;
264
264
 
265
265
  /**
266
- * The developer fee for the order, in the currency specified by `currency`. If `currency` is not specified, the fee is in the cryptocurrency specified by `token_id`. If you are a merchant directly serving payers, set this field to `0`. Developer fees are only relevant for platforms like payment service providers (PSPs) that charge fees to their downstream merchants. The developer fee is added to the base amount (`order_amount`) to determine the final charge. For example: - Base amount (`order_amount`): \"100.00\" - Developer fee (`fee_amount`): \"2.00\" - Total charged to customer: \"102.00\" Values can contain up to two decimal places.
266
+ * The developer fee for the order. It is added to the base amount (`pricing_amount`) to determine the final charge. For example, if `pricing_amount` is \"100.00\" and `fee_amount` is \"2.00\", the payer will be charged \"102.00\" in total, with \"100.00\" being settled to the merchant account and \"2.00\" settled to the developer account. Values must be greater than 0 and contain two decimal places.
267
267
  * @member {String} fee_amount
268
268
  */
269
269
  OrderLinkBusinessInfo.prototype['fee_amount'] = undefined;
270
270
 
271
271
  /**
272
- * List of supported cryptocurrency token IDs for this payment. Each token ID must be from the supported values.
272
+ * The IDs of the cryptocurrencies used for payment. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
273
273
  * @member {Array.<String>} payable_currencies
274
274
  */
275
275
  OrderLinkBusinessInfo.prototype['payable_currencies'] = undefined;
276
276
 
277
277
  /**
278
- * Optional list of payable amounts for different tokens. If provided, these amounts will be used instead of calculating the amounts based on the exchange rate.
278
+ * The total amounts the payer needs to pay for each currency in `payable_currencies`. If this field is left blank, the system will automatically calculate the amounts at order creation using the following formula: (`pricing_amount` + `fee_amount`) / current exchange rate. Values must be greater than 0 and contain two decimal places.
279
279
  * @member {Array.<module:model/OrderLinkBusinessInfoPayableAmountsInner>} payable_amounts
280
280
  */
281
281
  OrderLinkBusinessInfo.prototype['payable_amounts'] = undefined;
@@ -288,37 +288,37 @@ OrderLinkBusinessInfo.prototype['payable_amounts'] = undefined;
288
288
  OrderLinkBusinessInfo.prototype['expired_in'] = 1800;
289
289
 
290
290
  /**
291
- * Allowed amount deviation, precision to 1 decimal place.
291
+ * The allowed amount deviation, with precision up to 1 decimal place. For example, if `payable_amount` is `100.00` and `amount_tolerance` is `0.50`: - Payer pays 99.55 → Success (difference of 0.45 ≤ 0.5) - Payer pays 99.40 → Underpaid (difference of 0.60 > 0.5)
292
292
  * @member {String} amount_tolerance
293
293
  */
294
294
  OrderLinkBusinessInfo.prototype['amount_tolerance'] = undefined;
295
295
 
296
296
  /**
297
- * The currency for the base order amount and the developer fee. Currently, only `USD`/`USDT`/`USDC` are supported.
297
+ * This field has been deprecated. Please use `pricing_currency` instead.
298
298
  * @member {String} currency
299
299
  */
300
300
  OrderLinkBusinessInfo.prototype['currency'] = undefined;
301
301
 
302
302
  /**
303
- * The base amount of the order, excluding the developer fee (specified in `fee_amount`), in the currency specified by `currency`. If `currency` is not specified, the amount is in the cryptocurrency specified by `token_id`. Values must be greater than `0` and contain two decimal places.
303
+ * This field has been deprecated. Please use `pricing_amount` instead.
304
304
  * @member {String} order_amount
305
305
  */
306
306
  OrderLinkBusinessInfo.prototype['order_amount'] = undefined;
307
307
 
308
308
  /**
309
- * List of supported cryptocurrency token IDs for this payment. Each token ID must be from the supported values.
309
+ * This field has been deprecated. Please use `payable_currencies` instead.
310
310
  * @member {Array.<String>} token_ids
311
311
  */
312
312
  OrderLinkBusinessInfo.prototype['token_ids'] = undefined;
313
313
 
314
314
  /**
315
- * Optional list of final exchange rates for different tokens. If provided, these rates will be used instead of real-time market rates.
315
+ * This field has been deprecated.
316
316
  * @member {Array.<module:model/OrderLinkBusinessInfoCustomExchangeRatesInner>} custom_exchange_rates
317
317
  */
318
318
  OrderLinkBusinessInfo.prototype['custom_exchange_rates'] = undefined;
319
319
 
320
320
  /**
321
- * Whether to allocate a dedicated address for this order. - `true`: A dedicated address will be allocated for this order. - `false`: A shared address from the address pool will be used.
321
+ * This field has been deprecated.
322
322
  * @member {Boolean} use_dedicated_address
323
323
  */
324
324
  OrderLinkBusinessInfo.prototype['use_dedicated_address'] = undefined;
@@ -32,8 +32,8 @@ var OrderLinkBusinessInfoCustomExchangeRatesInner = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new <code>OrderLinkBusinessInfoCustomExchangeRatesInner</code>.
34
34
  * @alias module:model/OrderLinkBusinessInfoCustomExchangeRatesInner
35
- * @param token_id {String} The cryptocurrency token ID
36
- * @param exchange_rate {String} The fixed exchange rate to use for this token
35
+ * @param token_id {String}
36
+ * @param exchange_rate {String}
37
37
  */
38
38
  function OrderLinkBusinessInfoCustomExchangeRatesInner(token_id, exchange_rate) {
39
39
  _classCallCheck(this, OrderLinkBusinessInfoCustomExchangeRatesInner);
@@ -112,13 +112,11 @@ var OrderLinkBusinessInfoCustomExchangeRatesInner = /*#__PURE__*/function () {
112
112
  OrderLinkBusinessInfoCustomExchangeRatesInner.RequiredProperties = ["token_id", "exchange_rate"];
113
113
 
114
114
  /**
115
- * The cryptocurrency token ID
116
115
  * @member {String} token_id
117
116
  */
118
117
  OrderLinkBusinessInfoCustomExchangeRatesInner.prototype['token_id'] = undefined;
119
118
 
120
119
  /**
121
- * The fixed exchange rate to use for this token
122
120
  * @member {String} exchange_rate
123
121
  */
124
122
  OrderLinkBusinessInfoCustomExchangeRatesInner.prototype['exchange_rate'] = undefined;
@@ -32,8 +32,8 @@ var OrderLinkBusinessInfoPayableAmountsInner = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new <code>OrderLinkBusinessInfoPayableAmountsInner</code>.
34
34
  * @alias module:model/OrderLinkBusinessInfoPayableAmountsInner
35
- * @param token_id {String} The cryptocurrency token ID
36
- * @param amount {String} The actual payable amount of the order in the cryptocurrency.
35
+ * @param token_id {String} The ID of the cryptocurrency used for payment. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
36
+ * @param amount {String} The payable amount in the specified currency.
37
37
  */
38
38
  function OrderLinkBusinessInfoPayableAmountsInner(token_id, amount) {
39
39
  _classCallCheck(this, OrderLinkBusinessInfoPayableAmountsInner);
@@ -112,13 +112,13 @@ var OrderLinkBusinessInfoPayableAmountsInner = /*#__PURE__*/function () {
112
112
  OrderLinkBusinessInfoPayableAmountsInner.RequiredProperties = ["token_id", "amount"];
113
113
 
114
114
  /**
115
- * The cryptocurrency token ID
115
+ * The ID of the cryptocurrency used for payment. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
116
116
  * @member {String} token_id
117
117
  */
118
118
  OrderLinkBusinessInfoPayableAmountsInner.prototype['token_id'] = undefined;
119
119
 
120
120
  /**
121
- * The actual payable amount of the order in the cryptocurrency.
121
+ * The payable amount in the specified currency.
122
122
  * @member {String} amount
123
123
  */
124
124
  OrderLinkBusinessInfoPayableAmountsInner.prototype['amount'] = undefined;
@@ -34,7 +34,7 @@ var PaymentAddressUpdateEventData = /*#__PURE__*/function () {
34
34
  * Constructs a new <code>PaymentAddressUpdateEventData</code>.
35
35
  * @alias module:model/PaymentAddressUpdateEventData
36
36
  * @implements module:model/WebhookEventDataType
37
- * @param data_type {module:model/PaymentAddressUpdateEventData.DataTypeEnum} 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. - `PaymentPayout`: The payment payout 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.
37
+ * @param data_type {module:model/PaymentAddressUpdateEventData.DataTypeEnum} 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
38
38
  * @param custom_payer_id {String} A unique identifier assigned by the developer to track and identify individual payers in their system.
39
39
  * @param payer_id {String} A unique identifier assigned by Cobo to track and identify individual payers.
40
40
  * @param chain {String} The chain ID.
@@ -152,7 +152,7 @@ var PaymentAddressUpdateEventData = /*#__PURE__*/function () {
152
152
  PaymentAddressUpdateEventData.RequiredProperties = ["data_type", "custom_payer_id", "payer_id", "chain", "previous_address", "updated_address"];
153
153
 
154
154
  /**
155
- * 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. - `PaymentPayout`: The payment payout 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.
155
+ * 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
156
156
  * @member {module:model/PaymentAddressUpdateEventData.DataTypeEnum} data_type
157
157
  */
158
158
  PaymentAddressUpdateEventData.prototype['data_type'] = undefined;
@@ -189,7 +189,7 @@ PaymentAddressUpdateEventData.prototype['updated_address'] = undefined;
189
189
 
190
190
  // Implement WebhookEventDataType interface:
191
191
  /**
192
- * 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. - `PaymentPayout`: The payment payout 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.
192
+ * 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
193
193
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
194
194
  */
195
195
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -290,6 +290,11 @@ PaymentAddressUpdateEventData['DataTypeEnum'] = {
290
290
  * @const
291
291
  */
292
292
  "ComplianceKytScreenings": "ComplianceKytScreenings",
293
+ /**
294
+ * value: "ComplianceKyaScreenings"
295
+ * @const
296
+ */
297
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
293
298
  /**
294
299
  * value: "unknown_default_open_api"
295
300
  * @const
@@ -33,7 +33,7 @@ var PaymentAllocationAmount = /*#__PURE__*/function () {
33
33
  * Constructs a new <code>PaymentAllocationAmount</code>.
34
34
  * @alias module:model/PaymentAllocationAmount
35
35
  * @param token_id {String} The ID of the cryptocurrency.
36
- * @param allocation_amount {String} The allocation amount.
36
+ * @param allocation_amount {String} The available amount that can be allocated from the source account to the destination account for the given cryptocurrency.
37
37
  */
38
38
  function PaymentAllocationAmount(token_id, allocation_amount) {
39
39
  _classCallCheck(this, PaymentAllocationAmount);
@@ -118,7 +118,7 @@ PaymentAllocationAmount.RequiredProperties = ["token_id", "allocation_amount"];
118
118
  PaymentAllocationAmount.prototype['token_id'] = undefined;
119
119
 
120
120
  /**
121
- * The allocation amount.
121
+ * The available amount that can be allocated from the source account to the destination account for the given cryptocurrency.
122
122
  * @member {String} allocation_amount
123
123
  */
124
124
  PaymentAllocationAmount.prototype['allocation_amount'] = undefined;
@@ -39,13 +39,13 @@ var PaymentOrderEventData = /*#__PURE__*/function () {
39
39
  * @alias module:model/PaymentOrderEventData
40
40
  * @implements module:model/WebhookEventDataType
41
41
  * @implements module:model/Order
42
- * @param data_type {module:model/PaymentOrderEventData.DataTypeEnum} 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. - `PaymentPayout`: The payment payout 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.
42
+ * @param data_type {module:model/PaymentOrderEventData.DataTypeEnum} 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
43
43
  * @param order_id {String} The order ID.
44
44
  * @param psp_order_code {String} A unique reference code assigned by the developer to identify this order in their system.
45
- * @param fee_amount {String} The developer fee for the order in fiat currency. It is added to the base amount (`order_amount`) to determine the final charge.
45
+ * @param fee_amount {String} The developer fee for the order. It is added to the base amount to determine the final charge.
46
46
  * @param chain_id {String} The ID of the blockchain network where the payment transaction should be made.
47
47
  * @param payable_amount {String} The cryptocurrency amount to be paid for this order.
48
- * @param exchange_rate {String} The exchange rate between a currency pair. Expressed as the amount of fiat currency per one unit of cryptocurrency. For example, if the cryptocurrency is USDT and the fiat currency is USD, a rate of \"0.99\" means 1 USDT = 0.99 USD.
48
+ * @param exchange_rate {String} The exchange rate between `payable_currency` and `pricing_currency`, calculated as (`pricing_amount` + `fee_amount`) / `payable_amount`. <Note>This field is only returned when `payable_amount` was not provided in the order creation request. </Note>
49
49
  * @param receive_address {String} The recipient wallet address to be used for the payment transaction.
50
50
  * @param status {module:model/OrderStatus}
51
51
  * @param received_token_amount {String} The total cryptocurrency amount received for this order. Updates until the expiration time. Precision matches the token standard (e.g., 6 decimals for USDT).
@@ -290,7 +290,7 @@ var PaymentOrderEventData = /*#__PURE__*/function () {
290
290
  PaymentOrderEventData.RequiredProperties = ["data_type", "order_id", "psp_order_code", "fee_amount", "chain_id", "payable_amount", "exchange_rate", "receive_address", "status", "received_token_amount"];
291
291
 
292
292
  /**
293
- * 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. - `PaymentPayout`: The payment payout 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.
293
+ * 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
294
294
  * @member {module:model/PaymentOrderEventData.DataTypeEnum} data_type
295
295
  */
296
296
  PaymentOrderEventData.prototype['data_type'] = undefined;
@@ -320,19 +320,19 @@ PaymentOrderEventData.prototype['merchant_order_code'] = undefined;
320
320
  PaymentOrderEventData.prototype['psp_order_code'] = undefined;
321
321
 
322
322
  /**
323
- * The fiat currency of the order.
323
+ * The pricing currency of the order.
324
324
  * @member {String} pricing_currency
325
325
  */
326
326
  PaymentOrderEventData.prototype['pricing_currency'] = undefined;
327
327
 
328
328
  /**
329
- * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
329
+ * The base amount of the order, excluding the developer fee (specified in `fee_amount`).
330
330
  * @member {String} pricing_amount
331
331
  */
332
332
  PaymentOrderEventData.prototype['pricing_amount'] = undefined;
333
333
 
334
334
  /**
335
- * The developer fee for the order in fiat currency. It is added to the base amount (`order_amount`) to determine the final charge.
335
+ * The developer fee for the order. It is added to the base amount to determine the final charge.
336
336
  * @member {String} fee_amount
337
337
  */
338
338
  PaymentOrderEventData.prototype['fee_amount'] = undefined;
@@ -356,13 +356,13 @@ PaymentOrderEventData.prototype['chain_id'] = undefined;
356
356
  PaymentOrderEventData.prototype['payable_amount'] = undefined;
357
357
 
358
358
  /**
359
- * The exchange rate between a currency pair. Expressed as the amount of fiat currency per one unit of cryptocurrency. For example, if the cryptocurrency is USDT and the fiat currency is USD, a rate of \"0.99\" means 1 USDT = 0.99 USD.
359
+ * The exchange rate between `payable_currency` and `pricing_currency`, calculated as (`pricing_amount` + `fee_amount`) / `payable_amount`. <Note>This field is only returned when `payable_amount` was not provided in the order creation request. </Note>
360
360
  * @member {String} exchange_rate
361
361
  */
362
362
  PaymentOrderEventData.prototype['exchange_rate'] = undefined;
363
363
 
364
364
  /**
365
- * Allowed amount deviation.
365
+ * The allowed amount deviation, with precision up to 1 decimal place. For example, if `payable_amount` is `100.00` and `amount_tolerance` is `0.50`: - Payer pays 99.55 → Success (difference of 0.45 ≤ 0.5) - Payer pays 99.40 → Underpaid (difference of 0.60 > 0.5)
366
366
  * @member {String} amount_tolerance
367
367
  */
368
368
  PaymentOrderEventData.prototype['amount_tolerance'] = undefined;
@@ -409,19 +409,19 @@ PaymentOrderEventData.prototype['updated_timestamp'] = undefined;
409
409
  PaymentOrderEventData.prototype['transactions'] = undefined;
410
410
 
411
411
  /**
412
- * The fiat currency of the order.
412
+ * This field has been deprecated. Please use `pricing_currency` instead.
413
413
  * @member {String} currency
414
414
  */
415
415
  PaymentOrderEventData.prototype['currency'] = undefined;
416
416
 
417
417
  /**
418
- * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
418
+ * This field has been deprecated. Please use `pricing_amount` instead.
419
419
  * @member {String} order_amount
420
420
  */
421
421
  PaymentOrderEventData.prototype['order_amount'] = undefined;
422
422
 
423
423
  /**
424
- * The ID of the cryptocurrency used for payment.
424
+ * This field has been deprecated. Please use `payable_currency` instead.
425
425
  * @member {String} token_id
426
426
  */
427
427
  PaymentOrderEventData.prototype['token_id'] = undefined;
@@ -433,7 +433,7 @@ PaymentOrderEventData.prototype['settlement_status'] = undefined;
433
433
 
434
434
  // Implement WebhookEventDataType interface:
435
435
  /**
436
- * 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. - `PaymentPayout`: The payment payout 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.
436
+ * 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
437
437
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
438
438
  */
439
439
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -459,17 +459,17 @@ _Order["default"].prototype['merchant_order_code'] = undefined;
459
459
  */
460
460
  _Order["default"].prototype['psp_order_code'] = undefined;
461
461
  /**
462
- * The fiat currency of the order.
462
+ * The pricing currency of the order.
463
463
  * @member {String} pricing_currency
464
464
  */
465
465
  _Order["default"].prototype['pricing_currency'] = undefined;
466
466
  /**
467
- * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
467
+ * The base amount of the order, excluding the developer fee (specified in `fee_amount`).
468
468
  * @member {String} pricing_amount
469
469
  */
470
470
  _Order["default"].prototype['pricing_amount'] = undefined;
471
471
  /**
472
- * The developer fee for the order in fiat currency. It is added to the base amount (`order_amount`) to determine the final charge.
472
+ * The developer fee for the order. It is added to the base amount to determine the final charge.
473
473
  * @member {String} fee_amount
474
474
  */
475
475
  _Order["default"].prototype['fee_amount'] = undefined;
@@ -489,12 +489,12 @@ _Order["default"].prototype['chain_id'] = undefined;
489
489
  */
490
490
  _Order["default"].prototype['payable_amount'] = undefined;
491
491
  /**
492
- * The exchange rate between a currency pair. Expressed as the amount of fiat currency per one unit of cryptocurrency. For example, if the cryptocurrency is USDT and the fiat currency is USD, a rate of \"0.99\" means 1 USDT = 0.99 USD.
492
+ * The exchange rate between `payable_currency` and `pricing_currency`, calculated as (`pricing_amount` + `fee_amount`) / `payable_amount`. <Note>This field is only returned when `payable_amount` was not provided in the order creation request. </Note>
493
493
  * @member {String} exchange_rate
494
494
  */
495
495
  _Order["default"].prototype['exchange_rate'] = undefined;
496
496
  /**
497
- * Allowed amount deviation.
497
+ * The allowed amount deviation, with precision up to 1 decimal place. For example, if `payable_amount` is `100.00` and `amount_tolerance` is `0.50`: - Payer pays 99.55 → Success (difference of 0.45 ≤ 0.5) - Payer pays 99.40 → Underpaid (difference of 0.60 > 0.5)
498
498
  * @member {String} amount_tolerance
499
499
  */
500
500
  _Order["default"].prototype['amount_tolerance'] = undefined;
@@ -533,17 +533,17 @@ _Order["default"].prototype['updated_timestamp'] = undefined;
533
533
  */
534
534
  _Order["default"].prototype['transactions'] = undefined;
535
535
  /**
536
- * The fiat currency of the order.
536
+ * This field has been deprecated. Please use `pricing_currency` instead.
537
537
  * @member {String} currency
538
538
  */
539
539
  _Order["default"].prototype['currency'] = undefined;
540
540
  /**
541
- * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
541
+ * This field has been deprecated. Please use `pricing_amount` instead.
542
542
  * @member {String} order_amount
543
543
  */
544
544
  _Order["default"].prototype['order_amount'] = undefined;
545
545
  /**
546
- * The ID of the cryptocurrency used for payment.
546
+ * This field has been deprecated. Please use `payable_currency` instead.
547
547
  * @member {String} token_id
548
548
  */
549
549
  _Order["default"].prototype['token_id'] = undefined;
@@ -648,6 +648,11 @@ PaymentOrderEventData['DataTypeEnum'] = {
648
648
  * @const
649
649
  */
650
650
  "ComplianceKytScreenings": "ComplianceKytScreenings",
651
+ /**
652
+ * value: "ComplianceKyaScreenings"
653
+ * @const
654
+ */
655
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
651
656
  /**
652
657
  * value: "unknown_default_open_api"
653
658
  * @const
@@ -226,19 +226,19 @@ PaymentPayout.prototype['created_timestamp'] = undefined;
226
226
  PaymentPayout.prototype['updated_timestamp'] = undefined;
227
227
 
228
228
  /**
229
- * The initiator of this payout, usually the user's API key.
229
+ * The initiator of this payout, usually the API key used to create the payout.
230
230
  * @member {String} initiator
231
231
  */
232
232
  PaymentPayout.prototype['initiator'] = undefined;
233
233
 
234
234
  /**
235
- * The fiat currency for the payout.
235
+ * The fiat currency you will receive from the payout.
236
236
  * @member {String} currency
237
237
  */
238
238
  PaymentPayout.prototype['currency'] = undefined;
239
239
 
240
240
  /**
241
- * The actual amount of this payout.
241
+ * The total amount of cryptocurrency actually paid out for this payout.
242
242
  * @member {String} actual_payout_amount
243
243
  */
244
244
  PaymentPayout.prototype['actual_payout_amount'] = undefined;
@@ -219,7 +219,7 @@ PaymentPayoutDetail.prototype['created_timestamp'] = undefined;
219
219
  PaymentPayoutDetail.prototype['updated_timestamp'] = undefined;
220
220
 
221
221
  /**
222
- * The initiator of this payout, usually the user's API key.
222
+ * The initiator of this payout, usually the API key used to create the payout.
223
223
  * @member {String} initiator
224
224
  */
225
225
  PaymentPayoutDetail.prototype['initiator'] = undefined;
@@ -230,13 +230,13 @@ PaymentPayoutDetail.prototype['initiator'] = undefined;
230
230
  PaymentPayoutDetail.prototype['payout_channel'] = undefined;
231
231
 
232
232
  /**
233
- * The fiat currency for the payout.
233
+ * The fiat currency you will receive from the payout.
234
234
  * @member {String} currency
235
235
  */
236
236
  PaymentPayoutDetail.prototype['currency'] = undefined;
237
237
 
238
238
  /**
239
- * The actual amount of this payout.
239
+ * The total amount of cryptocurrency actually paid out for this payout.
240
240
  * @member {String} actual_payout_amount
241
241
  */
242
242
  PaymentPayoutDetail.prototype['actual_payout_amount'] = undefined;
@@ -40,7 +40,7 @@ var PaymentPayoutEvent = /*#__PURE__*/function () {
40
40
  * @alias module:model/PaymentPayoutEvent
41
41
  * @implements module:model/WebhookEventDataType
42
42
  * @implements module:model/PaymentPayoutDetail
43
- * @param data_type {module:model/PaymentPayoutEvent.DataTypeEnum} 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. - `PaymentPayout`: The payment payout 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.
43
+ * @param data_type {module:model/PaymentPayoutEvent.DataTypeEnum} 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
44
44
  * @param payout_id {String} The payout ID generated by Cobo.
45
45
  * @param request_id {String} The request ID provided by you when creating the payout.
46
46
  * @param status {module:model/PaymentPayoutStatus}
@@ -202,7 +202,7 @@ var PaymentPayoutEvent = /*#__PURE__*/function () {
202
202
  PaymentPayoutEvent.RequiredProperties = ["data_type", "payout_id", "request_id", "status"];
203
203
 
204
204
  /**
205
- * 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. - `PaymentPayout`: The payment payout 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.
205
+ * 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
206
206
  * @member {module:model/PaymentPayoutEvent.DataTypeEnum} data_type
207
207
  */
208
208
  PaymentPayoutEvent.prototype['data_type'] = undefined;
@@ -242,7 +242,7 @@ PaymentPayoutEvent.prototype['created_timestamp'] = undefined;
242
242
  PaymentPayoutEvent.prototype['updated_timestamp'] = undefined;
243
243
 
244
244
  /**
245
- * The initiator of this payout, usually the user's API key.
245
+ * The initiator of this payout, usually the API key used to create the payout.
246
246
  * @member {String} initiator
247
247
  */
248
248
  PaymentPayoutEvent.prototype['initiator'] = undefined;
@@ -253,13 +253,13 @@ PaymentPayoutEvent.prototype['initiator'] = undefined;
253
253
  PaymentPayoutEvent.prototype['payout_channel'] = undefined;
254
254
 
255
255
  /**
256
- * The fiat currency for the payout.
256
+ * The fiat currency you will receive from the payout.
257
257
  * @member {String} currency
258
258
  */
259
259
  PaymentPayoutEvent.prototype['currency'] = undefined;
260
260
 
261
261
  /**
262
- * The actual amount of this payout.
262
+ * The total amount of cryptocurrency actually paid out for this payout.
263
263
  * @member {String} actual_payout_amount
264
264
  */
265
265
  PaymentPayoutEvent.prototype['actual_payout_amount'] = undefined;
@@ -271,7 +271,7 @@ PaymentPayoutEvent.prototype['bank_account'] = undefined;
271
271
 
272
272
  // Implement WebhookEventDataType interface:
273
273
  /**
274
- * 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. - `PaymentPayout`: The payment payout 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.
274
+ * 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. - `PaymentPayout`: The payment payout 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
275
275
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
276
276
  */
277
277
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -305,7 +305,7 @@ _PaymentPayoutDetail["default"].prototype['created_timestamp'] = undefined;
305
305
  */
306
306
  _PaymentPayoutDetail["default"].prototype['updated_timestamp'] = undefined;
307
307
  /**
308
- * The initiator of this payout, usually the user's API key.
308
+ * The initiator of this payout, usually the API key used to create the payout.
309
309
  * @member {String} initiator
310
310
  */
311
311
  _PaymentPayoutDetail["default"].prototype['initiator'] = undefined;
@@ -314,12 +314,12 @@ _PaymentPayoutDetail["default"].prototype['initiator'] = undefined;
314
314
  */
315
315
  _PaymentPayoutDetail["default"].prototype['payout_channel'] = undefined;
316
316
  /**
317
- * The fiat currency for the payout.
317
+ * The fiat currency you will receive from the payout.
318
318
  * @member {String} currency
319
319
  */
320
320
  _PaymentPayoutDetail["default"].prototype['currency'] = undefined;
321
321
  /**
322
- * The actual amount of this payout.
322
+ * The total amount of cryptocurrency actually paid out for this payout.
323
323
  * @member {String} actual_payout_amount
324
324
  */
325
325
  _PaymentPayoutDetail["default"].prototype['actual_payout_amount'] = undefined;
@@ -424,6 +424,11 @@ PaymentPayoutEvent['DataTypeEnum'] = {
424
424
  * @const
425
425
  */
426
426
  "ComplianceKytScreenings": "ComplianceKytScreenings",
427
+ /**
428
+ * value: "ComplianceKyaScreenings"
429
+ * @const
430
+ */
431
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
427
432
  /**
428
433
  * value: "unknown_default_open_api"
429
434
  * @const
@@ -38,9 +38,9 @@ var PaymentPayoutItem = /*#__PURE__*/function () {
38
38
  * @alias module:model/PaymentPayoutItem
39
39
  * @param payout_item_id {String} The payout item ID generated by Cobo.
40
40
  * @param payout_id {String} The payout ID generated by Cobo.
41
- * @param amount {String} The payout item token_id amount.
41
+ * @param amount {String} The amount of the cryptocurrency to pay out.
42
42
  * @param status {module:model/PaymentPayoutItemStatus}
43
- * @param source_account {String}
43
+ * @param source_account {String} The source account from which the payout was made. - If the source account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the source account is the developer account, use the string `\"developer\"`.
44
44
  */
45
45
  function PaymentPayoutItem(payout_item_id, payout_id, amount, status, source_account) {
46
46
  _classCallCheck(this, PaymentPayoutItem);
@@ -229,19 +229,19 @@ PaymentPayoutItem.prototype['payout_item_id'] = undefined;
229
229
  PaymentPayoutItem.prototype['payout_id'] = undefined;
230
230
 
231
231
  /**
232
- * The token id of the payout item.
232
+ * The ID of the cryptocurrency paid out.
233
233
  * @member {String} token_id
234
234
  */
235
235
  PaymentPayoutItem.prototype['token_id'] = undefined;
236
236
 
237
237
  /**
238
- * The ID of the blockchain network on which the payout item occurred.
238
+ * The ID of the blockchain network on which the payout occurred.
239
239
  * @member {String} chain_id
240
240
  */
241
241
  PaymentPayoutItem.prototype['chain_id'] = undefined;
242
242
 
243
243
  /**
244
- * The payout item token_id amount.
244
+ * The amount of the cryptocurrency to pay out.
245
245
  * @member {String} amount
246
246
  */
247
247
  PaymentPayoutItem.prototype['amount'] = undefined;
@@ -252,12 +252,13 @@ PaymentPayoutItem.prototype['amount'] = undefined;
252
252
  PaymentPayoutItem.prototype['status'] = undefined;
253
253
 
254
254
  /**
255
+ * The source account from which the payout was made. - If the source account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the source account is the developer account, use the string `\"developer\"`.
255
256
  * @member {String} source_account
256
257
  */
257
258
  PaymentPayoutItem.prototype['source_account'] = undefined;
258
259
 
259
260
  /**
260
- * An array of transactions associated with this payout item request. Each transaction represents a separate blockchain operation related to the payout item process.
261
+ * An array of transactions associated with this payout item. Each transaction represents a separate blockchain operation related to the payout item process.
261
262
  * @member {Array.<module:model/PaymentTransaction>} transactions
262
263
  */
263
264
  PaymentPayoutItem.prototype['transactions'] = undefined;
@@ -275,7 +276,7 @@ PaymentPayoutItem.prototype['created_timestamp'] = undefined;
275
276
  PaymentPayoutItem.prototype['updated_timestamp'] = undefined;
276
277
 
277
278
  /**
278
- * Unique identifier for the pre-approved crypto address, used to reference the address securely in requests.
279
+ * The ID of the crypto address used for crypto payouts.
279
280
  * @member {String} crypto_address_id
280
281
  */
281
282
  PaymentPayoutItem.prototype['crypto_address_id'] = undefined;