@cobo/cobo-waas2 1.26.0 → 1.28.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 (262) hide show
  1. package/README.md +96 -4
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AddressBooksApi.js +2 -2
  4. package/dist/api/AutoSweepApi.js +4 -4
  5. package/dist/api/DevelopersWebhooksApi.js +2 -2
  6. package/dist/api/OAuthApi.js +4 -4
  7. package/dist/api/PaymentApi.js +1847 -294
  8. package/dist/api/StakingsApi.js +44 -2
  9. package/dist/api/SwapsApi.js +2 -2
  10. package/dist/api/TransactionsApi.js +6 -6
  11. package/dist/api/WalletsApi.js +14 -14
  12. package/dist/index.js +420 -7
  13. package/dist/model/AddressesEventData.js +8 -3
  14. package/dist/model/AllocationRecord.js +193 -0
  15. package/dist/model/AllocationRequest.js +167 -0
  16. package/dist/model/BabylonCreateStakingExpansion.js +157 -0
  17. package/dist/model/BabylonStakeExtra.js +26 -0
  18. package/dist/model/BabylonStakingRegistration.js +1 -1
  19. package/dist/model/BalanceUpdateInfoEventData.js +8 -3
  20. package/dist/model/BankAccountStatus.js +66 -0
  21. package/dist/model/BatchAllocation.js +190 -0
  22. package/dist/model/BatchAllocationDetail.js +188 -0
  23. package/dist/model/ChainsEventData.js +8 -3
  24. package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
  25. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
  26. package/dist/model/ContractCallDestination.js +72 -10
  27. package/dist/model/ContractCallDestinationType.js +10 -0
  28. package/dist/model/CosmosContractCallDestination.js +0 -13
  29. package/dist/model/Counterparty.js +195 -0
  30. package/dist/model/CounterpartyDetail.js +228 -0
  31. package/dist/model/CounterpartyType.js +61 -0
  32. package/dist/model/CounterpartyWalletAddressDetail.js +192 -0
  33. package/dist/model/CreateBatchAllocationRequest.js +142 -0
  34. package/dist/model/CreateCounterpartyRequest.js +193 -0
  35. package/dist/model/CreateCounterpartyWalletAddressRequest.js +140 -0
  36. package/dist/model/CreateCustodialWalletParams.js +1 -1
  37. package/dist/model/CreateDestinationBankAccount.js +257 -0
  38. package/dist/model/CreateDestinationBankAccountRequest.js +272 -0
  39. package/dist/model/CreateDestinationRequest.js +235 -0
  40. package/dist/model/CreateDestinationWalletAddressRequest.js +140 -0
  41. package/dist/model/CreateExchangeWalletParams.js +2 -2
  42. package/dist/model/CreateKeyShareHolder.js +1 -1
  43. package/dist/model/CreateMerchantRequest.js +1 -1
  44. package/dist/model/CreateMpcWalletParams.js +2 -2
  45. package/dist/model/CreatePaymentOrderRequest.js +115 -68
  46. package/dist/model/CreatePayoutRequest.js +192 -0
  47. package/dist/model/CreateRefundRequest.js +3 -3
  48. package/dist/model/CreateSafeWalletParams.js +1 -1
  49. package/dist/model/CreateSettlement.js +14 -1
  50. package/dist/model/CreateSettlementRequestRequest.js +1 -1
  51. package/dist/model/CreateSmartContractWalletParams.js +1 -1
  52. package/dist/model/CreateStakeActivityExtra.js +12 -0
  53. package/dist/model/{ReceivedAmountPerAddress.js → CreateWalletAddress.js} +31 -32
  54. package/dist/model/CreateWalletParams.js +1 -1
  55. package/dist/model/DeleteCounterparty200Response.js +110 -0
  56. package/dist/model/DeleteCounterpartyWalletAddress200Response.js +110 -0
  57. package/dist/model/DeleteDestination200Response.js +110 -0
  58. package/dist/model/DeleteDestinationBankAccount200Response.js +110 -0
  59. package/dist/model/DeleteDestinationWalletAddress200Response.js +110 -0
  60. package/dist/model/Destination.js +208 -0
  61. package/dist/model/DestinationBankAccount.js +301 -0
  62. package/dist/model/DestinationBankAccountDetail.js +394 -0
  63. package/dist/model/DestinationDetail.js +272 -0
  64. package/dist/model/DestinationType.js +61 -0
  65. package/dist/model/DestinationWalletAddressDetail.js +205 -0
  66. package/dist/model/EnableDestinationWhitelistRequest.js +106 -0
  67. package/dist/model/EvmContractCallDestination.js +2 -2
  68. package/dist/model/ExchangeRate.js +140 -0
  69. package/dist/model/GetExchangeRate200Response.js +2 -2
  70. package/dist/model/IntermediaryBankInfo.js +140 -0
  71. package/dist/model/Link.js +4 -4
  72. package/dist/model/LinkDisplayInfo.js +15 -2
  73. package/dist/model/ListAllocations200Response.js +123 -0
  74. package/dist/model/ListBatchAllocations200Response.js +123 -0
  75. package/dist/model/ListCounterparties200Response.js +123 -0
  76. package/dist/model/ListCounterpartyWalletAddress200Response.js +123 -0
  77. package/dist/model/ListDestinationBankAccounts200Response.js +123 -0
  78. package/dist/model/ListDestinationWalletAddresses200Response.js +123 -0
  79. package/dist/model/ListDestinations200Response.js +123 -0
  80. package/dist/model/ListPayoutItems200Response.js +123 -0
  81. package/dist/model/ListPayouts200Response.js +123 -0
  82. package/dist/model/MPCVaultEventData.js +8 -3
  83. package/dist/model/MerchantBalance.js +28 -2
  84. package/dist/model/Order.js +135 -102
  85. package/dist/model/OrderLinkBusinessInfo.js +151 -87
  86. package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +4 -4
  87. package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +125 -0
  88. package/dist/model/PaymentAddressUpdateEventData.js +8 -3
  89. package/dist/model/PaymentAllocationAmount.js +125 -0
  90. package/dist/model/PaymentOrderEventData.js +198 -145
  91. package/dist/model/PaymentPayout.js +250 -0
  92. package/dist/model/PaymentPayoutDetail.js +248 -0
  93. package/dist/model/PaymentPayoutEvent.js +433 -0
  94. package/dist/model/PaymentPayoutItem.js +298 -0
  95. package/dist/model/PaymentPayoutItemDetail.js +298 -0
  96. package/dist/model/PaymentPayoutItemStatus.js +76 -0
  97. package/dist/model/PaymentPayoutParam.js +165 -0
  98. package/dist/model/PaymentPayoutStatus.js +81 -0
  99. package/dist/model/PaymentRefundEventData.js +8 -3
  100. package/dist/model/PaymentSettlementEvent.js +8 -3
  101. package/dist/model/PaymentSourceType.js +61 -0
  102. package/dist/model/PaymentTransaction.js +32 -0
  103. package/dist/model/PaymentTransactionEventData.js +10 -5
  104. package/dist/model/PspBalance.js +28 -2
  105. package/dist/model/QueryDestinationWhitelistEnabled200Response.js +106 -0
  106. package/dist/model/RefundLinkBusinessInfo.js +6 -6
  107. package/dist/model/SettlementDetail.js +13 -0
  108. package/dist/model/Stakings.js +33 -6
  109. package/dist/model/SuspendedTokenEventData.js +8 -3
  110. package/dist/model/SwapActivity.js +1 -1
  111. package/dist/model/SwapActivityDetail.js +2 -2
  112. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  113. package/dist/model/TokenListingEventData.js +8 -3
  114. package/dist/model/TokensEventData.js +8 -3
  115. package/dist/model/Transaction.js +1 -1
  116. package/dist/model/TransactionCosmosContractDestination.js +0 -13
  117. package/dist/model/TransactionDestination.js +38 -10
  118. package/dist/model/TransactionDestinationType.js +5 -0
  119. package/dist/model/TransactionDetail.js +2 -2
  120. package/dist/model/TransactionDetails.js +2 -2
  121. package/dist/model/TransactionTronContractDestination.js +150 -0
  122. package/dist/model/TransactionWebhookEventData.js +10 -5
  123. package/dist/model/TronContractCallDestination.js +150 -0
  124. package/dist/model/UpdateCounterpartyByIdRequest.js +160 -0
  125. package/dist/model/UpdateDestinationBankAccount.js +257 -0
  126. package/dist/model/UpdateDestinationByIdRequest.js +173 -0
  127. package/dist/model/UpdateMerchantByIdRequest.js +1 -1
  128. package/dist/model/WalletAddress.js +151 -0
  129. package/dist/model/WalletInfoEventData.js +8 -3
  130. package/dist/model/WebhookEventData.js +107 -43
  131. package/dist/model/WebhookEventDataType.js +7 -2
  132. package/dist/model/WebhookEventType.js +10 -0
  133. package/docs/AddressBooksApi.md +1 -1
  134. package/docs/AddressesEventData.md +3 -1
  135. package/docs/AllocationRecord.md +15 -0
  136. package/docs/AllocationRequest.md +13 -0
  137. package/docs/AutoSweepApi.md +2 -2
  138. package/docs/BabylonCreateStakingExpansion.md +12 -0
  139. package/docs/BabylonStakeExtra.md +2 -0
  140. package/docs/BalanceUpdateInfoEventData.md +3 -1
  141. package/docs/BankAccountStatus.md +14 -0
  142. package/docs/BatchAllocation.md +14 -0
  143. package/docs/BatchAllocationDetail.md +14 -0
  144. package/docs/ChainsEventData.md +3 -1
  145. package/docs/ComplianceDispositionUpdateEventData.md +3 -1
  146. package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
  147. package/docs/ContractCallDestination.md +3 -2
  148. package/docs/ContractCallDestinationType.md +4 -0
  149. package/docs/CosmosContractCallDestination.md +0 -1
  150. package/docs/Counterparty.md +16 -0
  151. package/docs/CounterpartyDetail.md +17 -0
  152. package/docs/CounterpartyType.md +12 -0
  153. package/docs/CounterpartyWalletAddressDetail.md +15 -0
  154. package/docs/CreateBatchAllocationRequest.md +10 -0
  155. package/docs/CreateCounterpartyRequest.md +14 -0
  156. package/docs/CreateCounterpartyWalletAddressRequest.md +11 -0
  157. package/docs/CreateCustodialWalletParams.md +1 -1
  158. package/docs/CreateDestinationBankAccount.md +19 -0
  159. package/docs/CreateDestinationBankAccountRequest.md +20 -0
  160. package/docs/CreateDestinationRequest.md +16 -0
  161. package/docs/CreateDestinationWalletAddressRequest.md +11 -0
  162. package/docs/CreateExchangeWalletParams.md +1 -1
  163. package/docs/CreateKeyShareHolder.md +1 -1
  164. package/docs/CreateMerchantRequest.md +1 -1
  165. package/docs/CreateMpcWalletParams.md +1 -1
  166. package/docs/CreatePaymentOrderRequest.md +15 -11
  167. package/docs/CreatePayoutRequest.md +14 -0
  168. package/docs/CreateRefundRequest.md +3 -3
  169. package/docs/CreateSafeWalletParams.md +1 -1
  170. package/docs/CreateSettlement.md +2 -1
  171. package/docs/CreateSettlementRequestRequest.md +1 -1
  172. package/docs/CreateSmartContractWalletParams.md +1 -1
  173. package/docs/CreateStakeActivityExtra.md +2 -0
  174. package/docs/CreateWalletAddress.md +10 -0
  175. package/docs/CreateWalletParams.md +1 -1
  176. package/docs/DeleteCounterparty200Response.md +9 -0
  177. package/docs/DeleteCounterpartyWalletAddress200Response.md +9 -0
  178. package/docs/DeleteDestination200Response.md +9 -0
  179. package/docs/DeleteDestinationBankAccount200Response.md +9 -0
  180. package/docs/DeleteDestinationWalletAddress200Response.md +9 -0
  181. package/docs/Destination.md +17 -0
  182. package/docs/DestinationBankAccount.md +23 -0
  183. package/docs/DestinationBankAccountDetail.md +30 -0
  184. package/docs/DestinationDetail.md +19 -0
  185. package/docs/DestinationType.md +12 -0
  186. package/docs/DestinationWalletAddressDetail.md +16 -0
  187. package/docs/DevelopersWebhooksApi.md +1 -1
  188. package/docs/EnableDestinationWhitelistRequest.md +9 -0
  189. package/docs/EvmContractCallDestination.md +1 -1
  190. package/docs/ExchangeRate.md +11 -0
  191. package/docs/GetExchangeRate200Response.md +1 -1
  192. package/docs/IntermediaryBankInfo.md +11 -0
  193. package/docs/Link.md +2 -2
  194. package/docs/LinkDisplayInfo.md +3 -2
  195. package/docs/ListAllocations200Response.md +10 -0
  196. package/docs/ListBatchAllocations200Response.md +10 -0
  197. package/docs/ListCounterparties200Response.md +10 -0
  198. package/docs/ListCounterpartyWalletAddress200Response.md +10 -0
  199. package/docs/ListDestinationBankAccounts200Response.md +10 -0
  200. package/docs/ListDestinationWalletAddresses200Response.md +10 -0
  201. package/docs/ListDestinations200Response.md +10 -0
  202. package/docs/ListPayoutItems200Response.md +10 -0
  203. package/docs/ListPayouts200Response.md +10 -0
  204. package/docs/MPCVaultEventData.md +3 -1
  205. package/docs/MerchantBalance.md +4 -2
  206. package/docs/OAuthApi.md +2 -2
  207. package/docs/Order.md +16 -13
  208. package/docs/OrderLinkBusinessInfo.md +11 -7
  209. package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
  210. package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +10 -0
  211. package/docs/PaymentAddressUpdateEventData.md +3 -1
  212. package/docs/PaymentAllocationAmount.md +10 -0
  213. package/docs/PaymentApi.md +2153 -395
  214. package/docs/PaymentOrderEventData.md +19 -14
  215. package/docs/PaymentPayout.md +19 -0
  216. package/docs/PaymentPayoutDetail.md +19 -0
  217. package/docs/PaymentPayoutEvent.md +65 -0
  218. package/docs/PaymentPayoutItem.md +22 -0
  219. package/docs/PaymentPayoutItemDetail.md +22 -0
  220. package/docs/PaymentPayoutItemStatus.md +18 -0
  221. package/docs/PaymentPayoutParam.md +13 -0
  222. package/docs/PaymentPayoutStatus.md +20 -0
  223. package/docs/PaymentRefundEventData.md +3 -1
  224. package/docs/PaymentSettlementEvent.md +3 -1
  225. package/docs/PaymentSourceType.md +12 -0
  226. package/docs/PaymentTransaction.md +2 -0
  227. package/docs/PaymentTransactionEventData.md +4 -2
  228. package/docs/PspBalance.md +4 -2
  229. package/docs/QueryDestinationWhitelistEnabled200Response.md +9 -0
  230. package/docs/RefundLinkBusinessInfo.md +4 -4
  231. package/docs/SettlementDetail.md +1 -0
  232. package/docs/Stakings.md +2 -1
  233. package/docs/StakingsApi.md +54 -1
  234. package/docs/SuspendedTokenEventData.md +3 -1
  235. package/docs/SwapActivity.md +1 -1
  236. package/docs/SwapActivityDetail.md +1 -1
  237. package/docs/SwapsApi.md +1 -1
  238. package/docs/TSSRequestWebhookEventData.md +3 -1
  239. package/docs/TokenListingEventData.md +3 -1
  240. package/docs/TokensEventData.md +3 -1
  241. package/docs/Transaction.md +1 -1
  242. package/docs/TransactionCosmosContractDestination.md +0 -1
  243. package/docs/TransactionDestination.md +2 -2
  244. package/docs/TransactionDestinationType.md +2 -0
  245. package/docs/TransactionDetail.md +1 -1
  246. package/docs/TransactionDetails.md +1 -1
  247. package/docs/TransactionTronContractDestination.md +12 -0
  248. package/docs/TransactionWebhookEventData.md +4 -2
  249. package/docs/TransactionsApi.md +3 -3
  250. package/docs/TronContractCallDestination.md +12 -0
  251. package/docs/UpdateCounterpartyByIdRequest.md +13 -0
  252. package/docs/UpdateDestinationBankAccount.md +19 -0
  253. package/docs/UpdateDestinationByIdRequest.md +14 -0
  254. package/docs/UpdateMerchantByIdRequest.md +1 -1
  255. package/docs/WalletAddress.md +12 -0
  256. package/docs/WalletInfoEventData.md +3 -1
  257. package/docs/WalletsApi.md +7 -7
  258. package/docs/WebhookEventData.md +22 -14
  259. package/docs/WebhookEventDataType.md +3 -1
  260. package/docs/WebhookEventType.md +4 -0
  261. package/package.json +1 -1
  262. package/docs/ReceivedAmountPerAddress.md +0 -10
@@ -39,25 +39,22 @@ 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. - `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.
43
43
  * @param order_id {String} The order ID.
44
- * @param token_id {String} The ID of the cryptocurrency used for payment. Supported tokens: - USDC: `ETH_USDC`, `ARBITRUM_USDCOIN`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC2`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
45
- * @param chain_id {String} The ID of the blockchain network where the payment transaction should be made. Supported chains: - USDC: `ETH`, `ARBITRUM`, `SOL`, `BASE`, `MATIC`, `BSC` - USDT: `TRON`, `ETH`, `ARBITRUM`, `SOL`, `BASE`, `MATIC`, `BSC`
46
- * @param payable_amount {String} The cryptocurrency amount to be paid for this order.
47
- * @param receive_address {String} The recipient wallet address to be used for the payment transaction.
48
- * @param currency {String} The fiat currency of the order.
49
- * @param order_amount {String} The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
44
+ * @param psp_order_code {String} A unique reference code assigned by the developer to identify this order in their system.
50
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.
46
+ * @param chain_id {String} The ID of the blockchain network where the payment transaction should be made.
47
+ * @param payable_amount {String} The cryptocurrency amount to be paid for this order.
51
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.
52
- * @param psp_order_code {String} A unique reference code assigned by the developer to identify this order in their system.
49
+ * @param receive_address {String} The recipient wallet address to be used for the payment transaction.
53
50
  * @param status {module:model/OrderStatus}
54
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).
55
52
  */
56
- function PaymentOrderEventData(data_type, order_id, token_id, chain_id, payable_amount, receive_address, currency, order_amount, fee_amount, exchange_rate, psp_order_code, status, received_token_amount) {
53
+ function PaymentOrderEventData(data_type, order_id, psp_order_code, fee_amount, chain_id, payable_amount, exchange_rate, receive_address, status, received_token_amount) {
57
54
  _classCallCheck(this, PaymentOrderEventData);
58
55
  _WebhookEventDataType["default"].initialize(this, data_type);
59
- _Order["default"].initialize(this, order_id, token_id, chain_id, payable_amount, receive_address, currency, order_amount, fee_amount, exchange_rate, psp_order_code, status, received_token_amount);
60
- PaymentOrderEventData.initialize(this, data_type, order_id, token_id, chain_id, payable_amount, receive_address, currency, order_amount, fee_amount, exchange_rate, psp_order_code, status, received_token_amount);
56
+ _Order["default"].initialize(this, order_id, psp_order_code, fee_amount, chain_id, payable_amount, exchange_rate, receive_address, status, received_token_amount);
57
+ PaymentOrderEventData.initialize(this, data_type, order_id, psp_order_code, fee_amount, chain_id, payable_amount, exchange_rate, receive_address, status, received_token_amount);
61
58
  }
62
59
 
63
60
  /**
@@ -67,18 +64,15 @@ var PaymentOrderEventData = /*#__PURE__*/function () {
67
64
  */
68
65
  return _createClass(PaymentOrderEventData, null, [{
69
66
  key: "initialize",
70
- value: function initialize(obj, data_type, order_id, token_id, chain_id, payable_amount, receive_address, currency, order_amount, fee_amount, exchange_rate, psp_order_code, status, received_token_amount) {
67
+ value: function initialize(obj, data_type, order_id, psp_order_code, fee_amount, chain_id, payable_amount, exchange_rate, receive_address, status, received_token_amount) {
71
68
  obj['data_type'] = data_type;
72
69
  obj['order_id'] = order_id;
73
- obj['token_id'] = token_id;
70
+ obj['psp_order_code'] = psp_order_code;
71
+ obj['fee_amount'] = fee_amount;
74
72
  obj['chain_id'] = chain_id;
75
73
  obj['payable_amount'] = payable_amount;
76
- obj['receive_address'] = receive_address;
77
- obj['currency'] = currency;
78
- obj['order_amount'] = order_amount;
79
- obj['fee_amount'] = fee_amount;
80
74
  obj['exchange_rate'] = exchange_rate;
81
- obj['psp_order_code'] = psp_order_code;
75
+ obj['receive_address'] = receive_address;
82
76
  obj['status'] = status;
83
77
  obj['received_token_amount'] = received_token_amount;
84
78
  }
@@ -106,38 +100,38 @@ var PaymentOrderEventData = /*#__PURE__*/function () {
106
100
  if (data.hasOwnProperty('merchant_id')) {
107
101
  obj['merchant_id'] = _ApiClient["default"].convertToType(data['merchant_id'], 'String');
108
102
  }
109
- if (data.hasOwnProperty('token_id')) {
110
- obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
111
- }
112
- if (data.hasOwnProperty('chain_id')) {
113
- obj['chain_id'] = _ApiClient["default"].convertToType(data['chain_id'], 'String');
114
- }
115
- if (data.hasOwnProperty('payable_amount')) {
116
- obj['payable_amount'] = _ApiClient["default"].convertToType(data['payable_amount'], 'String');
103
+ if (data.hasOwnProperty('merchant_order_code')) {
104
+ obj['merchant_order_code'] = _ApiClient["default"].convertToType(data['merchant_order_code'], 'String');
117
105
  }
118
- if (data.hasOwnProperty('receive_address')) {
119
- obj['receive_address'] = _ApiClient["default"].convertToType(data['receive_address'], 'String');
106
+ if (data.hasOwnProperty('psp_order_code')) {
107
+ obj['psp_order_code'] = _ApiClient["default"].convertToType(data['psp_order_code'], 'String');
120
108
  }
121
- if (data.hasOwnProperty('currency')) {
122
- obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
109
+ if (data.hasOwnProperty('pricing_currency')) {
110
+ obj['pricing_currency'] = _ApiClient["default"].convertToType(data['pricing_currency'], 'String');
123
111
  }
124
- if (data.hasOwnProperty('order_amount')) {
125
- obj['order_amount'] = _ApiClient["default"].convertToType(data['order_amount'], 'String');
112
+ if (data.hasOwnProperty('pricing_amount')) {
113
+ obj['pricing_amount'] = _ApiClient["default"].convertToType(data['pricing_amount'], 'String');
126
114
  }
127
115
  if (data.hasOwnProperty('fee_amount')) {
128
116
  obj['fee_amount'] = _ApiClient["default"].convertToType(data['fee_amount'], 'String');
129
117
  }
118
+ if (data.hasOwnProperty('payable_currency')) {
119
+ obj['payable_currency'] = _ApiClient["default"].convertToType(data['payable_currency'], 'String');
120
+ }
121
+ if (data.hasOwnProperty('chain_id')) {
122
+ obj['chain_id'] = _ApiClient["default"].convertToType(data['chain_id'], 'String');
123
+ }
124
+ if (data.hasOwnProperty('payable_amount')) {
125
+ obj['payable_amount'] = _ApiClient["default"].convertToType(data['payable_amount'], 'String');
126
+ }
130
127
  if (data.hasOwnProperty('exchange_rate')) {
131
128
  obj['exchange_rate'] = _ApiClient["default"].convertToType(data['exchange_rate'], 'String');
132
129
  }
133
- if (data.hasOwnProperty('expired_at')) {
134
- obj['expired_at'] = _ApiClient["default"].convertToType(data['expired_at'], 'Number');
135
- }
136
- if (data.hasOwnProperty('merchant_order_code')) {
137
- obj['merchant_order_code'] = _ApiClient["default"].convertToType(data['merchant_order_code'], 'String');
130
+ if (data.hasOwnProperty('amount_tolerance')) {
131
+ obj['amount_tolerance'] = _ApiClient["default"].convertToType(data['amount_tolerance'], 'String');
138
132
  }
139
- if (data.hasOwnProperty('psp_order_code')) {
140
- obj['psp_order_code'] = _ApiClient["default"].convertToType(data['psp_order_code'], 'String');
133
+ if (data.hasOwnProperty('receive_address')) {
134
+ obj['receive_address'] = _ApiClient["default"].convertToType(data['receive_address'], 'String');
141
135
  }
142
136
  if (data.hasOwnProperty('status')) {
143
137
  obj['status'] = _OrderStatus["default"].constructFromObject(data['status']);
@@ -145,6 +139,9 @@ var PaymentOrderEventData = /*#__PURE__*/function () {
145
139
  if (data.hasOwnProperty('received_token_amount')) {
146
140
  obj['received_token_amount'] = _ApiClient["default"].convertToType(data['received_token_amount'], 'String');
147
141
  }
142
+ if (data.hasOwnProperty('expired_at')) {
143
+ obj['expired_at'] = _ApiClient["default"].convertToType(data['expired_at'], 'Number');
144
+ }
148
145
  if (data.hasOwnProperty('created_timestamp')) {
149
146
  obj['created_timestamp'] = _ApiClient["default"].convertToType(data['created_timestamp'], 'Number');
150
147
  }
@@ -154,12 +151,18 @@ var PaymentOrderEventData = /*#__PURE__*/function () {
154
151
  if (data.hasOwnProperty('transactions')) {
155
152
  obj['transactions'] = _ApiClient["default"].convertToType(data['transactions'], [_PaymentTransaction["default"]]);
156
153
  }
154
+ if (data.hasOwnProperty('currency')) {
155
+ obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
156
+ }
157
+ if (data.hasOwnProperty('order_amount')) {
158
+ obj['order_amount'] = _ApiClient["default"].convertToType(data['order_amount'], 'String');
159
+ }
160
+ if (data.hasOwnProperty('token_id')) {
161
+ obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
162
+ }
157
163
  if (data.hasOwnProperty('settlement_status')) {
158
164
  obj['settlement_status'] = _SettleStatus["default"].constructFromObject(data['settlement_status']);
159
165
  }
160
- if (data.hasOwnProperty('amount_tolerance')) {
161
- obj['amount_tolerance'] = _ApiClient["default"].convertToType(data['amount_tolerance'], 'String');
162
- }
163
166
  }
164
167
  return obj;
165
168
  }
@@ -200,44 +203,48 @@ var PaymentOrderEventData = /*#__PURE__*/function () {
200
203
  throw new Error("Expected the field `merchant_id` to be a primitive type in the JSON string but got " + data['merchant_id']);
201
204
  }
202
205
  // ensure the json data is a string
203
- if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
204
- throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
206
+ if (data['merchant_order_code'] && !(typeof data['merchant_order_code'] === 'string' || data['merchant_order_code'] instanceof String)) {
207
+ throw new Error("Expected the field `merchant_order_code` to be a primitive type in the JSON string but got " + data['merchant_order_code']);
205
208
  }
206
209
  // ensure the json data is a string
207
- if (data['chain_id'] && !(typeof data['chain_id'] === 'string' || data['chain_id'] instanceof String)) {
208
- throw new Error("Expected the field `chain_id` to be a primitive type in the JSON string but got " + data['chain_id']);
210
+ if (data['psp_order_code'] && !(typeof data['psp_order_code'] === 'string' || data['psp_order_code'] instanceof String)) {
211
+ throw new Error("Expected the field `psp_order_code` to be a primitive type in the JSON string but got " + data['psp_order_code']);
209
212
  }
210
213
  // ensure the json data is a string
211
- if (data['payable_amount'] && !(typeof data['payable_amount'] === 'string' || data['payable_amount'] instanceof String)) {
212
- throw new Error("Expected the field `payable_amount` to be a primitive type in the JSON string but got " + data['payable_amount']);
214
+ if (data['pricing_currency'] && !(typeof data['pricing_currency'] === 'string' || data['pricing_currency'] instanceof String)) {
215
+ throw new Error("Expected the field `pricing_currency` to be a primitive type in the JSON string but got " + data['pricing_currency']);
213
216
  }
214
217
  // ensure the json data is a string
215
- if (data['receive_address'] && !(typeof data['receive_address'] === 'string' || data['receive_address'] instanceof String)) {
216
- throw new Error("Expected the field `receive_address` to be a primitive type in the JSON string but got " + data['receive_address']);
218
+ if (data['pricing_amount'] && !(typeof data['pricing_amount'] === 'string' || data['pricing_amount'] instanceof String)) {
219
+ throw new Error("Expected the field `pricing_amount` to be a primitive type in the JSON string but got " + data['pricing_amount']);
217
220
  }
218
221
  // ensure the json data is a string
219
- if (data['currency'] && !(typeof data['currency'] === 'string' || data['currency'] instanceof String)) {
220
- throw new Error("Expected the field `currency` to be a primitive type in the JSON string but got " + data['currency']);
222
+ if (data['fee_amount'] && !(typeof data['fee_amount'] === 'string' || data['fee_amount'] instanceof String)) {
223
+ throw new Error("Expected the field `fee_amount` to be a primitive type in the JSON string but got " + data['fee_amount']);
221
224
  }
222
225
  // ensure the json data is a string
223
- if (data['order_amount'] && !(typeof data['order_amount'] === 'string' || data['order_amount'] instanceof String)) {
224
- throw new Error("Expected the field `order_amount` to be a primitive type in the JSON string but got " + data['order_amount']);
226
+ if (data['payable_currency'] && !(typeof data['payable_currency'] === 'string' || data['payable_currency'] instanceof String)) {
227
+ throw new Error("Expected the field `payable_currency` to be a primitive type in the JSON string but got " + data['payable_currency']);
225
228
  }
226
229
  // ensure the json data is a string
227
- if (data['fee_amount'] && !(typeof data['fee_amount'] === 'string' || data['fee_amount'] instanceof String)) {
228
- throw new Error("Expected the field `fee_amount` to be a primitive type in the JSON string but got " + data['fee_amount']);
230
+ if (data['chain_id'] && !(typeof data['chain_id'] === 'string' || data['chain_id'] instanceof String)) {
231
+ throw new Error("Expected the field `chain_id` to be a primitive type in the JSON string but got " + data['chain_id']);
232
+ }
233
+ // ensure the json data is a string
234
+ if (data['payable_amount'] && !(typeof data['payable_amount'] === 'string' || data['payable_amount'] instanceof String)) {
235
+ throw new Error("Expected the field `payable_amount` to be a primitive type in the JSON string but got " + data['payable_amount']);
229
236
  }
230
237
  // ensure the json data is a string
231
238
  if (data['exchange_rate'] && !(typeof data['exchange_rate'] === 'string' || data['exchange_rate'] instanceof String)) {
232
239
  throw new Error("Expected the field `exchange_rate` to be a primitive type in the JSON string but got " + data['exchange_rate']);
233
240
  }
234
241
  // ensure the json data is a string
235
- if (data['merchant_order_code'] && !(typeof data['merchant_order_code'] === 'string' || data['merchant_order_code'] instanceof String)) {
236
- throw new Error("Expected the field `merchant_order_code` to be a primitive type in the JSON string but got " + data['merchant_order_code']);
242
+ if (data['amount_tolerance'] && !(typeof data['amount_tolerance'] === 'string' || data['amount_tolerance'] instanceof String)) {
243
+ throw new Error("Expected the field `amount_tolerance` to be a primitive type in the JSON string but got " + data['amount_tolerance']);
237
244
  }
238
245
  // ensure the json data is a string
239
- if (data['psp_order_code'] && !(typeof data['psp_order_code'] === 'string' || data['psp_order_code'] instanceof String)) {
240
- throw new Error("Expected the field `psp_order_code` to be a primitive type in the JSON string but got " + data['psp_order_code']);
246
+ if (data['receive_address'] && !(typeof data['receive_address'] === 'string' || data['receive_address'] instanceof String)) {
247
+ throw new Error("Expected the field `receive_address` to be a primitive type in the JSON string but got " + data['receive_address']);
241
248
  }
242
249
  // ensure the json data is a string
243
250
  if (data['received_token_amount'] && !(typeof data['received_token_amount'] === 'string' || data['received_token_amount'] instanceof String)) {
@@ -265,17 +272,25 @@ var PaymentOrderEventData = /*#__PURE__*/function () {
265
272
  ;
266
273
  }
267
274
  // ensure the json data is a string
268
- if (data['amount_tolerance'] && !(typeof data['amount_tolerance'] === 'string' || data['amount_tolerance'] instanceof String)) {
269
- throw new Error("Expected the field `amount_tolerance` to be a primitive type in the JSON string but got " + data['amount_tolerance']);
275
+ if (data['currency'] && !(typeof data['currency'] === 'string' || data['currency'] instanceof String)) {
276
+ throw new Error("Expected the field `currency` to be a primitive type in the JSON string but got " + data['currency']);
277
+ }
278
+ // ensure the json data is a string
279
+ if (data['order_amount'] && !(typeof data['order_amount'] === 'string' || data['order_amount'] instanceof String)) {
280
+ throw new Error("Expected the field `order_amount` to be a primitive type in the JSON string but got " + data['order_amount']);
281
+ }
282
+ // ensure the json data is a string
283
+ if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
284
+ throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
270
285
  }
271
286
  return true;
272
287
  }
273
288
  }]);
274
289
  }();
275
- PaymentOrderEventData.RequiredProperties = ["data_type", "order_id", "token_id", "chain_id", "payable_amount", "receive_address", "currency", "order_amount", "fee_amount", "exchange_rate", "psp_order_code", "status", "received_token_amount"];
290
+ PaymentOrderEventData.RequiredProperties = ["data_type", "order_id", "psp_order_code", "fee_amount", "chain_id", "payable_amount", "exchange_rate", "receive_address", "status", "received_token_amount"];
276
291
 
277
292
  /**
278
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
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.
279
294
  * @member {module:model/PaymentOrderEventData.DataTypeEnum} data_type
280
295
  */
281
296
  PaymentOrderEventData.prototype['data_type'] = undefined;
@@ -293,70 +308,70 @@ PaymentOrderEventData.prototype['order_id'] = undefined;
293
308
  PaymentOrderEventData.prototype['merchant_id'] = undefined;
294
309
 
295
310
  /**
296
- * The ID of the cryptocurrency used for payment. Supported tokens: - USDC: `ETH_USDC`, `ARBITRUM_USDCOIN`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC2`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
297
- * @member {String} token_id
311
+ * A unique reference code assigned by the merchant to identify this order in their system.
312
+ * @member {String} merchant_order_code
298
313
  */
299
- PaymentOrderEventData.prototype['token_id'] = undefined;
314
+ PaymentOrderEventData.prototype['merchant_order_code'] = undefined;
300
315
 
301
316
  /**
302
- * The ID of the blockchain network where the payment transaction should be made. Supported chains: - USDC: `ETH`, `ARBITRUM`, `SOL`, `BASE`, `MATIC`, `BSC` - USDT: `TRON`, `ETH`, `ARBITRUM`, `SOL`, `BASE`, `MATIC`, `BSC`
303
- * @member {String} chain_id
317
+ * A unique reference code assigned by the developer to identify this order in their system.
318
+ * @member {String} psp_order_code
304
319
  */
305
- PaymentOrderEventData.prototype['chain_id'] = undefined;
320
+ PaymentOrderEventData.prototype['psp_order_code'] = undefined;
306
321
 
307
322
  /**
308
- * The cryptocurrency amount to be paid for this order.
309
- * @member {String} payable_amount
323
+ * The fiat currency of the order.
324
+ * @member {String} pricing_currency
310
325
  */
311
- PaymentOrderEventData.prototype['payable_amount'] = undefined;
326
+ PaymentOrderEventData.prototype['pricing_currency'] = undefined;
312
327
 
313
328
  /**
314
- * The recipient wallet address to be used for the payment transaction.
315
- * @member {String} receive_address
329
+ * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
330
+ * @member {String} pricing_amount
316
331
  */
317
- PaymentOrderEventData.prototype['receive_address'] = undefined;
332
+ PaymentOrderEventData.prototype['pricing_amount'] = undefined;
318
333
 
319
334
  /**
320
- * The fiat currency of the order.
321
- * @member {String} currency
335
+ * The developer fee for the order in fiat currency. It is added to the base amount (`order_amount`) to determine the final charge.
336
+ * @member {String} fee_amount
322
337
  */
323
- PaymentOrderEventData.prototype['currency'] = undefined;
338
+ PaymentOrderEventData.prototype['fee_amount'] = undefined;
324
339
 
325
340
  /**
326
- * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
327
- * @member {String} order_amount
341
+ * The ID of the cryptocurrency used for payment.
342
+ * @member {String} payable_currency
328
343
  */
329
- PaymentOrderEventData.prototype['order_amount'] = undefined;
344
+ PaymentOrderEventData.prototype['payable_currency'] = undefined;
330
345
 
331
346
  /**
332
- * The developer fee for the order in fiat currency. It is added to the base amount (`order_amount`) to determine the final charge.
333
- * @member {String} fee_amount
347
+ * The ID of the blockchain network where the payment transaction should be made.
348
+ * @member {String} chain_id
334
349
  */
335
- PaymentOrderEventData.prototype['fee_amount'] = undefined;
350
+ PaymentOrderEventData.prototype['chain_id'] = undefined;
336
351
 
337
352
  /**
338
- * 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.
339
- * @member {String} exchange_rate
353
+ * The cryptocurrency amount to be paid for this order.
354
+ * @member {String} payable_amount
340
355
  */
341
- PaymentOrderEventData.prototype['exchange_rate'] = undefined;
356
+ PaymentOrderEventData.prototype['payable_amount'] = undefined;
342
357
 
343
358
  /**
344
- * The expiration time of the pay-in order, represented as a UNIX timestamp in seconds.
345
- * @member {Number} expired_at
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.
360
+ * @member {String} exchange_rate
346
361
  */
347
- PaymentOrderEventData.prototype['expired_at'] = undefined;
362
+ PaymentOrderEventData.prototype['exchange_rate'] = undefined;
348
363
 
349
364
  /**
350
- * A unique reference code assigned by the merchant to identify this order in their system.
351
- * @member {String} merchant_order_code
365
+ * Allowed amount deviation.
366
+ * @member {String} amount_tolerance
352
367
  */
353
- PaymentOrderEventData.prototype['merchant_order_code'] = undefined;
368
+ PaymentOrderEventData.prototype['amount_tolerance'] = undefined;
354
369
 
355
370
  /**
356
- * A unique reference code assigned by the developer to identify this order in their system.
357
- * @member {String} psp_order_code
371
+ * The recipient wallet address to be used for the payment transaction.
372
+ * @member {String} receive_address
358
373
  */
359
- PaymentOrderEventData.prototype['psp_order_code'] = undefined;
374
+ PaymentOrderEventData.prototype['receive_address'] = undefined;
360
375
 
361
376
  /**
362
377
  * @member {module:model/OrderStatus} status
@@ -370,37 +385,55 @@ PaymentOrderEventData.prototype['status'] = undefined;
370
385
  PaymentOrderEventData.prototype['received_token_amount'] = undefined;
371
386
 
372
387
  /**
373
- * The creation time of the order, represented as a UNIX timestamp in seconds.
388
+ * The expiration time of the pay-in order, represented as a UNIX timestamp in seconds.
389
+ * @member {Number} expired_at
390
+ */
391
+ PaymentOrderEventData.prototype['expired_at'] = undefined;
392
+
393
+ /**
394
+ * The created time of the order, represented as a UNIX timestamp in seconds.
374
395
  * @member {Number} created_timestamp
375
396
  */
376
397
  PaymentOrderEventData.prototype['created_timestamp'] = undefined;
377
398
 
378
399
  /**
379
- * The last update time of the order, represented as a UNIX timestamp in seconds.
400
+ * The updated time of the order, represented as a UNIX timestamp in seconds.
380
401
  * @member {Number} updated_timestamp
381
402
  */
382
403
  PaymentOrderEventData.prototype['updated_timestamp'] = undefined;
383
404
 
384
405
  /**
385
- * An array of transactions associated with this pay-in order. Each transaction represents a separate blockchain operation related to the pay-in process.
406
+ * An array of transactions associated with this pay-in order. Each transaction represents a separate blockchain operation related to the settlement process.
386
407
  * @member {Array.<module:model/PaymentTransaction>} transactions
387
408
  */
388
409
  PaymentOrderEventData.prototype['transactions'] = undefined;
389
410
 
390
411
  /**
391
- * @member {module:model/SettleStatus} settlement_status
412
+ * The fiat currency of the order.
413
+ * @member {String} currency
392
414
  */
393
- PaymentOrderEventData.prototype['settlement_status'] = undefined;
415
+ PaymentOrderEventData.prototype['currency'] = undefined;
394
416
 
395
417
  /**
396
- * The maximum allowed deviation from the payable amount in the case of underpayment, specified as a positive value with up to one decimal place. If you provide more than one decimal place, an error will occur. When the actual received amount is within this deviation (inclusive) of the payable amount, the order status will be set to `Completed` rather than `Underpaid`.
397
- * @member {String} amount_tolerance
418
+ * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
419
+ * @member {String} order_amount
398
420
  */
399
- PaymentOrderEventData.prototype['amount_tolerance'] = undefined;
421
+ PaymentOrderEventData.prototype['order_amount'] = undefined;
422
+
423
+ /**
424
+ * The ID of the cryptocurrency used for payment.
425
+ * @member {String} token_id
426
+ */
427
+ PaymentOrderEventData.prototype['token_id'] = undefined;
428
+
429
+ /**
430
+ * @member {module:model/SettleStatus} settlement_status
431
+ */
432
+ PaymentOrderEventData.prototype['settlement_status'] = undefined;
400
433
 
401
434
  // Implement WebhookEventDataType interface:
402
435
  /**
403
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
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.
404
437
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
405
438
  */
406
439
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -416,60 +449,60 @@ _Order["default"].prototype['order_id'] = undefined;
416
449
  */
417
450
  _Order["default"].prototype['merchant_id'] = undefined;
418
451
  /**
419
- * The ID of the cryptocurrency used for payment. Supported tokens: - USDC: `ETH_USDC`, `ARBITRUM_USDCOIN`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC2`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
420
- * @member {String} token_id
421
- */
422
- _Order["default"].prototype['token_id'] = undefined;
423
- /**
424
- * The ID of the blockchain network where the payment transaction should be made. Supported chains: - USDC: `ETH`, `ARBITRUM`, `SOL`, `BASE`, `MATIC`, `BSC` - USDT: `TRON`, `ETH`, `ARBITRUM`, `SOL`, `BASE`, `MATIC`, `BSC`
425
- * @member {String} chain_id
426
- */
427
- _Order["default"].prototype['chain_id'] = undefined;
428
- /**
429
- * The cryptocurrency amount to be paid for this order.
430
- * @member {String} payable_amount
452
+ * A unique reference code assigned by the merchant to identify this order in their system.
453
+ * @member {String} merchant_order_code
431
454
  */
432
- _Order["default"].prototype['payable_amount'] = undefined;
455
+ _Order["default"].prototype['merchant_order_code'] = undefined;
433
456
  /**
434
- * The recipient wallet address to be used for the payment transaction.
435
- * @member {String} receive_address
457
+ * A unique reference code assigned by the developer to identify this order in their system.
458
+ * @member {String} psp_order_code
436
459
  */
437
- _Order["default"].prototype['receive_address'] = undefined;
460
+ _Order["default"].prototype['psp_order_code'] = undefined;
438
461
  /**
439
462
  * The fiat currency of the order.
440
- * @member {String} currency
463
+ * @member {String} pricing_currency
441
464
  */
442
- _Order["default"].prototype['currency'] = undefined;
465
+ _Order["default"].prototype['pricing_currency'] = undefined;
443
466
  /**
444
467
  * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
445
- * @member {String} order_amount
468
+ * @member {String} pricing_amount
446
469
  */
447
- _Order["default"].prototype['order_amount'] = undefined;
470
+ _Order["default"].prototype['pricing_amount'] = undefined;
448
471
  /**
449
472
  * The developer fee for the order in fiat currency. It is added to the base amount (`order_amount`) to determine the final charge.
450
473
  * @member {String} fee_amount
451
474
  */
452
475
  _Order["default"].prototype['fee_amount'] = undefined;
476
+ /**
477
+ * The ID of the cryptocurrency used for payment.
478
+ * @member {String} payable_currency
479
+ */
480
+ _Order["default"].prototype['payable_currency'] = undefined;
481
+ /**
482
+ * The ID of the blockchain network where the payment transaction should be made.
483
+ * @member {String} chain_id
484
+ */
485
+ _Order["default"].prototype['chain_id'] = undefined;
486
+ /**
487
+ * The cryptocurrency amount to be paid for this order.
488
+ * @member {String} payable_amount
489
+ */
490
+ _Order["default"].prototype['payable_amount'] = undefined;
453
491
  /**
454
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.
455
493
  * @member {String} exchange_rate
456
494
  */
457
495
  _Order["default"].prototype['exchange_rate'] = undefined;
458
496
  /**
459
- * The expiration time of the pay-in order, represented as a UNIX timestamp in seconds.
460
- * @member {Number} expired_at
461
- */
462
- _Order["default"].prototype['expired_at'] = undefined;
463
- /**
464
- * A unique reference code assigned by the merchant to identify this order in their system.
465
- * @member {String} merchant_order_code
497
+ * Allowed amount deviation.
498
+ * @member {String} amount_tolerance
466
499
  */
467
- _Order["default"].prototype['merchant_order_code'] = undefined;
500
+ _Order["default"].prototype['amount_tolerance'] = undefined;
468
501
  /**
469
- * A unique reference code assigned by the developer to identify this order in their system.
470
- * @member {String} psp_order_code
502
+ * The recipient wallet address to be used for the payment transaction.
503
+ * @member {String} receive_address
471
504
  */
472
- _Order["default"].prototype['psp_order_code'] = undefined;
505
+ _Order["default"].prototype['receive_address'] = undefined;
473
506
  /**
474
507
  * @member {module:model/OrderStatus} status
475
508
  */
@@ -480,29 +513,44 @@ _Order["default"].prototype['status'] = undefined;
480
513
  */
481
514
  _Order["default"].prototype['received_token_amount'] = undefined;
482
515
  /**
483
- * The creation time of the order, represented as a UNIX timestamp in seconds.
516
+ * The expiration time of the pay-in order, represented as a UNIX timestamp in seconds.
517
+ * @member {Number} expired_at
518
+ */
519
+ _Order["default"].prototype['expired_at'] = undefined;
520
+ /**
521
+ * The created time of the order, represented as a UNIX timestamp in seconds.
484
522
  * @member {Number} created_timestamp
485
523
  */
486
524
  _Order["default"].prototype['created_timestamp'] = undefined;
487
525
  /**
488
- * The last update time of the order, represented as a UNIX timestamp in seconds.
526
+ * The updated time of the order, represented as a UNIX timestamp in seconds.
489
527
  * @member {Number} updated_timestamp
490
528
  */
491
529
  _Order["default"].prototype['updated_timestamp'] = undefined;
492
530
  /**
493
- * An array of transactions associated with this pay-in order. Each transaction represents a separate blockchain operation related to the pay-in process.
531
+ * An array of transactions associated with this pay-in order. Each transaction represents a separate blockchain operation related to the settlement process.
494
532
  * @member {Array.<module:model/PaymentTransaction>} transactions
495
533
  */
496
534
  _Order["default"].prototype['transactions'] = undefined;
497
535
  /**
498
- * @member {module:model/SettleStatus} settlement_status
536
+ * The fiat currency of the order.
537
+ * @member {String} currency
499
538
  */
500
- _Order["default"].prototype['settlement_status'] = undefined;
539
+ _Order["default"].prototype['currency'] = undefined;
501
540
  /**
502
- * The maximum allowed deviation from the payable amount in the case of underpayment, specified as a positive value with up to one decimal place. If you provide more than one decimal place, an error will occur. When the actual received amount is within this deviation (inclusive) of the payable amount, the order status will be set to `Completed` rather than `Underpaid`.
503
- * @member {String} amount_tolerance
541
+ * The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
542
+ * @member {String} order_amount
504
543
  */
505
- _Order["default"].prototype['amount_tolerance'] = undefined;
544
+ _Order["default"].prototype['order_amount'] = undefined;
545
+ /**
546
+ * The ID of the cryptocurrency used for payment.
547
+ * @member {String} token_id
548
+ */
549
+ _Order["default"].prototype['token_id'] = undefined;
550
+ /**
551
+ * @member {module:model/SettleStatus} settlement_status
552
+ */
553
+ _Order["default"].prototype['settlement_status'] = undefined;
506
554
 
507
555
  /**
508
556
  * Allowed values for the <code>data_type</code> property.
@@ -575,6 +623,11 @@ PaymentOrderEventData['DataTypeEnum'] = {
575
623
  * @const
576
624
  */
577
625
  "PaymentAddressUpdate": "PaymentAddressUpdate",
626
+ /**
627
+ * value: "PaymentPayout"
628
+ * @const
629
+ */
630
+ "PaymentPayout": "PaymentPayout",
578
631
  /**
579
632
  * value: "BalanceUpdateInfo"
580
633
  * @const