@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.
- package/README.md +66 -9
- package/dist/ApiClient.js +1 -1
- package/dist/api/AutoSweepApi.js +2 -2
- package/dist/api/ComplianceApi.js +144 -4
- package/dist/api/FeeStationApi.js +2 -2
- package/dist/api/PaymentApi.js +960 -85
- package/dist/api/StakingsApi.js +2 -2
- package/dist/api/TransactionsApi.js +6 -6
- package/dist/index.js +245 -0
- package/dist/model/AddressRiskLevel.js +71 -0
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AllocationRecord.js +8 -5
- package/dist/model/AllocationRequest.js +10 -7
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BatchAllocation.js +1 -1
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/CommissionFee.js +2 -2
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +341 -0
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
- package/dist/model/ContractCallParams.js +2 -2
- package/dist/model/CounterpartyWalletAddressDetail.js +2 -2
- package/dist/model/CreateBatchAllocationRequest.js +2 -2
- package/dist/model/CreateCounterpartyEntry201Response.js +143 -0
- package/dist/model/CreateCounterpartyEntryRequest.js +141 -0
- package/dist/model/CreateDestinationEntry201Response.js +172 -0
- package/dist/model/CreateDestinationEntryRequest.js +172 -0
- package/dist/model/CreateKyaScreeningsBody.js +129 -0
- package/dist/model/CreateMerchantRequest.js +1 -1
- package/dist/model/CreatePaymentOrderRequest.js +11 -11
- package/dist/model/CreatePayoutRequest.js +5 -5
- package/dist/model/CreateRefundRequest.js +2 -2
- package/dist/model/CreateReportRequest.js +156 -0
- package/dist/model/CreateWalletAddress.js +2 -2
- package/dist/model/DeleteCounterpartyById200Response.js +110 -0
- package/dist/model/DeleteCounterpartyEntry200Response.js +110 -0
- package/dist/model/DeleteDestinationById200Response.js +110 -0
- package/dist/model/DeleteDestinationEntry200Response.js +110 -0
- package/dist/model/EntryType.js +61 -0
- package/dist/model/GetCounterpartyEntry200Response.js +90 -0
- package/dist/model/GetDestinationEntry200Response.js +106 -0
- package/dist/model/GetReports200Response.js +123 -0
- package/dist/model/KyaRiskAssessment.js +151 -0
- package/dist/model/KyaRiskDetail.js +126 -0
- package/dist/model/KyaRiskLevel.js +66 -0
- package/dist/model/KyaScreeningRequest.js +154 -0
- package/dist/model/KyaScreeningResult.js +222 -0
- package/dist/model/KyaScreeningResultRiskAssessment.js +171 -0
- package/dist/model/KyaScreeningStatus.js +71 -0
- package/dist/model/KyaScreeningsEventData.js +174 -0
- package/dist/model/LinkDisplayInfo.js +1 -1
- package/dist/model/ListCounterpartyEntries200Response.js +123 -0
- package/dist/model/ListDestinationEntries200Response.js +153 -0
- package/dist/model/ListKyaScreenings200Response.js +145 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/MerchantBalance.js +4 -4
- package/dist/model/Order.js +10 -10
- package/dist/model/OrderLinkBusinessInfo.js +12 -12
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -4
- package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +4 -4
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentAllocationAmount.js +2 -2
- package/dist/model/PaymentOrderEventData.js +26 -21
- package/dist/model/PaymentPayout.js +3 -3
- package/dist/model/PaymentPayoutDetail.js +3 -3
- package/dist/model/PaymentPayoutEvent.js +14 -9
- package/dist/model/PaymentPayoutItem.js +8 -7
- package/dist/model/PaymentPayoutItemDetail.js +8 -7
- package/dist/model/PaymentPayoutParam.js +8 -7
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +8 -3
- package/dist/model/PaymentTransactionEventData.js +8 -3
- package/dist/model/PspBalance.js +4 -4
- package/dist/model/RefundLinkBusinessInfo.js +1 -1
- package/dist/model/Report.js +209 -0
- package/dist/model/ReportExportFormat.js +66 -0
- package/dist/model/ReportStatus.js +61 -0
- package/dist/model/ReportType.js +121 -0
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/TSSRequestWebhookEventData.js +8 -3
- package/dist/model/TokenListingEventData.js +8 -3
- package/dist/model/TokensEventData.js +8 -3
- package/dist/model/TransactionWebhookEventData.js +8 -3
- package/dist/model/TransferParams.js +2 -2
- package/dist/model/UpdateCounterpartyRequest.js +160 -0
- package/dist/model/UpdateDestinationEntry200Response.js +90 -0
- package/dist/model/UpdateDestinationEntryRequest.js +135 -0
- package/dist/model/UpdateDestinationRequest.js +173 -0
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/WalletAddress.js +20 -2
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +58 -24
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +5 -0
- package/docs/AddressRiskLevel.md +16 -0
- package/docs/AddressesEventData.md +3 -1
- package/docs/AllocationRecord.md +5 -5
- package/docs/AllocationRequest.md +5 -5
- package/docs/AutoSweepApi.md +1 -1
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BatchAllocation.md +1 -1
- package/docs/ChainsEventData.md +3 -1
- package/docs/CommissionFee.md +1 -1
- package/docs/ComplianceApi.md +163 -0
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKyaScreeningsUpdateEventData.md +62 -0
- package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
- package/docs/ContractCallParams.md +1 -1
- package/docs/CounterpartyWalletAddressDetail.md +1 -1
- package/docs/CreateBatchAllocationRequest.md +1 -1
- package/docs/CreateCounterpartyEntry201Response.md +10 -0
- package/docs/CreateCounterpartyEntryRequest.md +10 -0
- package/docs/CreateDestinationEntry201Response.md +11 -0
- package/docs/CreateDestinationEntryRequest.md +11 -0
- package/docs/CreateKyaScreeningsBody.md +9 -0
- package/docs/CreateMerchantRequest.md +1 -1
- package/docs/CreatePaymentOrderRequest.md +10 -10
- package/docs/CreatePayoutRequest.md +4 -4
- package/docs/CreateRefundRequest.md +2 -2
- package/docs/CreateReportRequest.md +13 -0
- package/docs/CreateWalletAddress.md +1 -1
- package/docs/DeleteCounterpartyById200Response.md +9 -0
- package/docs/DeleteCounterpartyEntry200Response.md +9 -0
- package/docs/DeleteDestinationById200Response.md +9 -0
- package/docs/DeleteDestinationEntry200Response.md +9 -0
- package/docs/EntryType.md +12 -0
- package/docs/FeeStationApi.md +1 -1
- package/docs/GetCounterpartyEntry200Response.md +9 -0
- package/docs/GetDestinationEntry200Response.md +10 -0
- package/docs/GetReports200Response.md +10 -0
- package/docs/KyaRiskAssessment.md +11 -0
- package/docs/KyaRiskDetail.md +10 -0
- package/docs/KyaRiskLevel.md +14 -0
- package/docs/KyaScreeningRequest.md +12 -0
- package/docs/KyaScreeningResult.md +17 -0
- package/docs/KyaScreeningResultRiskAssessment.md +11 -0
- package/docs/KyaScreeningStatus.md +16 -0
- package/docs/KyaScreeningsEventData.md +14 -0
- package/docs/LinkDisplayInfo.md +1 -1
- package/docs/ListCounterpartyEntries200Response.md +10 -0
- package/docs/ListDestinationEntries200Response.md +11 -0
- package/docs/ListKyaScreenings200Response.md +10 -0
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/MerchantBalance.md +4 -4
- package/docs/Order.md +8 -8
- package/docs/OrderLinkBusinessInfo.md +11 -11
- package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
- package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +2 -2
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentAllocationAmount.md +1 -1
- package/docs/PaymentApi.md +1104 -161
- package/docs/PaymentOrderEventData.md +11 -9
- package/docs/PaymentPayout.md +3 -3
- package/docs/PaymentPayoutDetail.md +3 -3
- package/docs/PaymentPayoutEvent.md +6 -4
- package/docs/PaymentPayoutItem.md +6 -6
- package/docs/PaymentPayoutItemDetail.md +6 -6
- package/docs/PaymentPayoutParam.md +5 -5
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +3 -1
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PspBalance.md +4 -4
- package/docs/RefundLinkBusinessInfo.md +1 -1
- package/docs/Report.md +17 -0
- package/docs/ReportExportFormat.md +14 -0
- package/docs/ReportStatus.md +12 -0
- package/docs/ReportType.md +36 -0
- package/docs/StakingsApi.md +1 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokensEventData.md +3 -1
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +3 -3
- package/docs/TransferParams.md +1 -1
- package/docs/UpdateCounterpartyRequest.md +13 -0
- package/docs/UpdateDestinationEntry200Response.md +9 -0
- package/docs/UpdateDestinationEntryRequest.md +11 -0
- package/docs/UpdateDestinationRequest.md +14 -0
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/WalletAddress.md +3 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WebhookEventData.md +18 -15
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +2 -0
- 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
|
|
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
|
|
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`)
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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}
|
|
36
|
-
* @param exchange_rate {String}
|
|
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
|
|
36
|
-
* @param amount {String} The
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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;
|