@cobo/cobo-waas2 1.28.0 → 1.30.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 +88 -16
- 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/GraphQLApi.js +85 -0
- package/dist/api/PaymentApi.js +1161 -154
- package/dist/api/StakingsApi.js +2 -2
- package/dist/api/SwapsApi.js +3 -0
- package/dist/api/TransactionsApi.js +6 -6
- package/dist/api/WalletsApi.js +18 -18
- package/dist/index.js +357 -28
- package/dist/model/AddressRiskLevel.js +71 -0
- package/dist/model/AddressesEventData.js +13 -3
- package/dist/model/{AllocationRecord.js → AllocationItem.js} +38 -35
- package/dist/model/{AllocationRequest.js → AllocationParam.js} +29 -26
- package/dist/model/BalanceUpdateInfoEventData.js +13 -3
- package/dist/model/BatchAllocation.js +12 -12
- package/dist/model/BatchAllocationDetail.js +15 -17
- package/dist/model/BridgingFee.js +3 -3
- package/dist/model/ChainsEventData.js +13 -3
- package/dist/model/CommissionFee.js +2 -2
- package/dist/model/ComplianceDispositionUpdateEventData.js +13 -3
- package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +346 -0
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +13 -3
- package/dist/model/ContractCallParams.js +3 -3
- package/dist/model/CounterpartyWalletAddressDetail.js +2 -2
- package/dist/model/CreateBatchAllocationRequest.js +19 -19
- package/dist/model/CreateBulkSendRequest.js +167 -0
- package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +153 -0
- 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 +17 -15
- package/dist/model/CreatePayoutRequest.js +35 -28
- package/dist/model/CreateRefundRequest.js +2 -2
- package/dist/model/CreateReportRequest.js +156 -0
- package/dist/model/CreateTopUpAddresses.js +139 -0
- package/dist/model/CreateTopUpAddresses201Response.js +107 -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/{ListPayoutItems200Response.js → GetReports200Response.js} +22 -22
- 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/{ListAllocations200Response.js → ListAllocationItems200Response.js} +22 -22
- package/dist/model/ListBulkSendItems200Response.js +123 -0
- 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 +13 -3
- package/dist/model/MerchantBalance.js +4 -4
- package/dist/model/Order.js +10 -10
- package/dist/model/OrderLinkBusinessInfo.js +22 -16
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -4
- package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +4 -4
- package/dist/model/PaymentAddressUpdateEventData.js +13 -3
- package/dist/model/PaymentAllocationAmount.js +2 -2
- package/dist/model/PaymentBulkSend.js +182 -0
- package/dist/model/PaymentBulkSendEvent.js +359 -0
- package/dist/model/PaymentBulkSendExecutionMode.js +61 -0
- package/dist/model/PaymentBulkSendItem.js +190 -0
- package/dist/model/{PaymentPayoutItemStatus.js → PaymentBulkSendItemStatus.js} +11 -11
- package/dist/model/PaymentBulkSendItemValidationStatus.js +66 -0
- package/dist/model/PaymentBulkSendStatus.js +81 -0
- package/dist/model/PaymentEstimateFeeRequest.js +13 -0
- package/dist/model/PaymentFeeType.js +15 -0
- package/dist/model/PaymentOrderEventData.js +31 -21
- package/dist/model/PaymentPayout.js +64 -46
- package/dist/model/PaymentPayoutDetail.js +166 -52
- package/dist/model/PaymentPayoutEvent.js +152 -80
- package/dist/model/PaymentPayoutItem.js +9 -166
- package/dist/model/PaymentPayoutParam.js +6 -46
- package/dist/model/PaymentPayoutRecipientInfo.js +126 -0
- package/dist/model/PaymentPayoutStatus.js +9 -4
- package/dist/model/PaymentRefundEventData.js +13 -3
- package/dist/model/PaymentSettlementEvent.js +13 -3
- package/dist/model/PaymentTransactionEventData.js +13 -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 +13 -3
- package/dist/model/TSSRequestWebhookEventData.js +13 -3
- package/dist/model/TokenListingEventData.js +13 -3
- package/dist/model/TokensEventData.js +13 -3
- package/dist/model/TransactionCoboCategory.js +5 -0
- package/dist/model/TransactionExtraType.js +5 -0
- package/dist/model/TransactionWalletConnectInfo.js +146 -0
- package/dist/model/TransactionWebhookEventData.js +13 -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 +13 -3
- package/dist/model/WebhookEventData.js +121 -28
- package/dist/model/WebhookEventDataType.js +12 -2
- package/dist/model/WebhookEventType.js +15 -0
- package/docs/AddressRiskLevel.md +16 -0
- package/docs/AddressesEventData.md +5 -1
- package/docs/AllocationItem.md +15 -0
- package/docs/AllocationParam.md +13 -0
- package/docs/AutoSweepApi.md +1 -1
- package/docs/BalanceUpdateInfoEventData.md +5 -1
- package/docs/BatchAllocation.md +2 -2
- package/docs/BatchAllocationDetail.md +1 -1
- package/docs/BridgingFee.md +2 -2
- package/docs/ChainsEventData.md +5 -1
- package/docs/CommissionFee.md +1 -1
- package/docs/ComplianceApi.md +163 -0
- package/docs/ComplianceDispositionUpdateEventData.md +5 -1
- package/docs/ComplianceKyaScreeningsUpdateEventData.md +64 -0
- package/docs/ComplianceKytScreeningsUpdateEventData.md +5 -1
- package/docs/ContractCallParams.md +2 -2
- package/docs/CounterpartyWalletAddressDetail.md +1 -1
- package/docs/CreateBatchAllocationRequest.md +2 -2
- package/docs/CreateBulkSendRequest.md +12 -0
- package/docs/CreateBulkSendRequestPayoutParamsInner.md +12 -0
- 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 +11 -11
- package/docs/CreatePayoutRequest.md +4 -4
- package/docs/CreateRefundRequest.md +2 -2
- package/docs/CreateReportRequest.md +13 -0
- package/docs/CreateTopUpAddresses.md +11 -0
- package/docs/CreateTopUpAddresses201Response.md +9 -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/{ListAllocations200Response.md → GetReports200Response.md} +2 -2
- package/docs/GraphQLApi.md +61 -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/{ListPayoutItems200Response.md → ListAllocationItems200Response.md} +2 -2
- package/docs/ListBulkSendItems200Response.md +10 -0
- package/docs/ListCounterpartyEntries200Response.md +10 -0
- package/docs/ListDestinationEntries200Response.md +11 -0
- package/docs/ListKyaScreenings200Response.md +10 -0
- package/docs/MPCVaultEventData.md +5 -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 +5 -1
- package/docs/PaymentAllocationAmount.md +1 -1
- package/docs/PaymentApi.md +1296 -198
- package/docs/PaymentBulkSend.md +15 -0
- package/docs/PaymentBulkSendEvent.md +65 -0
- package/docs/PaymentBulkSendExecutionMode.md +12 -0
- package/docs/PaymentBulkSendItem.md +15 -0
- package/docs/{PaymentPayoutItemStatus.md → PaymentBulkSendItemStatus.md} +3 -3
- package/docs/PaymentBulkSendItemValidationStatus.md +14 -0
- package/docs/PaymentBulkSendStatus.md +20 -0
- package/docs/PaymentEstimateFeeRequest.md +1 -0
- package/docs/PaymentFeeType.md +6 -0
- package/docs/PaymentOrderEventData.md +13 -9
- package/docs/PaymentPayout.md +8 -7
- package/docs/PaymentPayoutDetail.md +10 -8
- package/docs/PaymentPayoutEvent.md +15 -9
- package/docs/PaymentPayoutItem.md +2 -13
- package/docs/PaymentPayoutParam.md +1 -4
- package/docs/PaymentPayoutRecipientInfo.md +12 -0
- package/docs/PaymentPayoutStatus.md +4 -2
- package/docs/PaymentRefundEventData.md +5 -1
- package/docs/PaymentSettlementEvent.md +5 -1
- package/docs/PaymentTransactionEventData.md +5 -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 +5 -1
- package/docs/SwapsApi.md +2 -0
- package/docs/TSSRequestWebhookEventData.md +5 -1
- package/docs/TokenListingEventData.md +5 -1
- package/docs/TokensEventData.md +5 -1
- package/docs/TransactionCoboCategory.md +2 -0
- package/docs/TransactionExtraType.md +2 -0
- package/docs/TransactionWalletConnectInfo.md +12 -0
- package/docs/TransactionWebhookEventData.md +5 -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 +5 -1
- package/docs/WalletsApi.md +9 -9
- package/docs/WebhookEventData.md +28 -18
- package/docs/WebhookEventDataType.md +5 -1
- package/docs/WebhookEventType.md +6 -0
- package/package.json +1 -1
- package/dist/model/PaymentPayoutItemDetail.js +0 -298
- package/docs/AllocationRecord.md +0 -15
- package/docs/AllocationRequest.md +0 -13
- package/docs/PaymentPayoutItemDetail.md +0 -22
package/docs/ComplianceApi.md
CHANGED
|
@@ -4,9 +4,12 @@ All URIs are relative to *https://api.dev.cobo.com/v2*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
+
[**createKyaScreenings**](ComplianceApi.md#createKyaScreenings) | **POST** /compliance/kya/screenings | Create KYA address screening requests
|
|
7
8
|
[**getDispositionStatus**](ComplianceApi.md#getDispositionStatus) | **GET** /compliance/funds/disposition | Get disposition status
|
|
9
|
+
[**getKyaScreening**](ComplianceApi.md#getKyaScreening) | **GET** /compliance/kya/screenings/{screening_id} | Get KYA address screening result
|
|
8
10
|
[**getKytScreeningStatus**](ComplianceApi.md#getKytScreeningStatus) | **GET** /compliance/kyt/screenings/status | Get KYT screening status
|
|
9
11
|
[**isolateFunds**](ComplianceApi.md#isolateFunds) | **POST** /compliance/funds/disposition/isolate | Isolate funds
|
|
12
|
+
[**listKyaScreenings**](ComplianceApi.md#listKyaScreenings) | **GET** /compliance/kya/screenings | List KYA address screening results
|
|
10
13
|
[**refundFunds**](ComplianceApi.md#refundFunds) | **POST** /compliance/funds/disposition/refund | Refund funds
|
|
11
14
|
[**submitKytManualReview**](ComplianceApi.md#submitKytManualReview) | **POST** /compliance/kyt/screenings/manual_review | Submit KYT manual review result
|
|
12
15
|
[**submitKytScreeningDecisions**](ComplianceApi.md#submitKytScreeningDecisions) | **POST** /compliance/kyt/screenings/decisions | Submit KYT screening decision
|
|
@@ -14,6 +17,58 @@ Method | HTTP request | Description
|
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
|
|
20
|
+
## createKyaScreenings
|
|
21
|
+
|
|
22
|
+
> [KyaScreeningResult] createKyaScreenings(opts)
|
|
23
|
+
|
|
24
|
+
Create KYA address screening requests
|
|
25
|
+
|
|
26
|
+
This operation submits up to 50 address screening requests in one call to assess address compliance and risk levels. <Note>This endpoint supports cross-chain address screening with independent idempotency for each address, enabling flexible error handling and partial retries.</Note>
|
|
27
|
+
|
|
28
|
+
### Example
|
|
29
|
+
|
|
30
|
+
```javascript
|
|
31
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
32
|
+
// Initialize the API client
|
|
33
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
34
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
35
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
36
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
37
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
38
|
+
// Call the API
|
|
39
|
+
const apiInstance = new CoboWaas2.ComplianceApi();
|
|
40
|
+
const opts = {
|
|
41
|
+
'CreateKyaScreeningsBody': new CoboWaas2.CreateKyaScreeningsBody()
|
|
42
|
+
};
|
|
43
|
+
apiInstance.createKyaScreenings(opts).then((data) => {
|
|
44
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
45
|
+
}, (error) => {
|
|
46
|
+
console.error(error);
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Parameters
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Name | Type | Description | Notes
|
|
55
|
+
------------- | ------------- | ------------- | -------------
|
|
56
|
+
**CreateKyaScreeningsBody** | [**CreateKyaScreeningsBody**](CreateKyaScreeningsBody.md)| The request body to create KYA address screening requests. | [optional]
|
|
57
|
+
|
|
58
|
+
### Return type
|
|
59
|
+
|
|
60
|
+
[**[KyaScreeningResult]**](KyaScreeningResult.md)
|
|
61
|
+
|
|
62
|
+
### Authorization
|
|
63
|
+
|
|
64
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
65
|
+
|
|
66
|
+
### HTTP request headers
|
|
67
|
+
|
|
68
|
+
- **Content-Type**: application/json
|
|
69
|
+
- **Accept**: application/json
|
|
70
|
+
|
|
71
|
+
|
|
17
72
|
## getDispositionStatus
|
|
18
73
|
|
|
19
74
|
> DispositionQueryResponse getDispositionStatus(transaction_id)
|
|
@@ -64,6 +119,56 @@ Name | Type | Description | Notes
|
|
|
64
119
|
- **Accept**: application/json
|
|
65
120
|
|
|
66
121
|
|
|
122
|
+
## getKyaScreening
|
|
123
|
+
|
|
124
|
+
> KyaScreeningResult getKyaScreening(screening_id)
|
|
125
|
+
|
|
126
|
+
Get KYA address screening result
|
|
127
|
+
|
|
128
|
+
This operation retrieves a specific address screening result by `screening_id`, including risk assessment information. <Info>This endpoint returns the full screening details including risk level, summary, and detailed risk category exposures.</Info>
|
|
129
|
+
|
|
130
|
+
### Example
|
|
131
|
+
|
|
132
|
+
```javascript
|
|
133
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
134
|
+
// Initialize the API client
|
|
135
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
136
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
137
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
138
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
139
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
140
|
+
// Call the API
|
|
141
|
+
const apiInstance = new CoboWaas2.ComplianceApi();
|
|
142
|
+
const screening_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
143
|
+
apiInstance.getKyaScreening(screening_id).then((data) => {
|
|
144
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
145
|
+
}, (error) => {
|
|
146
|
+
console.error(error);
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Parameters
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
Name | Type | Description | Notes
|
|
155
|
+
------------- | ------------- | ------------- | -------------
|
|
156
|
+
**screening_id** | **String**| The unique identifier (UUID) of the address screening request. |
|
|
157
|
+
|
|
158
|
+
### Return type
|
|
159
|
+
|
|
160
|
+
[**KyaScreeningResult**](KyaScreeningResult.md)
|
|
161
|
+
|
|
162
|
+
### Authorization
|
|
163
|
+
|
|
164
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
165
|
+
|
|
166
|
+
### HTTP request headers
|
|
167
|
+
|
|
168
|
+
- **Content-Type**: Not defined
|
|
169
|
+
- **Accept**: application/json
|
|
170
|
+
|
|
171
|
+
|
|
67
172
|
## getKytScreeningStatus
|
|
68
173
|
|
|
69
174
|
> KytScreeningsTransaction getKytScreeningStatus(transaction_id)
|
|
@@ -166,6 +271,64 @@ Name | Type | Description | Notes
|
|
|
166
271
|
- **Accept**: application/json
|
|
167
272
|
|
|
168
273
|
|
|
274
|
+
## listKyaScreenings
|
|
275
|
+
|
|
276
|
+
> ListKyaScreenings200Response listKyaScreenings(opts)
|
|
277
|
+
|
|
278
|
+
List KYA address screening results
|
|
279
|
+
|
|
280
|
+
This operation retrieves the results of specified screening requests with pagination support. You can filter specific screening requests using screening_ids (up to 50 IDs). <Note>For larger result sets (exceeding 50 screening results), use pagination parameters (limit, before, after) to page through results.</Note>
|
|
281
|
+
|
|
282
|
+
### Example
|
|
283
|
+
|
|
284
|
+
```javascript
|
|
285
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
286
|
+
// Initialize the API client
|
|
287
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
288
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
289
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
290
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
291
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
292
|
+
// Call the API
|
|
293
|
+
const apiInstance = new CoboWaas2.ComplianceApi();
|
|
294
|
+
const opts = {
|
|
295
|
+
'screening_ids': "f47ac10b-58cc-4372-a567-0e02b2c3d479,a1b2c3d4-e5f6-4321-8765-fedcba987654",
|
|
296
|
+
'limit': 10,
|
|
297
|
+
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
298
|
+
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
299
|
+
};
|
|
300
|
+
apiInstance.listKyaScreenings(opts).then((data) => {
|
|
301
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
302
|
+
}, (error) => {
|
|
303
|
+
console.error(error);
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### Parameters
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
Name | Type | Description | Notes
|
|
312
|
+
------------- | ------------- | ------------- | -------------
|
|
313
|
+
**screening_ids** | **String**| A comma-separated list of screening request IDs to filter specific screening results. Maximum 50 IDs allowed to ensure URL length stays within standard web server limits (typically 8KB). Each ID must be in standard UUID format (36 characters fixed length). Example: `f47ac10b-58cc-4372-a567-0e02b2c3d479,a1b2c3d4-e5f6-4321-8765-fedcba987654` | [optional]
|
|
314
|
+
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
315
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
316
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
317
|
+
|
|
318
|
+
### Return type
|
|
319
|
+
|
|
320
|
+
[**ListKyaScreenings200Response**](ListKyaScreenings200Response.md)
|
|
321
|
+
|
|
322
|
+
### Authorization
|
|
323
|
+
|
|
324
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
325
|
+
|
|
326
|
+
### HTTP request headers
|
|
327
|
+
|
|
328
|
+
- **Content-Type**: Not defined
|
|
329
|
+
- **Accept**: application/json
|
|
330
|
+
|
|
331
|
+
|
|
169
332
|
## refundFunds
|
|
170
333
|
|
|
171
334
|
> DispositionResponse refundFunds(opts)
|
|
@@ -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. - `PaymentBulkSend`: The payment bulk send 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
|
**disposition_type** | [**DispositionType**](DispositionType.md) | |
|
|
10
10
|
**disposition_status** | [**DispositionStatus**](DispositionStatus.md) | |
|
|
@@ -45,6 +45,8 @@ Name | Type | Description | Notes
|
|
|
45
45
|
|
|
46
46
|
* `PaymentPayout` (value: `"PaymentPayout"`)
|
|
47
47
|
|
|
48
|
+
* `PaymentBulkSend` (value: `"PaymentBulkSend"`)
|
|
49
|
+
|
|
48
50
|
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
49
51
|
|
|
50
52
|
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
@@ -53,6 +55,8 @@ Name | Type | Description | Notes
|
|
|
53
55
|
|
|
54
56
|
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
55
57
|
|
|
58
|
+
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
59
|
+
|
|
56
60
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
57
61
|
|
|
58
62
|
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# CoboWaas2.ComplianceKyaScreeningsUpdateEventData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
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. - `PaymentBulkSend`: The payment bulk send 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
|
+
**screening_id** | **String** | The unique system-generated identifier for this screening request (UUID format, fixed 36 characters). |
|
|
9
|
+
**address** | **String** | The screened blockchain address. |
|
|
10
|
+
**chain_id** | **String** | The chain identifier. |
|
|
11
|
+
**status** | [**KyaScreeningStatus**](KyaScreeningStatus.md) | |
|
|
12
|
+
**created_timestamp** | **Number** | The time when the screening request was created, in Unix timestamp format, measured in milliseconds. |
|
|
13
|
+
**updated_timestamp** | **Number** | The time when the screening status was updated, in Unix timestamp format, measured in milliseconds. |
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Enum: DataTypeEnum
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* `Transaction` (value: `"Transaction"`)
|
|
21
|
+
|
|
22
|
+
* `TSSRequest` (value: `"TSSRequest"`)
|
|
23
|
+
|
|
24
|
+
* `Addresses` (value: `"Addresses"`)
|
|
25
|
+
|
|
26
|
+
* `WalletInfo` (value: `"WalletInfo"`)
|
|
27
|
+
|
|
28
|
+
* `MPCVault` (value: `"MPCVault"`)
|
|
29
|
+
|
|
30
|
+
* `Chains` (value: `"Chains"`)
|
|
31
|
+
|
|
32
|
+
* `Tokens` (value: `"Tokens"`)
|
|
33
|
+
|
|
34
|
+
* `TokenListing` (value: `"TokenListing"`)
|
|
35
|
+
|
|
36
|
+
* `PaymentOrder` (value: `"PaymentOrder"`)
|
|
37
|
+
|
|
38
|
+
* `PaymentRefund` (value: `"PaymentRefund"`)
|
|
39
|
+
|
|
40
|
+
* `PaymentSettlement` (value: `"PaymentSettlement"`)
|
|
41
|
+
|
|
42
|
+
* `PaymentTransaction` (value: `"PaymentTransaction"`)
|
|
43
|
+
|
|
44
|
+
* `PaymentAddressUpdate` (value: `"PaymentAddressUpdate"`)
|
|
45
|
+
|
|
46
|
+
* `PaymentPayout` (value: `"PaymentPayout"`)
|
|
47
|
+
|
|
48
|
+
* `PaymentBulkSend` (value: `"PaymentBulkSend"`)
|
|
49
|
+
|
|
50
|
+
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
51
|
+
|
|
52
|
+
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
53
|
+
|
|
54
|
+
* `ComplianceDisposition` (value: `"ComplianceDisposition"`)
|
|
55
|
+
|
|
56
|
+
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
57
|
+
|
|
58
|
+
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
59
|
+
|
|
60
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
@@ -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. - `PaymentBulkSend`: The payment bulk send 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
|
**transaction_type** | [**KytScreeningsTransactionType**](KytScreeningsTransactionType.md) | |
|
|
10
10
|
**review_status** | [**ReviewStatusType**](ReviewStatusType.md) | |
|
|
@@ -44,6 +44,8 @@ Name | Type | Description | Notes
|
|
|
44
44
|
|
|
45
45
|
* `PaymentPayout` (value: `"PaymentPayout"`)
|
|
46
46
|
|
|
47
|
+
* `PaymentBulkSend` (value: `"PaymentBulkSend"`)
|
|
48
|
+
|
|
47
49
|
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
48
50
|
|
|
49
51
|
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
@@ -52,6 +54,8 @@ Name | Type | Description | Notes
|
|
|
52
54
|
|
|
53
55
|
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
54
56
|
|
|
57
|
+
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
58
|
+
|
|
55
59
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
56
60
|
|
|
57
61
|
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**request_id** | **String** |
|
|
7
|
+
**request_id** | **String** | A client-defined unique request identifier (idempotency key) used to prevent duplicate contract call requests. It must be unique within the same organization. Requests with the same request ID will be rejected with an error. |
|
|
8
8
|
**chain_id** | **String** | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains). |
|
|
9
9
|
**source** | [**ContractCallSource**](ContractCallSource.md) | |
|
|
10
10
|
**destination** | [**ContractCallDestination**](ContractCallDestination.md) | |
|
|
11
|
-
**description** | **String** | The description of the contract call transaction. | [optional]
|
|
11
|
+
**description** | **String** | The description of the contract call transaction. Maximum length is 2048 characters for MPC Wallets and Custodial Wallets (Web3 Wallets), and 1000 characters for Custodial Wallets (Asset Wallets). | [optional]
|
|
12
12
|
**category_names** | **[String]** | The custom category for you to identify your transactions. | [optional]
|
|
13
13
|
**fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
|
|
14
14
|
**transaction_process_type** | [**TransactionProcessType**](TransactionProcessType.md) | | [optional]
|
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**counterparty_type** | [**CounterpartyType**](CounterpartyType.md) | |
|
|
10
10
|
**wallet_address_id** | **String** | The wallet address ID. |
|
|
11
11
|
**address** | **String** | The wallet address. |
|
|
12
|
-
**chain_id** | **String** | The chain ID of the
|
|
12
|
+
**chain_id** | **String** | The chain ID of the address. |
|
|
13
13
|
**updated_timestamp** | **Number** | The updated time of the wallet address, represented as a UNIX timestamp in seconds. |
|
|
14
14
|
|
|
15
15
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**request_id** | **String** | The request ID that is used to track a allocation request. The request ID is provided by you and must be unique. |
|
|
8
|
-
**
|
|
7
|
+
**request_id** | **String** | The request ID that is used to track a batch allocation request. The request ID is provided by you and must be unique. |
|
|
8
|
+
**allocation_params** | [**[AllocationParam]**](AllocationParam.md) | |
|
|
9
9
|
|
|
10
10
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.CreateBulkSendRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**source_account** | **String** | The source account from which the bulk send will be 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\"`. |
|
|
8
|
+
**execution_mode** | [**PaymentBulkSendExecutionMode**](PaymentBulkSendExecutionMode.md) | |
|
|
9
|
+
**description** | **String** | The description for the entire bulk send batch. | [optional]
|
|
10
|
+
**payout_params** | [**[CreateBulkSendRequestPayoutParamsInner]**](CreateBulkSendRequestPayoutParamsInner.md) | The bulk send items. |
|
|
11
|
+
|
|
12
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.CreateBulkSendRequestPayoutParamsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**token_id** | **String** | The token ID of the cryptocurrency to be sent to the recipient. |
|
|
8
|
+
**receiving_address** | **String** | The receiving address. |
|
|
9
|
+
**amount** | **String** | The amount of the cryptocurrency to be sent to the recipient. |
|
|
10
|
+
**description** | **String** | A note or comment about the bulk send item. | [optional]
|
|
11
|
+
|
|
12
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.CreateCounterpartyEntry201Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**counterparty_id** | **String** | The counterparty ID. |
|
|
8
|
+
**wallet_addresses** | [**[WalletAddress]**](WalletAddress.md) | The wallet addresses of the counterparty. |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.CreateCounterpartyEntryRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**counterparty_id** | **String** | The counterparty ID. |
|
|
8
|
+
**wallet_addresses** | [**[CreateWalletAddress]**](CreateWalletAddress.md) | The wallet addresses of the counterparty. | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.CreateDestinationEntry201Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**destination_id** | **String** | The destination ID. |
|
|
8
|
+
**wallet_addresses** | [**[WalletAddress]**](WalletAddress.md) | The wallet addresses of the destination. | [optional]
|
|
9
|
+
**bank_accounts** | [**[DestinationBankAccount]**](DestinationBankAccount.md) | The bank accounts of the destination. | [optional]
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.CreateDestinationEntryRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**destination_id** | **String** | The destination ID. |
|
|
8
|
+
**wallet_addresses** | [**[CreateWalletAddress]**](CreateWalletAddress.md) | The wallet addresses of the destination. | [optional]
|
|
9
|
+
**bank_accounts** | [**[CreateDestinationBankAccount]**](CreateDestinationBankAccount.md) | The bank accounts of the destination. | [optional]
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CoboWaas2.CreateKyaScreeningsBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**screenings** | [**[KyaScreeningRequest]**](KyaScreeningRequest.md) | List of address screening requests. Maximum 50 addresses per call. |
|
|
8
|
+
|
|
9
|
+
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | The merchant name. |
|
|
8
8
|
**wallet_id** | **String** | This field has been deprecated. | [optional]
|
|
9
|
-
**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 [
|
|
9
|
+
**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]
|
|
10
10
|
**wallet_setup** | [**WalletSetup**](WalletSetup.md) | | [optional]
|
|
11
11
|
|
|
12
12
|
|
|
@@ -7,17 +7,17 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**merchant_id** | **String** | The merchant ID. |
|
|
8
8
|
**merchant_order_code** | **String** | A unique reference code assigned by the merchant to identify this order in their system. | [optional]
|
|
9
9
|
**psp_order_code** | **String** | A unique reference code assigned by the developer to identify this order in their system. |
|
|
10
|
-
**pricing_currency** | **String** | The
|
|
11
|
-
**pricing_amount** | **String** | The base amount of the order
|
|
12
|
-
**fee_amount** | **String** | The developer fee for the order
|
|
13
|
-
**payable_currency** | **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` |
|
|
14
|
-
**payable_amount** | **String** | The
|
|
10
|
+
**pricing_currency** | **String** | The pricing currency that denominates `pricing_amount` and `fee_amount`. If left empty, both values will be denominated in `payable_currency`. Currently, For a complete list of supported currencies, see [Supported chains and tokens](https://www.cobo.com/developers/v2/guides/overview/supported-chains-and-tokens). | [optional]
|
|
11
|
+
**pricing_amount** | **String** | 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. | [optional]
|
|
12
|
+
**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. |
|
|
13
|
+
**payable_currency** | **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` |
|
|
14
|
+
**payable_amount** | **String** | The total amount the payer needs to pay, denominated in the specified `payable_currency`. If this field is left blank, the system will automatically calculate the amount 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. | [optional]
|
|
15
15
|
**expired_in** | **Number** | The pay-in order will expire after approximately a certain number of seconds: - The order status becomes final and cannot be changed - The `received_token_amount` field will no longer be updated - Funds received after expiration will be categorized as late payments and can only be settled from the developer balance. - A late payment will trigger a `transactionLate` webhook event. | [optional]
|
|
16
|
-
**amount_tolerance** | **String** |
|
|
17
|
-
**currency** | **String** |
|
|
18
|
-
**order_amount** | **String** |
|
|
19
|
-
**token_id** | **String** |
|
|
20
|
-
**use_dedicated_address** | **Boolean** |
|
|
21
|
-
**custom_exchange_rate** | **String** |
|
|
16
|
+
**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]
|
|
17
|
+
**currency** | **String** | This field has been deprecated. Please use `pricing_currency` instead. | [optional] [default to '']
|
|
18
|
+
**order_amount** | **String** | This field has been deprecated. Please use `pricing_amount` instead. | [optional]
|
|
19
|
+
**token_id** | **String** | This field has been deprecated. Please use `payable_currency` instead. | [optional]
|
|
20
|
+
**use_dedicated_address** | **Boolean** | This field has been deprecated. | [optional]
|
|
21
|
+
**custom_exchange_rate** | **String** | This field has been deprecated. | [optional]
|
|
22
22
|
|
|
23
23
|
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**request_id** | **String** | The request ID that is used to track a
|
|
7
|
+
**request_id** | **String** | The request ID that is used to track a payout request. The request ID is provided by you and must be unique. |
|
|
8
|
+
**source_account** | **String** | The source account from which the payout will be 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\"`. |
|
|
8
9
|
**payout_channel** | [**PayoutChannel**](PayoutChannel.md) | |
|
|
9
10
|
**payout_params** | [**[PaymentPayoutParam]**](PaymentPayoutParam.md) | |
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**remark** | **String** | The remark for the create payouts. | [optional]
|
|
11
|
+
**recipient_info** | [**PaymentPayoutRecipientInfo**](PaymentPayoutRecipientInfo.md) | |
|
|
12
|
+
**remark** | **String** | An optional note or comment about the payout for your internal reference. | [optional]
|
|
13
13
|
|
|
14
14
|
|
|
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**token_id** | **String** | The ID of the cryptocurrency used for refund. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDCOIN`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC2`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT` |
|
|
12
12
|
**refund_type** | [**RefundType**](RefundType.md) | |
|
|
13
13
|
**order_id** | **String** | The ID of the original pay-in order associated with this refund. Use this to track refunds against specific payments. | [optional]
|
|
14
|
-
**charge_merchant_fee** | **Boolean** | Whether to charge developer fee to the merchant. This field is only valid when `refund_type` is `Merchant`. For more information, please refer to [
|
|
15
|
-
**merchant_fee_amount** | **String** | The developer fee amount to charge the merchant, denominated in the cryptocurrency specified by `merchant_fee_token_id`. This field is only valid when `refund_type` is `Merchant`. For more information, please refer to [
|
|
14
|
+
**charge_merchant_fee** | **Boolean** | Whether to charge developer fee to the merchant. This field is only valid when `refund_type` is `Merchant`. For more information, please refer to [Accounts and fund allocation](https://www.cobo.com/payments/en/guides/amounts-and-balances). - `true`: The fee amount (specified in `merchant_fee_amount`) will be deducted from the merchant's balance and added to the developer's balance - `false`: The merchant is not charged any developer fee When enabled, ensure both `merchant_fee_amount` and `merchant_fee_token_id` are properly specified. | [optional]
|
|
15
|
+
**merchant_fee_amount** | **String** | The developer fee amount to charge the merchant, denominated in the cryptocurrency specified by `merchant_fee_token_id`. This field is only valid when `refund_type` is `Merchant`. For more information, please refer to [Accounts and fund allocation](https://www.cobo.com/payments/en/guides/amounts-and-balances). This field is required when `charge_merchant_fee` is `true`. Must be: - A positive integer with up to two decimal places. - Less than the refund amount | [optional]
|
|
16
16
|
**merchant_fee_token_id** | **String** | The ID of the cryptocurrency used for the transaction fee. This is only applicable if `charge_merchant_fee` is set to true. | [optional]
|
|
17
17
|
|
|
18
18
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.CreateReportRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**start_time** | **Number** | The start time of the report. Unix timestamp measured in seconds. |
|
|
8
|
+
**end_time** | **Number** | The end time of the report. Unix timestamp measured in seconds. |
|
|
9
|
+
**report_export_format** | [**ReportExportFormat**](ReportExportFormat.md) | |
|
|
10
|
+
**report_types** | [**[ReportType]**](ReportType.md) | |
|
|
11
|
+
**token_ids** | **[String]** | Optional filter to include only items related to specified token IDs in the report. | [optional]
|
|
12
|
+
|
|
13
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.CreateTopUpAddresses
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**merchant_id** | **String** | The merchant ID. If not provided, the default merchant created during organization initialization will be used. | [optional]
|
|
8
|
+
**token_id** | **String** | The token ID, which identifies the cryptocurrency. |
|
|
9
|
+
**custom_payer_ids** | **[String]** | A list of unique custom payer IDs required to create top-up addresses. The maximum number of items is 50. |
|
|
10
|
+
|
|
11
|
+
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**address** | **String** | The wallet address. |
|
|
8
|
-
**chain_id** | **String** | The chain ID of the
|
|
8
|
+
**chain_id** | **String** | The chain ID of the address. |
|
|
9
9
|
|
|
10
10
|
|