@cobo/cobo-waas2 1.22.0 → 1.23.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 +39 -14
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +200 -21
- package/dist/api/AutoSweepApi.js +26 -26
- package/dist/api/ComplianceApi.js +214 -0
- package/dist/api/PaymentApi.js +16 -16
- package/dist/api/TokenizationApi.js +2 -2
- package/dist/api/TransactionsApi.js +16 -16
- package/dist/api/WalletsApi.js +4 -4
- package/dist/api/WalletsMPCWalletsApi.js +2 -2
- package/dist/index.js +105 -7
- package/dist/model/AddressBook.js +12 -12
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/ApprovalDetail.js +4 -4
- package/dist/model/ApprovalResult.js +6 -11
- package/dist/model/ApprovalTemplate.js +4 -4
- package/dist/model/ApprovalTransactionResult.js +8 -8
- package/dist/model/ApprovalUserDetail.js +95 -24
- package/dist/model/AutoSweepTask.js +9 -9
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/ChainInfo.js +14 -1
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/ComplianceDispositionUpdateEventData.js +321 -0
- package/dist/model/CreateAddressBookParam.js +165 -0
- package/dist/model/CreateAddressBooks201Response.js +107 -0
- package/dist/model/CreateAddressBooksParam.js +128 -0
- package/dist/model/CreateAutoSweepTask.js +5 -5
- package/dist/model/CreateCustodialWalletParams.js +1 -1
- package/dist/model/CreateExchangeWalletParams.js +2 -2
- package/dist/model/CreateMerchantRequest.js +1 -1
- package/dist/model/CreateMpcWalletParams.js +2 -2
- package/dist/model/CreatePaymentOrderRequest.js +3 -3
- package/dist/model/CreateRefundRequest.js +2 -2
- package/dist/model/CreateSafeWalletParams.js +1 -1
- package/dist/model/CreateSettlement.js +1 -1
- package/dist/model/CreateSmartContractWalletParams.js +1 -1
- package/dist/model/CreateSweepToAddress.js +1 -1
- package/dist/model/CreateWalletParams.js +1 -1
- package/dist/model/DeleteAddressBookById201Response.js +106 -0
- package/dist/model/DispositionEventData.js +170 -0
- package/dist/model/DispositionQueryResponse.js +146 -0
- package/dist/model/DispositionResponse.js +122 -0
- package/dist/model/DispositionStatus.js +116 -0
- package/dist/model/DispositionType.js +66 -0
- package/dist/model/IsolateDisposition.js +167 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/Merchant.js +1 -1
- package/dist/model/MerchantBalance.js +7 -7
- package/dist/model/OrgInfo.js +9 -0
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentOrderEventData.js +8 -3
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +8 -3
- package/dist/model/PaymentTransactionEventData.js +8 -3
- package/dist/model/PaymentWalletBalance.js +6 -6
- package/dist/model/PspBalance.js +7 -7
- package/dist/model/ReceivedAmountPerAddress.js +5 -5
- package/dist/model/RefundDisposition.js +167 -0
- package/dist/model/RoleDetail.js +41 -6
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/SweepToAddress.js +1 -1
- 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/UnfreezeDisposition.js +111 -0
- package/dist/model/UpdateAddressBookParam.js +150 -0
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +62 -10
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +5 -0
- package/docs/AddressBook.md +7 -7
- package/docs/AddressBooksApi.md +218 -8
- package/docs/AddressesEventData.md +3 -1
- package/docs/ApprovalDetail.md +3 -3
- package/docs/ApprovalResult.md +3 -5
- package/docs/ApprovalTemplate.md +3 -3
- package/docs/ApprovalTransactionResult.md +4 -4
- package/docs/ApprovalUserDetail.md +15 -9
- package/docs/AutoSweepApi.md +18 -18
- package/docs/AutoSweepTask.md +5 -5
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/ChainInfo.md +2 -1
- package/docs/ChainsEventData.md +3 -1
- package/docs/ComplianceApi.md +218 -0
- package/docs/ComplianceDispositionUpdateEventData.md +56 -0
- package/docs/CreateAddressBookParam.md +13 -0
- package/docs/CreateAddressBooks201Response.md +9 -0
- package/docs/CreateAddressBooksParam.md +9 -0
- package/docs/CreateAutoSweepTask.md +2 -2
- package/docs/CreateCustodialWalletParams.md +1 -1
- package/docs/CreateExchangeWalletParams.md +1 -1
- package/docs/CreateMerchantRequest.md +1 -1
- package/docs/CreateMpcWalletParams.md +1 -1
- package/docs/CreatePaymentOrderRequest.md +2 -2
- package/docs/CreateRefundRequest.md +1 -1
- package/docs/CreateSafeWalletParams.md +1 -1
- package/docs/CreateSettlement.md +1 -1
- package/docs/CreateSmartContractWalletParams.md +1 -1
- package/docs/CreateWalletParams.md +1 -1
- package/docs/DeleteAddressBookById201Response.md +9 -0
- package/docs/DispositionEventData.md +14 -0
- package/docs/DispositionQueryResponse.md +12 -0
- package/docs/DispositionResponse.md +10 -0
- package/docs/DispositionStatus.md +34 -0
- package/docs/DispositionType.md +14 -0
- package/docs/IsolateDisposition.md +13 -0
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/Merchant.md +1 -1
- package/docs/MerchantBalance.md +6 -6
- package/docs/OrgInfo.md +1 -0
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentApi.md +10 -10
- package/docs/PaymentOrderEventData.md +3 -1
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +3 -1
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PaymentWalletBalance.md +5 -5
- package/docs/PspBalance.md +6 -6
- package/docs/ReceivedAmountPerAddress.md +2 -2
- package/docs/RefundDisposition.md +13 -0
- package/docs/RoleDetail.md +4 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokenizationApi.md +2 -2
- package/docs/TokensEventData.md +3 -1
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +10 -10
- package/docs/UnfreezeDisposition.md +9 -0
- package/docs/UpdateAddressBookParam.md +12 -0
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WalletsApi.md +2 -2
- package/docs/WalletsMPCWalletsApi.md +1 -1
- package/docs/WebhookEventData.md +8 -2
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +2 -0
- package/package.json +1 -1
- package/dist/model/ApprovalShowInfo.js +0 -140
- package/docs/ApprovalShowInfo.md +0 -13
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
# CoboWaas2.ComplianceApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.dev.cobo.com/v2*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**getDispositionStatus**](ComplianceApi.md#getDispositionStatus) | **GET** /compliance/funds/disposition | Get disposition status
|
|
8
|
+
[**isolateFunds**](ComplianceApi.md#isolateFunds) | **POST** /compliance/funds/disposition/isolate | Isolate funds
|
|
9
|
+
[**refundFunds**](ComplianceApi.md#refundFunds) | **POST** /compliance/funds/disposition/refund | Refund funds
|
|
10
|
+
[**unfreezeFunds**](ComplianceApi.md#unfreezeFunds) | **POST** /compliance/funds/disposition/unfreeze | Unfreeze frozen funds
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## getDispositionStatus
|
|
15
|
+
|
|
16
|
+
> DispositionQueryResponse getDispositionStatus(transaction_id)
|
|
17
|
+
|
|
18
|
+
Get disposition status
|
|
19
|
+
|
|
20
|
+
This operation retrieves the current status of a disposition request for a specific transaction. You can use this endpoint to check the status of any disposition operation (Refund, Isolate, or Unfreeze) that has been initiated for a transaction. The response includes the disposition type, current status, and the disposition transaction ID if applicable. <Note>Use this endpoint to monitor the progress of disposition operations and verify their completion.</Note>
|
|
21
|
+
|
|
22
|
+
### Example
|
|
23
|
+
|
|
24
|
+
```javascript
|
|
25
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
26
|
+
// Initialize the API client
|
|
27
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
28
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
29
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
30
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
31
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
32
|
+
// Call the API
|
|
33
|
+
const apiInstance = new CoboWaas2.ComplianceApi();
|
|
34
|
+
const transaction_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
35
|
+
apiInstance.getDispositionStatus(transaction_id).then((data) => {
|
|
36
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
37
|
+
}, (error) => {
|
|
38
|
+
console.error(error);
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Parameters
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
Name | Type | Description | Notes
|
|
47
|
+
------------- | ------------- | ------------- | -------------
|
|
48
|
+
**transaction_id** | **String**| The UUID of the transaction to query for disposition status. |
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
[**DispositionQueryResponse**](DispositionQueryResponse.md)
|
|
53
|
+
|
|
54
|
+
### Authorization
|
|
55
|
+
|
|
56
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
57
|
+
|
|
58
|
+
### HTTP request headers
|
|
59
|
+
|
|
60
|
+
- **Content-Type**: Not defined
|
|
61
|
+
- **Accept**: application/json
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## isolateFunds
|
|
65
|
+
|
|
66
|
+
> DispositionResponse isolateFunds(opts)
|
|
67
|
+
|
|
68
|
+
Isolate funds
|
|
69
|
+
|
|
70
|
+
This operation creates a request to isolate funds for a specific transaction. The funds will be sent to a designated isolation address for compliance purposes. You need to specify the transaction ID to be isolated and the destination address. Optional parameters include custom categories for tracking purposes. <Note>The isolation will initiate a withdrawal transaction from the compliance-managed address to the specified isolation address.</Note>
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
|
|
74
|
+
```javascript
|
|
75
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
76
|
+
// Initialize the API client
|
|
77
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
78
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
79
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
80
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
81
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
82
|
+
// Call the API
|
|
83
|
+
const apiInstance = new CoboWaas2.ComplianceApi();
|
|
84
|
+
const opts = {
|
|
85
|
+
'IsolateDisposition': new CoboWaas2.IsolateDisposition()
|
|
86
|
+
};
|
|
87
|
+
apiInstance.isolateFunds(opts).then((data) => {
|
|
88
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
89
|
+
}, (error) => {
|
|
90
|
+
console.error(error);
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
Name | Type | Description | Notes
|
|
99
|
+
------------- | ------------- | ------------- | -------------
|
|
100
|
+
**IsolateDisposition** | [**IsolateDisposition**](IsolateDisposition.md)| The request body to isolate funds. | [optional]
|
|
101
|
+
|
|
102
|
+
### Return type
|
|
103
|
+
|
|
104
|
+
[**DispositionResponse**](DispositionResponse.md)
|
|
105
|
+
|
|
106
|
+
### Authorization
|
|
107
|
+
|
|
108
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
109
|
+
|
|
110
|
+
### HTTP request headers
|
|
111
|
+
|
|
112
|
+
- **Content-Type**: application/json
|
|
113
|
+
- **Accept**: application/json
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## refundFunds
|
|
117
|
+
|
|
118
|
+
> DispositionResponse refundFunds(opts)
|
|
119
|
+
|
|
120
|
+
Refund funds
|
|
121
|
+
|
|
122
|
+
This operation creates a request to refund funds for a specific transaction. The funds will be sent to the specified destination address. You need to specify the transaction ID to be refunded and the destination address. Optional parameters include custom categories for tracking purposes. <Note>The refund will initiate a withdrawal transaction from the compliance-managed address to the specified destination.</Note>
|
|
123
|
+
|
|
124
|
+
### Example
|
|
125
|
+
|
|
126
|
+
```javascript
|
|
127
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
128
|
+
// Initialize the API client
|
|
129
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
130
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
131
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
132
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
133
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
134
|
+
// Call the API
|
|
135
|
+
const apiInstance = new CoboWaas2.ComplianceApi();
|
|
136
|
+
const opts = {
|
|
137
|
+
'RefundDisposition': new CoboWaas2.RefundDisposition()
|
|
138
|
+
};
|
|
139
|
+
apiInstance.refundFunds(opts).then((data) => {
|
|
140
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
141
|
+
}, (error) => {
|
|
142
|
+
console.error(error);
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Parameters
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
Name | Type | Description | Notes
|
|
151
|
+
------------- | ------------- | ------------- | -------------
|
|
152
|
+
**RefundDisposition** | [**RefundDisposition**](RefundDisposition.md)| The request body to refund funds. | [optional]
|
|
153
|
+
|
|
154
|
+
### Return type
|
|
155
|
+
|
|
156
|
+
[**DispositionResponse**](DispositionResponse.md)
|
|
157
|
+
|
|
158
|
+
### Authorization
|
|
159
|
+
|
|
160
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
161
|
+
|
|
162
|
+
### HTTP request headers
|
|
163
|
+
|
|
164
|
+
- **Content-Type**: application/json
|
|
165
|
+
- **Accept**: application/json
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
## unfreezeFunds
|
|
169
|
+
|
|
170
|
+
> DispositionResponse unfreezeFunds(opts)
|
|
171
|
+
|
|
172
|
+
Unfreeze frozen funds
|
|
173
|
+
|
|
174
|
+
This operation creates a request to unfreeze funds for a previously frozen transaction. It releases the frozen funds back to their original state. You only need to specify the transaction ID to be unfrozen. Once unfrozen, the funds will be available for normal operations. <Note>The unfreeze process will release the compliance hold on the transaction, allowing it to proceed normally.</Note>
|
|
175
|
+
|
|
176
|
+
### Example
|
|
177
|
+
|
|
178
|
+
```javascript
|
|
179
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
180
|
+
// Initialize the API client
|
|
181
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
182
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
183
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
184
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
185
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
186
|
+
// Call the API
|
|
187
|
+
const apiInstance = new CoboWaas2.ComplianceApi();
|
|
188
|
+
const opts = {
|
|
189
|
+
'UnfreezeDisposition': new CoboWaas2.UnfreezeDisposition()
|
|
190
|
+
};
|
|
191
|
+
apiInstance.unfreezeFunds(opts).then((data) => {
|
|
192
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
193
|
+
}, (error) => {
|
|
194
|
+
console.error(error);
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Parameters
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
Name | Type | Description | Notes
|
|
203
|
+
------------- | ------------- | ------------- | -------------
|
|
204
|
+
**UnfreezeDisposition** | [**UnfreezeDisposition**](UnfreezeDisposition.md)| The request body to unfreeze funds. | [optional]
|
|
205
|
+
|
|
206
|
+
### Return type
|
|
207
|
+
|
|
208
|
+
[**DispositionResponse**](DispositionResponse.md)
|
|
209
|
+
|
|
210
|
+
### Authorization
|
|
211
|
+
|
|
212
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
213
|
+
|
|
214
|
+
### HTTP request headers
|
|
215
|
+
|
|
216
|
+
- **Content-Type**: application/json
|
|
217
|
+
- **Accept**: application/json
|
|
218
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# CoboWaas2.ComplianceDispositionUpdateEventData
|
|
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. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
|
|
8
|
+
**transaction_id** | **String** | The transaction ID. |
|
|
9
|
+
**disposition_type** | [**DispositionType**](DispositionType.md) | |
|
|
10
|
+
**disposition_status** | [**DispositionStatus**](DispositionStatus.md) | |
|
|
11
|
+
**destination_address** | **String** | The blockchain address to receive the refunded/isolated funds. | [optional]
|
|
12
|
+
**disposition_amount** | **String** | The amount to be refunded/isolated from the original transaction, specified as a numeric string. This value cannot exceed the total amount of the original transaction. | [optional]
|
|
13
|
+
**updated_timestamp** | **Number** | The time when the disposition 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
|
+
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
47
|
+
|
|
48
|
+
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
49
|
+
|
|
50
|
+
* `ComplianceDisposition` (value: `"ComplianceDisposition"`)
|
|
51
|
+
|
|
52
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.CreateAddressBookParam
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**chain_ids** | **[String]** | A list of chain IDs. |
|
|
8
|
+
**address** | **String** | The wallet address. |
|
|
9
|
+
**memo** | **String** | Optional memo or tag required by some chains. | [optional]
|
|
10
|
+
**label** | **String** | A user-defined label for the address. | [optional]
|
|
11
|
+
**email** | **String** | The email of the address owner. | [optional]
|
|
12
|
+
|
|
13
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**wallet_id** | **String** |
|
|
8
|
-
**token_id** | **String** |
|
|
7
|
+
**wallet_id** | **String** | ID of the wallet where the token will be swept. |
|
|
8
|
+
**token_id** | **String** | ID of the token to be swept. 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
|
|
|
10
10
|
|
|
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | The wallet name. |
|
|
8
8
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
9
9
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
10
|
-
**enable_auto_sweep** | **Boolean** | Enable the auto
|
|
10
|
+
**enable_auto_sweep** | **Boolean** | Enable the auto-sweep feature for the wallet. This parameter only applies to MPC Wallets and Web3 Wallets. | [optional]
|
|
11
11
|
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | The wallet name. |
|
|
8
8
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
9
9
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
10
|
-
**enable_auto_sweep** | **Boolean** | Enable the auto
|
|
10
|
+
**enable_auto_sweep** | **Boolean** | Enable the auto-sweep feature for the wallet. This parameter only applies to MPC Wallets and Web3 Wallets. | [optional]
|
|
11
11
|
**exchange_id** | [**ExchangeId**](ExchangeId.md) | |
|
|
12
12
|
**apikey** | **String** | The API key of your exchange account. |
|
|
13
13
|
**secret** | **String** | The API secret of your exchange account. |
|
|
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | The merchant name. |
|
|
8
8
|
**wallet_id** | **String** | The ID of the wallet linked to the merchant. |
|
|
9
|
-
**developer_fee_rate** | **String** | The developer fee rate applied to this merchant. Expressed as a string in decimal format where \"0.1\" represents 10%. This fee is deducted from the payment amount and only applies to top-up transactions. | [optional]
|
|
9
|
+
**developer_fee_rate** | **String** | The developer fee rate applied to this merchant. Expressed as a string in decimal format where \"0.1\" represents 10%. This fee is deducted from the payment amount and only applies to top-up transactions. If you are a merchant (directly serving the payer), you do not need to configure the developer fee rate. | [optional]
|
|
10
10
|
|
|
11
11
|
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | The wallet name. |
|
|
8
8
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
9
9
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
10
|
-
**enable_auto_sweep** | **Boolean** | Enable the auto
|
|
10
|
+
**enable_auto_sweep** | **Boolean** | Enable the auto-sweep feature for the wallet. This parameter only applies to MPC Wallets and Web3 Wallets. | [optional]
|
|
11
11
|
**vault_id** | **String** | The ID of the owning vault. You can call [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization. |
|
|
12
12
|
|
|
13
13
|
|
|
@@ -8,10 +8,10 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**token_id** | **String** | The ID of the cryptocurrency used for payment. 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` |
|
|
9
9
|
**currency** | **String** | The fiat currency for the base order amount and the developer fee. Currently, only `USD` is supported. If left empty, both `order_amount` and `fee_amount` will be denominated in the cryptocurrency specified by `token_id` | [optional] [default to '']
|
|
10
10
|
**order_amount** | **String** | The base amount of the order, excluding the developer fee (specified in `fee_amount`), in the currency specified by `currency`. If `currency` is not specified, the amount is in the cryptocurrency specified by `token_id`. Values must be greater than `0` and contain two decimal places. |
|
|
11
|
-
**fee_amount** | **String** | The developer fee for the order, in the currency specified by `currency`. If `currency` is not specified, the fee is in the cryptocurrency specified by `token_id`. The developer fee is added to the base amount (`order_amount`) to determine the final charge. For example: - Base amount (`order_amount`): \"100.00\" - Developer fee (`fee_amount`): \"2.00\" - Total charged to customer: \"102.00\" Values
|
|
11
|
+
**fee_amount** | **String** | The developer fee for the order, in the currency specified by `currency`. If `currency` is not specified, the fee is in the cryptocurrency specified by `token_id`. If you are a merchant directly serving payers, set this field to `0`. Developer fees are only relevant for platforms like payment service providers (PSPs) that charge fees to their downstream merchants. The developer fee is added to the base amount (`order_amount`) to determine the final charge. For example: - Base amount (`order_amount`): \"100.00\" - Developer fee (`fee_amount`): \"2.00\" - Total charged to customer: \"102.00\" Values can contain up to two decimal places. |
|
|
12
12
|
**merchant_order_code** | **String** | A unique reference code assigned by the merchant to identify this order in their system. The code should have a maximum length of 128 characters. | [optional]
|
|
13
13
|
**psp_order_code** | **String** | A unique reference code assigned by you as a developer to identify this order in your system. This code must be unique across all orders in your system. The code should have a maximum length of 128 characters. |
|
|
14
|
-
**expired_in** | **Number** | The number of seconds until the pay-in order expires, counted from when the request is sent. For example, if set to `1800`, the order will expire in 30 minutes. After expiration:
|
|
14
|
+
**expired_in** | **Number** | The number of seconds until the pay-in order expires, counted from when the request is sent. For example, if set to `1800`, the order will expire in 30 minutes. Must be greater than zero and cannot exceed 3 hours (10800 seconds). After expiration: - 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] [default to 1800]
|
|
15
15
|
**use_dedicated_address** | **Boolean** | Whether to allocate a dedicated address for this order. - `true`: A dedicated address will be allocated for this order. - `false`: A shared address from the address pool will be used. | [optional]
|
|
16
16
|
|
|
17
17
|
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**request_id** | **String** | The request ID that is used to track a refund request. The request ID is provided by you and must be unique. |
|
|
8
8
|
**merchant_id** | **String** | The merchant ID. | [optional]
|
|
9
|
-
**payable_amount** | **String** | The amount to refund in cryptocurrency. The amount must be a positive
|
|
9
|
+
**payable_amount** | **String** | The amount to refund in cryptocurrency. The amount must be a positive number and can have up to two decimal places |
|
|
10
10
|
**to_address** | **String** | The address where the refunded cryptocurrency will be sent. | [optional]
|
|
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) | |
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | The wallet name. |
|
|
8
8
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
9
9
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
10
|
-
**enable_auto_sweep** | **Boolean** | Enable the auto
|
|
10
|
+
**enable_auto_sweep** | **Boolean** | Enable the auto-sweep feature for the wallet. This parameter only applies to MPC Wallets and Web3 Wallets. | [optional]
|
|
11
11
|
**chain_id** | **String** | The ID of the chain that the wallet operates on. |
|
|
12
12
|
**smart_contract_wallet_type** | [**SmartContractWalletType**](SmartContractWalletType.md) | |
|
|
13
13
|
**safe_address** | **String** | The address of the Smart Contract Wallet. If this is not provided, Cobo will create a new Safe{Wallet} and set up Cobo Safe for you. In that case, the `threshold` and `signers` properties are required. | [optional]
|
package/docs/CreateSettlement.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**merchant_id** | **String** | The merchant ID. Specify this field when `settlement_type` is set to `Merchant`. | [optional]
|
|
8
8
|
**token_id** | **String** | The ID of the cryptocurrency you want to settle. Specify this field when `payout_channel` is set to `Crypto`. 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` |
|
|
9
9
|
**currency** | **String** | The fiat currency for settling the cryptocurrency. Currently, only `USD` is supported. Specify this field when `payout_channel` is set to `OffRamp`. | [optional]
|
|
10
|
-
**amount** | **String** | The
|
|
10
|
+
**amount** | **String** | The amount of cryptocurrency to be settled. When settling merchant balance from orders (`acquiring_type` is `Order` and `settlement_type` is `Merchant`), do not specify this field as the amount will be automatically calculated based on the order amounts. | [optional]
|
|
11
11
|
**bank_account_id** | **String** | The ID of the bank account where the settled funds will be deposited. This field is only applicable when `payout_channel` is set to `OffRamp`. Call [List all bank accounts](/v2/api-references/payment/list-all-bank-accounts) to retrieve the IDs of registered bank accounts. | [optional]
|
|
12
12
|
**crypto_address_id** | **String** | The ID of the crypto address used for crypto withdrawal. Specify this field when `payout_channel` is set to `Crypto`. Call [List all crypto addresses](/v2/api-references/payments/list-all-crypto-addresses) to retrieve registered crypto addresses. | [optional]
|
|
13
13
|
**order_ids** | **[String]** | | [optional]
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | The wallet name. |
|
|
8
8
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
9
9
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
10
|
-
**enable_auto_sweep** | **Boolean** | Enable the auto
|
|
10
|
+
**enable_auto_sweep** | **Boolean** | Enable the auto-sweep feature for the wallet. This parameter only applies to MPC Wallets and Web3 Wallets. | [optional]
|
|
11
11
|
**chain_id** | **String** | The ID of the chain that the wallet operates on. |
|
|
12
12
|
**smart_contract_wallet_type** | [**SmartContractWalletType**](SmartContractWalletType.md) | |
|
|
13
13
|
**safe_address** | **String** | The address of the Smart Contract Wallet. If this is not provided, Cobo will create a new Safe{Wallet} and set up Cobo Safe for you. In that case, the `threshold` and `signers` properties are required. | [optional]
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | The wallet name. |
|
|
8
8
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
9
9
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
10
|
-
**enable_auto_sweep** | **Boolean** | Enable the auto
|
|
10
|
+
**enable_auto_sweep** | **Boolean** | Enable the auto-sweep feature for the wallet. This parameter only applies to MPC Wallets and Web3 Wallets. | [optional]
|
|
11
11
|
**vault_id** | **String** | The ID of the owning vault. You can call [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization. |
|
|
12
12
|
**exchange_id** | [**ExchangeId**](ExchangeId.md) | |
|
|
13
13
|
**apikey** | **String** | The API key of your exchange account. |
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CoboWaas2.DeleteAddressBookById201Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**submitted** | **Boolean** | Whether the request to delete the Address Book entry (record) has been successfully submitted. - `true`: The request has been successfully submitted. - `false`: The request has not been submitted. |
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.DispositionEventData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The transaction ID. |
|
|
8
|
+
**disposition_type** | [**DispositionType**](DispositionType.md) | |
|
|
9
|
+
**disposition_status** | [**DispositionStatus**](DispositionStatus.md) | |
|
|
10
|
+
**destination_address** | **String** | The blockchain address to receive the refunded/isolated funds. | [optional]
|
|
11
|
+
**disposition_amount** | **String** | The amount to be refunded/isolated from the original transaction, specified as a numeric string. This value cannot exceed the total amount of the original transaction. | [optional]
|
|
12
|
+
**updated_timestamp** | **Number** | The time when the disposition was updated, in Unix timestamp format, measured in milliseconds. |
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.DispositionQueryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The UUID of the transaction that the disposition applies to. |
|
|
8
|
+
**disposition_type** | [**DispositionType**](DispositionType.md) | |
|
|
9
|
+
**disposition_status** | [**DispositionStatus**](DispositionStatus.md) | |
|
|
10
|
+
**disposition_transaction_id** | **String** | The UUID of the generated disposition transaction (if available). | [optional]
|
|
11
|
+
|
|
12
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.DispositionResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The UUID of the transaction being processed for disposition. |
|
|
8
|
+
**status** | [**DispositionStatus**](DispositionStatus.md) | |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# CoboWaas2.DispositionStatus
|
|
2
|
+
|
|
3
|
+
## Enum
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
* `Submitted` (value: `"Submitted"`)
|
|
7
|
+
|
|
8
|
+
* `Refunding` (value: `"Refunding"`)
|
|
9
|
+
|
|
10
|
+
* `Refunded` (value: `"Refunded"`)
|
|
11
|
+
|
|
12
|
+
* `RefundFailed` (value: `"RefundFailed"`)
|
|
13
|
+
|
|
14
|
+
* `Frozen` (value: `"Frozen"`)
|
|
15
|
+
|
|
16
|
+
* `Unfreezing` (value: `"Unfreezing"`)
|
|
17
|
+
|
|
18
|
+
* `Unfrozen` (value: `"Unfrozen"`)
|
|
19
|
+
|
|
20
|
+
* `UnfreezeFailed` (value: `"UnfreezeFailed"`)
|
|
21
|
+
|
|
22
|
+
* `Isolating` (value: `"Isolating"`)
|
|
23
|
+
|
|
24
|
+
* `Isolated` (value: `"Isolated"`)
|
|
25
|
+
|
|
26
|
+
* `IsolateFailed` (value: `"IsolateFailed"`)
|
|
27
|
+
|
|
28
|
+
* `CoboDisposition` (value: `"CoboDisposition"`)
|
|
29
|
+
|
|
30
|
+
* `Normal` (value: `"Normal"`)
|
|
31
|
+
|
|
32
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.IsolateDisposition
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The UUID of the transaction whose funds are to be isolated. This identifies the original transaction that requires fund isolation. |
|
|
8
|
+
**destination_address** | **String** | The blockchain address to receive the isolated funds. |
|
|
9
|
+
**disposition_amount** | **String** | The amount to be isolated from the original transaction, specified as a numeric string. This value cannot exceed the total amount of the original transaction. |
|
|
10
|
+
**category_names** | **[String]** | Custom categories to identify and track this isolation transaction. Used for transaction classification and reporting. | [optional]
|
|
11
|
+
**description** | **String** | Additional notes or description for the isolation. | [optional]
|
|
12
|
+
|
|
13
|
+
|
|
@@ -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. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension 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. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
|
|
8
8
|
**vault_id** | **String** | The vault ID. | [optional]
|
|
9
9
|
**project_id** | **String** | The project ID. | [optional]
|
|
10
10
|
**name** | **String** | The vault name. | [optional]
|
|
@@ -47,6 +47,8 @@ Name | Type | Description | Notes
|
|
|
47
47
|
|
|
48
48
|
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
49
49
|
|
|
50
|
+
* `ComplianceDisposition` (value: `"ComplianceDisposition"`)
|
|
51
|
+
|
|
50
52
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
51
53
|
|
|
52
54
|
|
package/docs/Merchant.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**merchant_id** | **String** | The merchant ID. |
|
|
8
8
|
**name** | **String** | The merchant name. |
|
|
9
9
|
**wallet_id** | **String** | The ID of the linked wallet. |
|
|
10
|
-
**developer_fee_rate** | **String** | The developer fee rate applied to this merchant. Expressed as a string in decimal format where \"0.1\" represents 10%. This fee is deducted from the payment amount and only applies to top-up transactions. | [optional]
|
|
10
|
+
**developer_fee_rate** | **String** | The developer fee rate applied to this merchant. Expressed as a string in decimal format where \"0.1\" represents 10%. This fee is deducted from the payment amount and only applies to top-up transactions. If you are a merchant (directly serving the payer), you do not need to configure the developer fee rate. | [optional]
|
|
11
11
|
**created_timestamp** | **Number** | The creation time of the merchant, represented as a UNIX timestamp in seconds. | [optional]
|
|
12
12
|
**updated_timestamp** | **Number** | The last update time of the merchant, represented as a UNIX timestamp in seconds. | [optional]
|
|
13
13
|
|
package/docs/MerchantBalance.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**merchant_id** | **String** | The merchant ID. |
|
|
8
|
-
**token_id** | **String** | The ID
|
|
8
|
+
**token_id** | **String** | The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format `{CHAIN}_{TOKEN}`. |
|
|
9
9
|
**acquiring_type** | [**AcquiringType**](AcquiringType.md) | |
|
|
10
|
-
**total_received_amount** | **String** | The
|
|
11
|
-
**settled_amount** | **String** | The
|
|
12
|
-
**refunded_amount** | **String** | The
|
|
13
|
-
**total_balance** | **String** | The
|
|
14
|
-
**available_balance** | **String** | The
|
|
10
|
+
**total_received_amount** | **String** | The total amount of the token that has been received by the merchant. | [optional]
|
|
11
|
+
**settled_amount** | **String** | The total amount of the token that has been settled from the merchant's balance. | [optional]
|
|
12
|
+
**refunded_amount** | **String** | The total amount of the token that has been refunded from the merchant's balance. | [optional]
|
|
13
|
+
**total_balance** | **String** | The total balance of the token for the merchant. | [optional]
|
|
14
|
+
**available_balance** | **String** | The balance available for settlement or refund, in the specified cryptocurrency. | [optional]
|
|
15
15
|
|
|
16
16
|
|
package/docs/OrgInfo.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**org_id** | **String** | The organization ID. |
|
|
8
|
+
**biz_org_id** | **Number** | An internal business ID assigned by Cobo. Used mainly by Cobo's customer support to locate the organization. | [optional]
|
|
8
9
|
**name** | **String** | The organization name. | [optional]
|
|
9
10
|
**created_timestamp** | **Number** | The organization's creation time in Unix timestamp format, measured in milliseconds. | [optional]
|
|
10
11
|
|
|
@@ -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. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension 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. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
|
|
8
8
|
**custom_payer_id** | **String** | A unique identifier assigned by the developer to track and identify individual payers in their system. |
|
|
9
9
|
**payer_id** | **String** | A unique identifier assigned by Cobo to track and identify individual payers. |
|
|
10
10
|
**chain** | **String** | The chain ID. |
|
|
@@ -46,6 +46,8 @@ Name | Type | Description | Notes
|
|
|
46
46
|
|
|
47
47
|
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
48
48
|
|
|
49
|
+
* `ComplianceDisposition` (value: `"ComplianceDisposition"`)
|
|
50
|
+
|
|
49
51
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
50
52
|
|
|
51
53
|
|