@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
|
@@ -15,17 +15,18 @@ var _ChainInfo = _interopRequireDefault(require("./ChainInfo"));
|
|
|
15
15
|
var _ChainsEventData = _interopRequireDefault(require("./ChainsEventData"));
|
|
16
16
|
var _CommissionFee = _interopRequireDefault(require("./CommissionFee"));
|
|
17
17
|
var _ComplianceDispositionUpdateEventData = _interopRequireDefault(require("./ComplianceDispositionUpdateEventData"));
|
|
18
|
+
var _ComplianceKyaScreeningsUpdateEventData = _interopRequireDefault(require("./ComplianceKyaScreeningsUpdateEventData"));
|
|
18
19
|
var _ComplianceKytScreeningsUpdateEventData = _interopRequireDefault(require("./ComplianceKytScreeningsUpdateEventData"));
|
|
19
20
|
var _DispositionStatus = _interopRequireDefault(require("./DispositionStatus"));
|
|
20
21
|
var _DispositionType = _interopRequireDefault(require("./DispositionType"));
|
|
21
22
|
var _FundsStatusType = _interopRequireDefault(require("./FundsStatusType"));
|
|
23
|
+
var _KyaScreeningStatus = _interopRequireDefault(require("./KyaScreeningStatus"));
|
|
22
24
|
var _KytScreeningsTransactionType = _interopRequireDefault(require("./KytScreeningsTransactionType"));
|
|
23
25
|
var _MPCVaultEventData = _interopRequireDefault(require("./MPCVaultEventData"));
|
|
24
26
|
var _PaymentAddressUpdateEventData = _interopRequireDefault(require("./PaymentAddressUpdateEventData"));
|
|
25
27
|
var _PaymentOrderEventData = _interopRequireDefault(require("./PaymentOrderEventData"));
|
|
26
28
|
var _PaymentPayoutEvent = _interopRequireDefault(require("./PaymentPayoutEvent"));
|
|
27
29
|
var _PaymentPayoutItemDetail = _interopRequireDefault(require("./PaymentPayoutItemDetail"));
|
|
28
|
-
var _PaymentPayoutStatus = _interopRequireDefault(require("./PaymentPayoutStatus"));
|
|
29
30
|
var _PaymentRefundEventData = _interopRequireDefault(require("./PaymentRefundEventData"));
|
|
30
31
|
var _PaymentSettlementEvent = _interopRequireDefault(require("./PaymentSettlementEvent"));
|
|
31
32
|
var _PaymentTransaction = _interopRequireDefault(require("./PaymentTransaction"));
|
|
@@ -86,7 +87,7 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
86
87
|
/**
|
|
87
88
|
* Constructs a new <code>WebhookEventData</code>.
|
|
88
89
|
* @alias module:model/WebhookEventData
|
|
89
|
-
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} instance The actual instance to initialize WebhookEventData.
|
|
90
|
+
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKyaScreeningsUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} instance The actual instance to initialize WebhookEventData.
|
|
90
91
|
*/
|
|
91
92
|
function WebhookEventData() {
|
|
92
93
|
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
@@ -123,6 +124,10 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
123
124
|
this.actualInstance = _ComplianceDispositionUpdateEventData["default"].constructFromObject(instance);
|
|
124
125
|
match++;
|
|
125
126
|
break;
|
|
127
|
+
case "ComplianceKyaScreenings":
|
|
128
|
+
this.actualInstance = _ComplianceKyaScreeningsUpdateEventData["default"].constructFromObject(instance);
|
|
129
|
+
match++;
|
|
130
|
+
break;
|
|
126
131
|
case "ComplianceKytScreenings":
|
|
127
132
|
this.actualInstance = _ComplianceKytScreeningsUpdateEventData["default"].constructFromObject(instance);
|
|
128
133
|
match++;
|
|
@@ -599,13 +604,36 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
599
604
|
// json data failed to deserialize into ComplianceKytScreeningsUpdateEventData
|
|
600
605
|
errorMessages.push("Failed to construct ComplianceKytScreeningsUpdateEventData: " + err);
|
|
601
606
|
}
|
|
607
|
+
try {
|
|
608
|
+
if (instance instanceof _ComplianceKyaScreeningsUpdateEventData["default"]) {
|
|
609
|
+
this.actualInstance = instance;
|
|
610
|
+
} else if (!!_ComplianceKyaScreeningsUpdateEventData["default"].validateJSON && _ComplianceKyaScreeningsUpdateEventData["default"].validateJSON(instance)) {
|
|
611
|
+
// plain JS object
|
|
612
|
+
// create ComplianceKyaScreeningsUpdateEventData from JS object
|
|
613
|
+
this.actualInstance = _ComplianceKyaScreeningsUpdateEventData["default"].constructFromObject(instance);
|
|
614
|
+
} else {
|
|
615
|
+
if (_ComplianceKyaScreeningsUpdateEventData["default"].constructFromObject(instance)) {
|
|
616
|
+
if (!!_ComplianceKyaScreeningsUpdateEventData["default"].constructFromObject(instance).toJSON) {
|
|
617
|
+
if (_ComplianceKyaScreeningsUpdateEventData["default"].constructFromObject(instance).toJSON()) {
|
|
618
|
+
this.actualInstance = _ComplianceKyaScreeningsUpdateEventData["default"].constructFromObject(instance);
|
|
619
|
+
}
|
|
620
|
+
} else {
|
|
621
|
+
this.actualInstance = _ComplianceKyaScreeningsUpdateEventData["default"].constructFromObject(instance);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
match++;
|
|
626
|
+
} catch (err) {
|
|
627
|
+
// json data failed to deserialize into ComplianceKyaScreeningsUpdateEventData
|
|
628
|
+
errorMessages.push("Failed to construct ComplianceKyaScreeningsUpdateEventData: " + err);
|
|
629
|
+
}
|
|
602
630
|
|
|
603
631
|
// if (match > 1) {
|
|
604
|
-
// throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, ComplianceDispositionUpdateEventData, ComplianceKytScreeningsUpdateEventData, MPCVaultEventData, PaymentAddressUpdateEventData, PaymentOrderEventData, PaymentPayoutEvent, PaymentRefundEventData, PaymentSettlementEvent, PaymentTransactionEventData, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Input: " + JSON.stringify(instance));
|
|
632
|
+
// throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, ComplianceDispositionUpdateEventData, ComplianceKyaScreeningsUpdateEventData, ComplianceKytScreeningsUpdateEventData, MPCVaultEventData, PaymentAddressUpdateEventData, PaymentOrderEventData, PaymentPayoutEvent, PaymentRefundEventData, PaymentSettlementEvent, PaymentTransactionEventData, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Input: " + JSON.stringify(instance));
|
|
605
633
|
// } else
|
|
606
634
|
if (match === 0) {
|
|
607
635
|
// this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
608
|
-
// throw new Error("No match found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, ComplianceDispositionUpdateEventData, ComplianceKytScreeningsUpdateEventData, MPCVaultEventData, PaymentAddressUpdateEventData, PaymentOrderEventData, PaymentPayoutEvent, PaymentRefundEventData, PaymentSettlementEvent, PaymentTransactionEventData, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Details: " +
|
|
636
|
+
// throw new Error("No match found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, ComplianceDispositionUpdateEventData, ComplianceKyaScreeningsUpdateEventData, ComplianceKytScreeningsUpdateEventData, MPCVaultEventData, PaymentAddressUpdateEventData, PaymentOrderEventData, PaymentPayoutEvent, PaymentRefundEventData, PaymentSettlementEvent, PaymentTransactionEventData, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Details: " +
|
|
609
637
|
// errorMessages.join(", "));
|
|
610
638
|
return;
|
|
611
639
|
} else {// only 1 match
|
|
@@ -624,16 +652,16 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
624
652
|
key: "getActualInstance",
|
|
625
653
|
value:
|
|
626
654
|
/**
|
|
627
|
-
* Gets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>ComplianceDispositionUpdateEventData</code>, <code>ComplianceKytScreeningsUpdateEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentAddressUpdateEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentPayoutEvent</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>PaymentTransactionEventData</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
628
|
-
* @return {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} The actual instance.
|
|
655
|
+
* Gets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>ComplianceDispositionUpdateEventData</code>, <code>ComplianceKyaScreeningsUpdateEventData</code>, <code>ComplianceKytScreeningsUpdateEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentAddressUpdateEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentPayoutEvent</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>PaymentTransactionEventData</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
656
|
+
* @return {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKyaScreeningsUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} The actual instance.
|
|
629
657
|
*/
|
|
630
658
|
function getActualInstance() {
|
|
631
659
|
return this.actualInstance;
|
|
632
660
|
}
|
|
633
661
|
|
|
634
662
|
/**
|
|
635
|
-
* Sets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>ComplianceDispositionUpdateEventData</code>, <code>ComplianceKytScreeningsUpdateEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentAddressUpdateEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentPayoutEvent</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>PaymentTransactionEventData</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
636
|
-
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} obj The actual instance.
|
|
663
|
+
* Sets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>ComplianceDispositionUpdateEventData</code>, <code>ComplianceKyaScreeningsUpdateEventData</code>, <code>ComplianceKytScreeningsUpdateEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentAddressUpdateEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentPayoutEvent</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>PaymentTransactionEventData</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
664
|
+
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKyaScreeningsUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} obj The actual instance.
|
|
637
665
|
*/
|
|
638
666
|
}, {
|
|
639
667
|
key: "setActualInstance",
|
|
@@ -648,7 +676,7 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
648
676
|
}]);
|
|
649
677
|
}();
|
|
650
678
|
/**
|
|
651
|
-
* 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.
|
|
679
|
+
* 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.
|
|
652
680
|
* @member {module:model/WebhookEventData.DataTypeEnum} data_type
|
|
653
681
|
*/
|
|
654
682
|
_WebhookEventData = WebhookEventData;
|
|
@@ -692,7 +720,7 @@ WebhookEventData.prototype['wallet_id'] = undefined;
|
|
|
692
720
|
WebhookEventData.prototype['type'] = undefined;
|
|
693
721
|
|
|
694
722
|
/**
|
|
695
|
-
* @member {module:model/
|
|
723
|
+
* @member {module:model/KyaScreeningStatus} status
|
|
696
724
|
*/
|
|
697
725
|
WebhookEventData.prototype['status'] = undefined;
|
|
698
726
|
|
|
@@ -708,7 +736,7 @@ WebhookEventData.prototype['sub_status'] = undefined;
|
|
|
708
736
|
WebhookEventData.prototype['failed_reason'] = undefined;
|
|
709
737
|
|
|
710
738
|
/**
|
|
711
|
-
* The chain
|
|
739
|
+
* The chain identifier.
|
|
712
740
|
* @member {String} chain_id
|
|
713
741
|
*/
|
|
714
742
|
WebhookEventData.prototype['chain_id'] = undefined;
|
|
@@ -746,7 +774,7 @@ WebhookEventData.prototype['result'] = undefined;
|
|
|
746
774
|
WebhookEventData.prototype['fee'] = undefined;
|
|
747
775
|
|
|
748
776
|
/**
|
|
749
|
-
* The initiator of this payout, usually the
|
|
777
|
+
* The initiator of this payout, usually the API key used to create the payout.
|
|
750
778
|
* @member {String} initiator
|
|
751
779
|
*/
|
|
752
780
|
WebhookEventData.prototype['initiator'] = undefined;
|
|
@@ -825,13 +853,13 @@ WebhookEventData.prototype['extra'] = undefined;
|
|
|
825
853
|
WebhookEventData.prototype['fueling_info'] = undefined;
|
|
826
854
|
|
|
827
855
|
/**
|
|
828
|
-
* The
|
|
856
|
+
* The time when the screening request was created, in Unix timestamp format, measured in milliseconds.
|
|
829
857
|
* @member {Number} created_timestamp
|
|
830
858
|
*/
|
|
831
859
|
WebhookEventData.prototype['created_timestamp'] = undefined;
|
|
832
860
|
|
|
833
861
|
/**
|
|
834
|
-
* The time when the
|
|
862
|
+
* The time when the screening status was updated, in Unix timestamp format, measured in milliseconds.
|
|
835
863
|
* @member {Number} updated_timestamp
|
|
836
864
|
*/
|
|
837
865
|
WebhookEventData.prototype['updated_timestamp'] = undefined;
|
|
@@ -932,7 +960,7 @@ WebhookEventData.prototype['token'] = undefined;
|
|
|
932
960
|
WebhookEventData.prototype['feedback'] = undefined;
|
|
933
961
|
|
|
934
962
|
/**
|
|
935
|
-
* The
|
|
963
|
+
* The screened blockchain address.
|
|
936
964
|
* @member {String} address
|
|
937
965
|
*/
|
|
938
966
|
WebhookEventData.prototype['address'] = undefined;
|
|
@@ -984,19 +1012,19 @@ WebhookEventData.prototype['merchant_order_code'] = undefined;
|
|
|
984
1012
|
WebhookEventData.prototype['psp_order_code'] = undefined;
|
|
985
1013
|
|
|
986
1014
|
/**
|
|
987
|
-
* The
|
|
1015
|
+
* The pricing currency of the order.
|
|
988
1016
|
* @member {String} pricing_currency
|
|
989
1017
|
*/
|
|
990
1018
|
WebhookEventData.prototype['pricing_currency'] = undefined;
|
|
991
1019
|
|
|
992
1020
|
/**
|
|
993
|
-
* The base amount of the order
|
|
1021
|
+
* The base amount of the order, excluding the developer fee (specified in `fee_amount`).
|
|
994
1022
|
* @member {String} pricing_amount
|
|
995
1023
|
*/
|
|
996
1024
|
WebhookEventData.prototype['pricing_amount'] = undefined;
|
|
997
1025
|
|
|
998
1026
|
/**
|
|
999
|
-
* The developer fee for the order
|
|
1027
|
+
* The developer fee for the order. It is added to the base amount to determine the final charge.
|
|
1000
1028
|
* @member {String} fee_amount
|
|
1001
1029
|
*/
|
|
1002
1030
|
WebhookEventData.prototype['fee_amount'] = undefined;
|
|
@@ -1014,13 +1042,13 @@ WebhookEventData.prototype['payable_currency'] = undefined;
|
|
|
1014
1042
|
WebhookEventData.prototype['payable_amount'] = undefined;
|
|
1015
1043
|
|
|
1016
1044
|
/**
|
|
1017
|
-
* The exchange rate between
|
|
1045
|
+
* 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>
|
|
1018
1046
|
* @member {String} exchange_rate
|
|
1019
1047
|
*/
|
|
1020
1048
|
WebhookEventData.prototype['exchange_rate'] = undefined;
|
|
1021
1049
|
|
|
1022
1050
|
/**
|
|
1023
|
-
*
|
|
1051
|
+
* 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)
|
|
1024
1052
|
* @member {String} amount_tolerance
|
|
1025
1053
|
*/
|
|
1026
1054
|
WebhookEventData.prototype['amount_tolerance'] = undefined;
|
|
@@ -1050,13 +1078,13 @@ WebhookEventData.prototype['expired_at'] = undefined;
|
|
|
1050
1078
|
WebhookEventData.prototype['transactions'] = undefined;
|
|
1051
1079
|
|
|
1052
1080
|
/**
|
|
1053
|
-
* The fiat currency
|
|
1081
|
+
* The fiat currency you will receive from the payout.
|
|
1054
1082
|
* @member {String} currency
|
|
1055
1083
|
*/
|
|
1056
1084
|
WebhookEventData.prototype['currency'] = undefined;
|
|
1057
1085
|
|
|
1058
1086
|
/**
|
|
1059
|
-
*
|
|
1087
|
+
* This field has been deprecated. Please use `pricing_amount` instead.
|
|
1060
1088
|
* @member {String} order_amount
|
|
1061
1089
|
*/
|
|
1062
1090
|
WebhookEventData.prototype['order_amount'] = undefined;
|
|
@@ -1191,7 +1219,7 @@ WebhookEventData.prototype['payout_id'] = undefined;
|
|
|
1191
1219
|
WebhookEventData.prototype['payout_item_details'] = undefined;
|
|
1192
1220
|
|
|
1193
1221
|
/**
|
|
1194
|
-
* The
|
|
1222
|
+
* The total amount of cryptocurrency actually paid out for this payout.
|
|
1195
1223
|
* @member {String} actual_payout_amount
|
|
1196
1224
|
*/
|
|
1197
1225
|
WebhookEventData.prototype['actual_payout_amount'] = undefined;
|
|
@@ -1232,5 +1260,11 @@ WebhookEventData.prototype['review_status'] = undefined;
|
|
|
1232
1260
|
* @member {module:model/FundsStatusType} funds_status
|
|
1233
1261
|
*/
|
|
1234
1262
|
WebhookEventData.prototype['funds_status'] = undefined;
|
|
1235
|
-
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* The unique system-generated identifier for this screening request (UUID format, fixed 36 characters).
|
|
1266
|
+
* @member {String} screening_id
|
|
1267
|
+
*/
|
|
1268
|
+
WebhookEventData.prototype['screening_id'] = undefined;
|
|
1269
|
+
WebhookEventData.OneOf = ["AddressesEventData", "BalanceUpdateInfoEventData", "ChainsEventData", "ComplianceDispositionUpdateEventData", "ComplianceKyaScreeningsUpdateEventData", "ComplianceKytScreeningsUpdateEventData", "MPCVaultEventData", "PaymentAddressUpdateEventData", "PaymentOrderEventData", "PaymentPayoutEvent", "PaymentRefundEventData", "PaymentSettlementEvent", "PaymentTransactionEventData", "SuspendedTokenEventData", "TSSRequestWebhookEventData", "TokenListingEventData", "TokensEventData", "TransactionWebhookEventData", "WalletInfoEventData"];
|
|
1236
1270
|
var _default = exports["default"] = WebhookEventData;
|
|
@@ -33,7 +33,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
|
|
|
33
33
|
* Constructs a new <code>WebhookEventDataType</code>.
|
|
34
34
|
* The data type of the event.
|
|
35
35
|
* @alias module:model/WebhookEventDataType
|
|
36
|
-
* @param data_type {module:model/WebhookEventDataType.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.
|
|
36
|
+
* @param data_type {module:model/WebhookEventDataType.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.
|
|
37
37
|
*/
|
|
38
38
|
function WebhookEventDataType(data_type) {
|
|
39
39
|
_classCallCheck(this, WebhookEventDataType);
|
|
@@ -104,7 +104,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
|
|
|
104
104
|
WebhookEventDataType.RequiredProperties = ["data_type"];
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* 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.
|
|
107
|
+
* 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.
|
|
108
108
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
109
109
|
*/
|
|
110
110
|
WebhookEventDataType.prototype['data_type'] = undefined;
|
|
@@ -205,6 +205,11 @@ WebhookEventDataType['DataTypeEnum'] = {
|
|
|
205
205
|
* @const
|
|
206
206
|
*/
|
|
207
207
|
"ComplianceKytScreenings": "ComplianceKytScreenings",
|
|
208
|
+
/**
|
|
209
|
+
* value: "ComplianceKyaScreenings"
|
|
210
|
+
* @const
|
|
211
|
+
*/
|
|
212
|
+
"ComplianceKyaScreenings": "ComplianceKyaScreenings",
|
|
208
213
|
/**
|
|
209
214
|
* value: "unknown_default_open_api"
|
|
210
215
|
* @const
|
|
@@ -220,6 +220,11 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
|
|
|
220
220
|
* @const
|
|
221
221
|
*/
|
|
222
222
|
_defineProperty(this, "compliance.kyt.screenings.status.updated", "compliance.kyt.screenings.status.updated");
|
|
223
|
+
/**
|
|
224
|
+
* value: "compliance.kya.screenings.status.updated"
|
|
225
|
+
* @const
|
|
226
|
+
*/
|
|
227
|
+
_defineProperty(this, "compliance.kya.screenings.status.updated", "compliance.kya.screenings.status.updated");
|
|
223
228
|
/**
|
|
224
229
|
* value: "unknown_default_open_api"
|
|
225
230
|
* @const
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# CoboWaas2.AddressRiskLevel
|
|
2
|
+
|
|
3
|
+
## Enum
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
* `Low` (value: `"Low"`)
|
|
7
|
+
|
|
8
|
+
* `Unscreened` (value: `"Unscreened"`)
|
|
9
|
+
|
|
10
|
+
* `Medium` (value: `"Medium"`)
|
|
11
|
+
|
|
12
|
+
* `High` (value: `"High"`)
|
|
13
|
+
|
|
14
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
15
|
+
|
|
16
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `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. |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `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. |
|
|
8
8
|
**addresses** | [**[AddressesEventDataAllOfAddresses]**](AddressesEventDataAllOfAddresses.md) | A list of addresses. | [optional]
|
|
9
9
|
|
|
10
10
|
|
|
@@ -48,6 +48,8 @@ Name | Type | Description | Notes
|
|
|
48
48
|
|
|
49
49
|
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
50
50
|
|
|
51
|
+
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
52
|
+
|
|
51
53
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
52
54
|
|
|
53
55
|
|
package/docs/AllocationRecord.md
CHANGED
|
@@ -6,10 +6,10 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**allocation_record_id** | **String** | The allocation record ID generated by Cobo. |
|
|
8
8
|
**batch_allocation_id** | **String** | The batch allocation ID generated by Cobo. |
|
|
9
|
-
**token_id** | **String** | The ID of the cryptocurrency
|
|
10
|
-
**amount** | **String** | The
|
|
11
|
-
**source_account** | **String** |
|
|
12
|
-
**destination_account** | **String** |
|
|
13
|
-
**description** | **String** |
|
|
9
|
+
**token_id** | **String** | The ID of the cryptocurrency to allocate. 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` |
|
|
10
|
+
**amount** | **String** | The amount of the cryptocurrency to allocate. |
|
|
11
|
+
**source_account** | **String** | The source account. | [optional]
|
|
12
|
+
**destination_account** | **String** | The destination account. | [optional]
|
|
13
|
+
**description** | **String** | The description of the allocation record. |
|
|
14
14
|
|
|
15
15
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**token_id** | **String** | The ID of the cryptocurrency you want to
|
|
8
|
-
**amount** | **String** | The
|
|
9
|
-
**source_account** | **String** | |
|
|
10
|
-
**destination_account** | **String** | |
|
|
11
|
-
**description** | **String** |
|
|
7
|
+
**token_id** | **String** | The ID of the cryptocurrency you want to allocate. 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` |
|
|
8
|
+
**amount** | **String** | The amount of the cryptocurrency you want to allocate. |
|
|
9
|
+
**source_account** | **String** | The source account. - 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\"`. |
|
|
10
|
+
**destination_account** | **String** | The destination account. - If the destination account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the destination account is the developer account, use the string `\"developer\"`. |
|
|
11
|
+
**description** | **String** | The description of the allocation request. |
|
|
12
12
|
|
|
13
13
|
|
package/docs/AutoSweepApi.md
CHANGED
|
@@ -240,7 +240,7 @@ Name | Type | Description | Notes
|
|
|
240
240
|
|
|
241
241
|
List sweep-to addresses
|
|
242
242
|
|
|
243
|
-
This operation retrieves a list of sweep-to addresses within your wallet.
|
|
243
|
+
This operation retrieves a list of sweep-to addresses within your wallet. <Note>Sweep-to addresses are only applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) with the auto-sweep feature enabled.</Note> <Info>For EVM-compatible chains (such as Ethereum and BNB Smart Chain), the same address is used across chains. As a result, when listing sweep-to addresses, only one address entry (shown under Ethereum) is returned for all EVM-compatible chains. Separate entries are not returned for each individual EVM chain.</Info>
|
|
244
244
|
|
|
245
245
|
### Example
|
|
246
246
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `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. |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `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. |
|
|
8
8
|
**token_id** | **String** | The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). |
|
|
9
9
|
**address** | **String** | The wallet address. |
|
|
10
10
|
**wallet_uuid** | **String** | The wallet ID. |
|
|
@@ -52,6 +52,8 @@ Name | Type | Description | Notes
|
|
|
52
52
|
|
|
53
53
|
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
54
54
|
|
|
55
|
+
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
56
|
+
|
|
55
57
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
56
58
|
|
|
57
59
|
|
package/docs/BatchAllocation.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**batch_allocation_id** | **String** | The batch allocation ID generated by Cobo. |
|
|
8
8
|
**request_id** | **String** | The request ID provided by you when creating the batch allocation. |
|
|
9
9
|
**allocation_requests** | [**[AllocationRequest]**](AllocationRequest.md) | | [optional]
|
|
10
|
-
**initiator** | **String** | The initiator of this batch allocation, usually the
|
|
10
|
+
**initiator** | **String** | The initiator of this batch allocation, usually the API key you used to create the batch allocation. | [optional]
|
|
11
11
|
**created_timestamp** | **Number** | The created time of the batch allocation, represented as a UNIX timestamp in seconds. |
|
|
12
12
|
**updated_timestamp** | **Number** | The updated time of the batch allocation, represented as a UNIX timestamp in seconds. |
|
|
13
13
|
|
package/docs/ChainsEventData.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `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. |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `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. |
|
|
8
8
|
**chains** | [**[ChainInfo]**](ChainInfo.md) | The enabled chains. |
|
|
9
9
|
**wallet_type** | [**WalletType**](WalletType.md) | | [optional]
|
|
10
10
|
**wallet_subtypes** | [**[WalletSubtype]**](WalletSubtype.md) | | [optional]
|
|
@@ -50,6 +50,8 @@ Name | Type | Description | Notes
|
|
|
50
50
|
|
|
51
51
|
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
52
52
|
|
|
53
|
+
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
54
|
+
|
|
53
55
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
54
56
|
|
|
55
57
|
|
package/docs/CommissionFee.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**fee_amount** | **String** | The amount of the commission fee charged by Cobo for pay-ins and payouts, in USD. |
|
|
7
|
+
**fee_amount** | **String** | The amount of the commission fee charged by Cobo for operations such as pay-ins and payouts, in USD. |
|
|
8
8
|
|
|
9
9
|
|