@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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.UpdateDestinationRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**updated_destination_name** | **String** | The updated destination name. |
|
|
8
|
+
**updated_destination_type** | [**DestinationType**](DestinationType.md) | |
|
|
9
|
+
**updated_merchant_id** | **String** | The updated ID of the merchant linked to the destination. | [optional]
|
|
10
|
+
**updated_country** | **String** | The updated country of the destination, in ISO 3166-1 alpha-3 format. | [optional]
|
|
11
|
+
**updated_email** | **String** | The updated email of the destination. | [optional]
|
|
12
|
+
**updated_contact_address** | **String** | The updated contact address of the destination. | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | The merchant name. | [optional]
|
|
8
|
-
**developer_fee_rate** | **String** | The developer fee rate applied to this merchant. Must be a valid float between 0 and 1 (inclusive), with up to 4 decimal places. For more information on developer fee rate, please refer to [
|
|
8
|
+
**developer_fee_rate** | **String** | The developer fee rate applied to this merchant. Must be a valid float between 0 and 1 (inclusive), with up to 4 decimal places. For more information on developer fee rate, please refer to [Accounts and fund allocation](https://www.cobo.com/payments/en/guides/amounts-and-balances). | [optional]
|
|
9
9
|
|
|
10
10
|
|
package/docs/WalletAddress.md
CHANGED
|
@@ -6,7 +6,9 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**wallet_address_id** | **String** | The wallet address ID. |
|
|
8
8
|
**address** | **String** | The wallet address. |
|
|
9
|
-
**chain_id** | **String** | The chain ID of the
|
|
9
|
+
**chain_id** | **String** | The chain ID of the address. |
|
|
10
|
+
**risk_level** | [**AddressRiskLevel**](AddressRiskLevel.md) | | [optional]
|
|
11
|
+
**screening_timestamp** | **Number** | UNIX timestamp (in seconds) when the address was last screened for compliance. | [optional]
|
|
10
12
|
**updated_timestamp** | **Number** | The updated time of the wallet address, represented as a UNIX timestamp in seconds. |
|
|
11
13
|
|
|
12
14
|
|
|
@@ -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
|
**wallet** | [**WalletInfo**](WalletInfo.md) | | [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/WebhookEventData.md
CHANGED
|
@@ -4,23 +4,23 @@
|
|
|
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
|
**transaction_id** | **String** | The transaction ID. |
|
|
9
9
|
**cobo_id** | **String** | The Cobo ID, which can be used to track a transaction. | [optional]
|
|
10
10
|
**request_id** | **String** | The request ID provided by you when creating the payout. |
|
|
11
11
|
**wallet_id** | **String** | For deposit transactions, this property represents the wallet ID of the transaction destination. For transactions of other types, this property represents the wallet ID of the transaction source. |
|
|
12
12
|
**type** | [**TransactionType**](TransactionType.md) | | [optional]
|
|
13
|
-
**status** | [**
|
|
13
|
+
**status** | [**KyaScreeningStatus**](KyaScreeningStatus.md) | |
|
|
14
14
|
**sub_status** | [**TransactionSubStatus**](TransactionSubStatus.md) | | [optional]
|
|
15
15
|
**failed_reason** | **String** | (This property is applicable to approval failures and signature failures only) The reason why the transaction failed. | [optional]
|
|
16
|
-
**chain_id** | **String** | The chain
|
|
16
|
+
**chain_id** | **String** | The chain identifier. |
|
|
17
17
|
**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). |
|
|
18
18
|
**asset_id** | **String** | (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. | [optional]
|
|
19
19
|
**source** | [**TransactionSource**](TransactionSource.md) | |
|
|
20
20
|
**destination** | [**TransactionDestination**](TransactionDestination.md) | |
|
|
21
21
|
**result** | [**TransactionResult**](TransactionResult.md) | | [optional]
|
|
22
22
|
**fee** | [**TransactionFee**](TransactionFee.md) | | [optional]
|
|
23
|
-
**initiator** | **String** | The initiator of this payout, usually the
|
|
23
|
+
**initiator** | **String** | The initiator of this payout, usually the API key used to create the payout. | [optional]
|
|
24
24
|
**initiator_type** | [**TransactionInitiatorType**](TransactionInitiatorType.md) | |
|
|
25
25
|
**confirmed_num** | **Number** | The number of confirmations this transaction has received. | [optional]
|
|
26
26
|
**confirming_threshold** | **Number** | The minimum number of confirmations required to deem a transaction secure. The common threshold is 6 for a Bitcoin transaction. | [optional]
|
|
@@ -34,8 +34,8 @@ Name | Type | Description | Notes
|
|
|
34
34
|
**cobo_category** | **[String]** | The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories). | [optional]
|
|
35
35
|
**extra** | **[String]** | A list of JSON-encoded strings containing structured, business-specific extra information for the transaction. Each item corresponds to a specific data type, indicated by the `extra_type` field in the JSON object (for example, \"BabylonBusinessInfo\", \"BtcAddressInfo\"). | [optional]
|
|
36
36
|
**fueling_info** | [**TransactionFuelingInfo**](TransactionFuelingInfo.md) | | [optional]
|
|
37
|
-
**created_timestamp** | **Number** | The
|
|
38
|
-
**updated_timestamp** | **Number** | The time when the
|
|
37
|
+
**created_timestamp** | **Number** | The time when the screening request was created, in Unix timestamp format, measured in milliseconds. |
|
|
38
|
+
**updated_timestamp** | **Number** | The time when the screening status was updated, in Unix timestamp format, measured in milliseconds. |
|
|
39
39
|
**tss_request_id** | **String** | The TSS request ID. | [optional]
|
|
40
40
|
**source_key_share_holder_group** | [**SourceGroup**](SourceGroup.md) | | [optional]
|
|
41
41
|
**target_key_share_holder_group_id** | **String** | The target key share holder group ID. | [optional]
|
|
@@ -53,7 +53,7 @@ Name | Type | Description | Notes
|
|
|
53
53
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
54
54
|
**token** | [**TokenInfo**](TokenInfo.md) | | [optional]
|
|
55
55
|
**feedback** | **String** | The feedback provided by Cobo when a token listing request is rejected. | [optional]
|
|
56
|
-
**address** | **String** | The
|
|
56
|
+
**address** | **String** | The screened blockchain address. |
|
|
57
57
|
**wallet_uuid** | **String** | The wallet ID. |
|
|
58
58
|
**balance** | [**Balance**](Balance.md) | |
|
|
59
59
|
**token_ids** | **String** | A list of token IDs, separated by comma. |
|
|
@@ -62,19 +62,19 @@ Name | Type | Description | Notes
|
|
|
62
62
|
**merchant_id** | **String** | The merchant ID. | [optional]
|
|
63
63
|
**merchant_order_code** | **String** | A unique reference code assigned by the merchant to identify this order in their system. | [optional]
|
|
64
64
|
**psp_order_code** | **String** | A unique reference code assigned by the developer to identify this order in their system. |
|
|
65
|
-
**pricing_currency** | **String** | The
|
|
66
|
-
**pricing_amount** | **String** | The base amount of the order
|
|
67
|
-
**fee_amount** | **String** | The developer fee for the order
|
|
65
|
+
**pricing_currency** | **String** | The pricing currency of the order. | [optional]
|
|
66
|
+
**pricing_amount** | **String** | The base amount of the order, excluding the developer fee (specified in `fee_amount`). | [optional]
|
|
67
|
+
**fee_amount** | **String** | The developer fee for the order. It is added to the base amount to determine the final charge. |
|
|
68
68
|
**payable_currency** | **String** | The ID of the cryptocurrency used for payment. | [optional]
|
|
69
69
|
**payable_amount** | **String** | The cryptocurrency amount to be paid for this order. |
|
|
70
|
-
**exchange_rate** | **String** | The exchange rate between
|
|
71
|
-
**amount_tolerance** | **String** |
|
|
70
|
+
**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> |
|
|
71
|
+
**amount_tolerance** | **String** | 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) | [optional]
|
|
72
72
|
**receive_address** | **String** | The recipient wallet address to be used for the payment transaction. |
|
|
73
73
|
**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). |
|
|
74
74
|
**expired_at** | **Number** | The expiration time of the pay-in order, represented as a UNIX timestamp in seconds. | [optional]
|
|
75
75
|
**transactions** | [**[PaymentTransaction]**](PaymentTransaction.md) | An array of transactions associated with this refund order. Each transaction represents a separate blockchain operation related to the refund process. | [optional]
|
|
76
|
-
**currency** | **String** | The fiat currency
|
|
77
|
-
**order_amount** | **String** |
|
|
76
|
+
**currency** | **String** | The fiat currency you will receive from the payout. | [optional]
|
|
77
|
+
**order_amount** | **String** | This field has been deprecated. Please use `pricing_amount` instead. | [optional]
|
|
78
78
|
**settlement_status** | [**SettleStatus**](SettleStatus.md) | | [optional]
|
|
79
79
|
**refund_id** | **String** | The refund order ID. |
|
|
80
80
|
**amount** | **String** | The amount in cryptocurrency to be returned for this refund order. |
|
|
@@ -98,7 +98,7 @@ Name | Type | Description | Notes
|
|
|
98
98
|
**updated_address** | **String** | The new top-up address that has been assigned to the payer. |
|
|
99
99
|
**payout_id** | **String** | The payout ID generated by Cobo. |
|
|
100
100
|
**payout_item_details** | [**[PaymentPayoutItemDetail]**](PaymentPayoutItemDetail.md) | | [optional]
|
|
101
|
-
**actual_payout_amount** | **String** | The
|
|
101
|
+
**actual_payout_amount** | **String** | The total amount of cryptocurrency actually paid out for this payout. | [optional]
|
|
102
102
|
**disposition_type** | [**DispositionType**](DispositionType.md) | |
|
|
103
103
|
**disposition_status** | [**DispositionStatus**](DispositionStatus.md) | |
|
|
104
104
|
**destination_address** | **String** | The blockchain address to receive the refunded/isolated funds. | [optional]
|
|
@@ -106,6 +106,7 @@ Name | Type | Description | Notes
|
|
|
106
106
|
**transaction_type** | [**KytScreeningsTransactionType**](KytScreeningsTransactionType.md) | |
|
|
107
107
|
**review_status** | [**ReviewStatusType**](ReviewStatusType.md) | |
|
|
108
108
|
**funds_status** | [**FundsStatusType**](FundsStatusType.md) | |
|
|
109
|
+
**screening_id** | **String** | The unique system-generated identifier for this screening request (UUID format, fixed 36 characters). |
|
|
109
110
|
|
|
110
111
|
|
|
111
112
|
|
|
@@ -148,6 +149,8 @@ Name | Type | Description | Notes
|
|
|
148
149
|
|
|
149
150
|
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
150
151
|
|
|
152
|
+
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
153
|
+
|
|
151
154
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
152
155
|
|
|
153
156
|
|
|
@@ -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
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -47,6 +47,8 @@ Name | Type | Description | Notes
|
|
|
47
47
|
|
|
48
48
|
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
49
49
|
|
|
50
|
+
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
51
|
+
|
|
50
52
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
51
53
|
|
|
52
54
|
|
package/docs/WebhookEventType.md
CHANGED
|
@@ -79,6 +79,8 @@
|
|
|
79
79
|
|
|
80
80
|
* `compliance.kyt.screenings.status.updated` (value: `"compliance.kyt.screenings.status.updated"`)
|
|
81
81
|
|
|
82
|
+
* `compliance.kya.screenings.status.updated` (value: `"compliance.kya.screenings.status.updated"`)
|
|
83
|
+
|
|
82
84
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
83
85
|
|
|
84
86
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobo/cobo-waas2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"description": "The Cobo Wallet-as-a-Service (WaaS) 2.0 API is the latest version of Cobo's WaaS API offering. It enables you to access Cobo's full suite of crypto wallet technologies with powerful and flexible access controls. By encapsulating complex security protocols and streamlining blockchain interactions, this API allows you to concentrate on your core business activities without worrying about the safety of your assets. The WaaS 2.0 API presents the following key features: - A unified API for Cobo's [all four wallet types](https://manuals.cobo.com/en/portal/introduction#an-all-in-one-wallet-platform) - Support for 80+ chains and 3000+ tokens - A comprehensive selection of webhook events - Flexible usage models for MPC Wallets, including [Organization-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/introduction) and [User-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ucw/introduction) - Programmatic control of smart contract wallets such as Safe{Wallet} with fine-grained access controls - Seamlessly transfer funds across multiple exchanges, including Binance, OKX, Bybit, Deribit, and more For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](https://www.cobo.com/developers/v2/guides/overview/introduction). ",
|
|
5
5
|
"license": "GPL 2.0",
|
|
6
6
|
"main": "dist/index.js",
|