@cobo/cobo-waas2 1.34.0 → 1.36.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.
Files changed (71) hide show
  1. package/README.md +28 -4
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/PaymentApi.js +126 -91
  4. package/dist/api/TravelRuleApi.js +293 -6
  5. package/dist/index.js +133 -7
  6. package/dist/model/AddressVerification.js +172 -0
  7. package/dist/model/AddressVerificationDetail.js +204 -0
  8. package/dist/model/AddressVerificationDetailSatoshiTestDetail.js +299 -0
  9. package/dist/model/AddressVerificationDetailSignatureDetail.js +172 -0
  10. package/dist/model/AddressVerificationMethod.js +61 -0
  11. package/dist/model/AddressVerificationStatus.js +66 -0
  12. package/dist/model/ApprovalUserDetail.js +9 -0
  13. package/dist/model/{UpdateBankAccountByIdRequest.js → CancelSatoshiTestChallengeRequest.js} +31 -28
  14. package/dist/model/ChainInfo.js +13 -0
  15. package/dist/model/CreateBulkSendRequest.js +13 -0
  16. package/dist/model/CreateSatoshiTestChallengeRequest.js +176 -0
  17. package/dist/model/GetTransactionLimitation200Response.js +10 -1
  18. package/dist/model/ListAddressVerifications200Response.js +147 -0
  19. package/dist/model/ListBulkSends200Response.js +123 -0
  20. package/dist/model/ListPayerTransactions200Response.js +123 -0
  21. package/dist/model/ListTopUpPayers200ResponseDataInner.js +14 -1
  22. package/dist/model/OrderLinkBusinessInfo.js +2 -2
  23. package/dist/model/OriginalMainGroupHandling.js +61 -0
  24. package/dist/model/PaymentBulkSend.js +13 -0
  25. package/dist/model/PaymentBulkSendEvent.js +18 -0
  26. package/dist/model/SatoshiTestCancelResult.js +144 -0
  27. package/dist/model/SatoshiTestChallenge.js +239 -0
  28. package/dist/model/SatoshiTestChallengeAction.js +61 -0
  29. package/dist/model/SatoshiTestChallengeStatus.js +81 -0
  30. package/dist/model/SignatureChallenge.js +137 -0
  31. package/dist/model/SignatureDetail.js +146 -0
  32. package/dist/model/TransactionCoboCategory.js +20 -0
  33. package/dist/model/TravelRuleTransactionType.js +61 -0
  34. package/dist/model/UpdateKeyShareHolderGroupByIdRequest.js +9 -0
  35. package/dist/model/WebhookEventData.js +1 -1
  36. package/dist/model/WebhookEventType.js +5 -0
  37. package/docs/AddressVerification.md +14 -0
  38. package/docs/AddressVerificationDetail.md +16 -0
  39. package/docs/AddressVerificationDetailSatoshiTestDetail.md +19 -0
  40. package/docs/AddressVerificationDetailSignatureDetail.md +12 -0
  41. package/docs/AddressVerificationMethod.md +12 -0
  42. package/docs/AddressVerificationStatus.md +14 -0
  43. package/docs/ApprovalUserDetail.md +1 -0
  44. package/docs/CancelSatoshiTestChallengeRequest.md +9 -0
  45. package/docs/ChainInfo.md +1 -0
  46. package/docs/CreateBulkSendRequest.md +1 -0
  47. package/docs/CreateSatoshiTestChallengeRequest.md +14 -0
  48. package/docs/GetTransactionLimitation200Response.md +2 -1
  49. package/docs/ListAddressVerifications200Response.md +10 -0
  50. package/docs/ListBulkSends200Response.md +10 -0
  51. package/docs/ListPayerTransactions200Response.md +10 -0
  52. package/docs/ListTopUpPayers200ResponseDataInner.md +2 -1
  53. package/docs/OrderLinkBusinessInfo.md +1 -1
  54. package/docs/OriginalMainGroupHandling.md +12 -0
  55. package/docs/PaymentApi.md +107 -83
  56. package/docs/PaymentBulkSend.md +1 -0
  57. package/docs/PaymentBulkSendEvent.md +1 -0
  58. package/docs/SatoshiTestCancelResult.md +21 -0
  59. package/docs/SatoshiTestChallenge.md +19 -0
  60. package/docs/SatoshiTestChallengeAction.md +12 -0
  61. package/docs/SatoshiTestChallengeStatus.md +20 -0
  62. package/docs/SignatureChallenge.md +11 -0
  63. package/docs/SignatureDetail.md +12 -0
  64. package/docs/TransactionCoboCategory.md +8 -0
  65. package/docs/TravelRuleApi.md +325 -1
  66. package/docs/TravelRuleTransactionType.md +12 -0
  67. package/docs/UpdateKeyShareHolderGroupByIdRequest.md +1 -0
  68. package/docs/WebhookEventData.md +1 -1
  69. package/docs/WebhookEventType.md +2 -0
  70. package/package.json +1 -1
  71. package/docs/UpdateBankAccountByIdRequest.md +0 -9
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
11
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
12
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
+ * Cobo Wallet as a Service 2.0
19
+ *
20
+ * Contact: help@cobo.com
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
+ /**
28
+ * The SignatureDetail model module.
29
+ * @module model/SignatureDetail
30
+ */
31
+ var SignatureDetail = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>SignatureDetail</code>.
34
+ * Details of an off-chain signature that verified a self-custody address. Returned only when &#x60;verification_method&#x3D;SIGNATURE&#x60;.
35
+ * @alias module:model/SignatureDetail
36
+ * @param address {String} The self-custody wallet address that signed the challenge.
37
+ */
38
+ function SignatureDetail(address) {
39
+ _classCallCheck(this, SignatureDetail);
40
+ SignatureDetail.initialize(this, address);
41
+ }
42
+
43
+ /**
44
+ * Initializes the fields of this object.
45
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
46
+ * Only for internal use.
47
+ */
48
+ return _createClass(SignatureDetail, null, [{
49
+ key: "initialize",
50
+ value: function initialize(obj, address) {
51
+ obj['address'] = address;
52
+ }
53
+
54
+ /**
55
+ * Constructs a <code>SignatureDetail</code> from a plain JavaScript object, optionally creating a new instance.
56
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
57
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
58
+ * @param {module:model/SignatureDetail} obj Optional instance to populate.
59
+ * @return {module:model/SignatureDetail} The populated <code>SignatureDetail</code> instance.
60
+ */
61
+ }, {
62
+ key: "constructFromObject",
63
+ value: function constructFromObject(data, obj) {
64
+ if (data) {
65
+ obj = obj || new SignatureDetail();
66
+ if (data.hasOwnProperty('address')) {
67
+ obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
68
+ }
69
+ if (data.hasOwnProperty('challenge')) {
70
+ obj['challenge'] = _ApiClient["default"].convertToType(data['challenge'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('signature')) {
73
+ obj['signature'] = _ApiClient["default"].convertToType(data['signature'], 'String');
74
+ }
75
+ if (data.hasOwnProperty('verified_at')) {
76
+ obj['verified_at'] = _ApiClient["default"].convertToType(data['verified_at'], 'Number');
77
+ }
78
+ }
79
+ return obj;
80
+ }
81
+
82
+ /**
83
+ * Validates the JSON data with respect to <code>SignatureDetail</code>.
84
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
85
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>SignatureDetail</code>.
86
+ */
87
+ }, {
88
+ key: "validateJSON",
89
+ value: function validateJSON(data) {
90
+ // check to make sure all required properties are present in the JSON string
91
+ var _iterator = _createForOfIteratorHelper(SignatureDetail.RequiredProperties),
92
+ _step;
93
+ try {
94
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
95
+ var property = _step.value;
96
+ if (!data.hasOwnProperty(property)) {
97
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
98
+ }
99
+ }
100
+ // ensure the json data is a string
101
+ } catch (err) {
102
+ _iterator.e(err);
103
+ } finally {
104
+ _iterator.f();
105
+ }
106
+ if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
107
+ throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
108
+ }
109
+ // ensure the json data is a string
110
+ if (data['challenge'] && !(typeof data['challenge'] === 'string' || data['challenge'] instanceof String)) {
111
+ throw new Error("Expected the field `challenge` to be a primitive type in the JSON string but got " + data['challenge']);
112
+ }
113
+ // ensure the json data is a string
114
+ if (data['signature'] && !(typeof data['signature'] === 'string' || data['signature'] instanceof String)) {
115
+ throw new Error("Expected the field `signature` to be a primitive type in the JSON string but got " + data['signature']);
116
+ }
117
+ return true;
118
+ }
119
+ }]);
120
+ }();
121
+ SignatureDetail.RequiredProperties = ["address"];
122
+
123
+ /**
124
+ * The self-custody wallet address that signed the challenge.
125
+ * @member {String} address
126
+ */
127
+ SignatureDetail.prototype['address'] = undefined;
128
+
129
+ /**
130
+ * The challenge string that was signed.
131
+ * @member {String} challenge
132
+ */
133
+ SignatureDetail.prototype['challenge'] = undefined;
134
+
135
+ /**
136
+ * The wallet signature submitted by the client.
137
+ * @member {String} signature
138
+ */
139
+ SignatureDetail.prototype['signature'] = undefined;
140
+
141
+ /**
142
+ * Timestamp (milliseconds) when the signature was verified.
143
+ * @member {Number} verified_at
144
+ */
145
+ SignatureDetail.prototype['verified_at'] = undefined;
146
+ var _default = exports["default"] = SignatureDetail;
@@ -230,6 +230,26 @@ var TransactionCoboCategory = exports["default"] = /*#__PURE__*/function () {
230
230
  * @const
231
231
  */
232
232
  _defineProperty(this, "WalletConnect", "WalletConnect");
233
+ /**
234
+ * value: "JustLendReceiverPrecharge"
235
+ * @const
236
+ */
237
+ _defineProperty(this, "JustLendReceiverPrecharge", "JustLendReceiverPrecharge");
238
+ /**
239
+ * value: "JustLendEnergyRental"
240
+ * @const
241
+ */
242
+ _defineProperty(this, "JustLendEnergyRental", "JustLendEnergyRental");
243
+ /**
244
+ * value: "JustLendEnergyReturn"
245
+ * @const
246
+ */
247
+ _defineProperty(this, "JustLendEnergyReturn", "JustLendEnergyReturn");
248
+ /**
249
+ * value: "TrxRecharge"
250
+ * @const
251
+ */
252
+ _defineProperty(this, "TrxRecharge", "TrxRecharge");
233
253
  /**
234
254
  * value: "unknown_default_open_api"
235
255
  * @const
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ * Cobo Wallet as a Service 2.0
17
+ *
18
+ * Contact: help@cobo.com
19
+ *
20
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21
+ * https://openapi-generator.tech
22
+ * Do not edit the class manually.
23
+ *
24
+ */
25
+ /**
26
+ * Enum class TravelRuleTransactionType.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var TravelRuleTransactionType = exports["default"] = /*#__PURE__*/function () {
31
+ function TravelRuleTransactionType() {
32
+ _classCallCheck(this, TravelRuleTransactionType);
33
+ /**
34
+ * value: "DEPOSIT"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "DEPOSIT", "DEPOSIT");
38
+ /**
39
+ * value: "WITHDRAW"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "WITHDRAW", "WITHDRAW");
43
+ /**
44
+ * value: "unknown_default_open_api"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
48
+ }
49
+ return _createClass(TravelRuleTransactionType, null, [{
50
+ key: "constructFromObject",
51
+ value:
52
+ /**
53
+ * Returns a <code>TravelRuleTransactionType</code> enum value from a Javascript object name.
54
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
55
+ * @return {module:model/TravelRuleTransactionType} The enum <code>TravelRuleTransactionType</code> value.
56
+ */
57
+ function constructFromObject(object) {
58
+ return object;
59
+ }
60
+ }]);
61
+ }();
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _OriginalMainGroupHandling = _interopRequireDefault(require("./OriginalMainGroupHandling"));
8
9
  var _UpdateGroupAction = _interopRequireDefault(require("./UpdateGroupAction"));
9
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
11
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
@@ -66,6 +67,9 @@ var UpdateKeyShareHolderGroupByIdRequest = /*#__PURE__*/function () {
66
67
  if (data.hasOwnProperty('update_key_share_holder_group_action')) {
67
68
  obj['update_key_share_holder_group_action'] = _UpdateGroupAction["default"].constructFromObject(data['update_key_share_holder_group_action']);
68
69
  }
70
+ if (data.hasOwnProperty('original_main_group_handling')) {
71
+ obj['original_main_group_handling'] = _OriginalMainGroupHandling["default"].constructFromObject(data['original_main_group_handling']);
72
+ }
69
73
  }
70
74
  return obj;
71
75
  }
@@ -103,4 +107,9 @@ UpdateKeyShareHolderGroupByIdRequest.RequiredProperties = ["update_key_share_hol
103
107
  * @member {module:model/UpdateGroupAction} update_key_share_holder_group_action
104
108
  */
105
109
  UpdateKeyShareHolderGroupByIdRequest.prototype['update_key_share_holder_group_action'] = undefined;
110
+
111
+ /**
112
+ * @member {module:model/OriginalMainGroupHandling} original_main_group_handling
113
+ */
114
+ UpdateKeyShareHolderGroupByIdRequest.prototype['original_main_group_handling'] = undefined;
106
115
  var _default = exports["default"] = UpdateKeyShareHolderGroupByIdRequest;
@@ -733,7 +733,7 @@ WebhookEventData.prototype['transaction_id'] = undefined;
733
733
  WebhookEventData.prototype['cobo_id'] = undefined;
734
734
 
735
735
  /**
736
- * The request ID provided by you when creating the payout.
736
+ * The request ID.
737
737
  * @member {String} request_id
738
738
  */
739
739
  WebhookEventData.prototype['request_id'] = undefined;
@@ -115,6 +115,11 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
115
115
  * @const
116
116
  */
117
117
  _defineProperty(this, "fee_station.transaction.succeeded", "fee_station.transaction.succeeded");
118
+ /**
119
+ * value: "fee_station.fiat_transaction.created"
120
+ * @const
121
+ */
122
+ _defineProperty(this, "fee_station.fiat_transaction.created", "fee_station.fiat_transaction.created");
118
123
  /**
119
124
  * value: "wallet.token.enabled"
120
125
  * @const
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.AddressVerification
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **verification_id** | **String** | The unique identifier of this verification record. |
8
+ **address** | **String** | The counterparty (self-custody) wallet address being verified. |
9
+ **chain_id** | **String** | The chain on which this address is verified. |
10
+ **status** | [**AddressVerificationStatus**](AddressVerificationStatus.md) | |
11
+ **verification_method** | [**AddressVerificationMethod**](AddressVerificationMethod.md) | |
12
+ **verified_at** | **Number** | Timestamp (milliseconds) when verification completed. &#x60;null&#x60; while &#x60;status&#x3D;PENDING&#x60; or &#x60;FAILED&#x60;. | [optional]
13
+
14
+
@@ -0,0 +1,16 @@
1
+ # CoboWaas2.AddressVerificationDetail
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **verification_id** | **String** | The unique identifier of this verification record. |
8
+ **address** | **String** | The counterparty (self-custody) wallet address being verified. |
9
+ **chain_id** | **String** | The chain on which this address is verified. |
10
+ **status** | [**AddressVerificationStatus**](AddressVerificationStatus.md) | |
11
+ **verification_method** | [**AddressVerificationMethod**](AddressVerificationMethod.md) | |
12
+ **verified_at** | **Number** | Timestamp (milliseconds) when verification completed. &#x60;null&#x60; while &#x60;status&#x3D;PENDING&#x60; or &#x60;FAILED&#x60;. | [optional]
13
+ **satoshi_test_detail** | [**AddressVerificationDetailSatoshiTestDetail**](AddressVerificationDetailSatoshiTestDetail.md) | | [optional]
14
+ **signature_detail** | [**AddressVerificationDetailSignatureDetail**](AddressVerificationDetailSignatureDetail.md) | | [optional]
15
+
16
+
@@ -0,0 +1,19 @@
1
+ # CoboWaas2.AddressVerificationDetailSatoshiTestDetail
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **challenge_id** | **String** | The unique identifier of the Satoshi Test challenge. |
8
+ **from_address** | **String** | The counterparty (self-custody) wallet address that must transfer the micro-deposit. |
9
+ **to_address** | **String** | The Cobo-generated verification address that will receive the micro-deposit. |
10
+ **amount** | **String** | The exact amount (in the token&#39;s smallest unit) that must be transferred. The amount is unique per challenge and is used together with &#x60;to_address&#x60; to identify a matching on-chain transfer. |
11
+ **token_id** | **String** | The ID of the token used for the micro-deposit (typically the chain&#39;s native asset). |
12
+ **chain_id** | **String** | The chain on which the micro-deposit is expected. |
13
+ **status** | [**SatoshiTestChallengeStatus**](SatoshiTestChallengeStatus.md) | |
14
+ **remaining_seconds** | **Number** | Remaining time (in seconds) before the challenge expires. &#x60;0&#x60; when the challenge is not yet submitted or has already completed/expired. |
15
+ **matched_txid** | **String** | The on-chain transaction hash of the matching transfer, once matched. | [optional]
16
+ **started_at** | **Number** | Timestamp (milliseconds) when the challenge was submitted and the countdown started. | [optional]
17
+ **expires_at** | **Number** | Timestamp (milliseconds) when the challenge will expire if not matched. | [optional]
18
+
19
+
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.AddressVerificationDetailSignatureDetail
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The self-custody wallet address that signed the challenge. |
8
+ **challenge** | **String** | The challenge string that was signed. | [optional]
9
+ **signature** | **String** | The wallet signature submitted by the client. | [optional]
10
+ **verified_at** | **Number** | Timestamp (milliseconds) when the signature was verified. | [optional]
11
+
12
+
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.AddressVerificationMethod
2
+
3
+ ## Enum
4
+
5
+
6
+ * `SIGNATURE` (value: `"SIGNATURE"`)
7
+
8
+ * `SATOSHI_TEST` (value: `"SATOSHI_TEST"`)
9
+
10
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
11
+
12
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.AddressVerificationStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `PENDING` (value: `"PENDING"`)
7
+
8
+ * `VERIFIED` (value: `"VERIFIED"`)
9
+
10
+ * `FAILED` (value: `"FAILED"`)
11
+
12
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
13
+
14
+
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **result** | [**ApprovalResult**](ApprovalResult.md) | | [optional]
13
13
  **approval_result_code** | **Number** | Integer value representing the result of the approval. | [optional]
14
14
  **created_time** | **Number** | Timestamp when the approval was created. | [optional]
15
+ **expired_time** | **Number** | The timestamp when the approval was expired. | [optional]
15
16
  **template_version** | **String** | Version of the template used for the transaction approval. | [optional]
16
17
  **header_title** | **String** | Display title used in the transaction approval. | [optional]
17
18
  **is_for_sign** | **Boolean** | Indicates whether this approval requires signing: - &#x60;true&#x60;: The user must sign the transaction. - &#x60;false&#x60;: The user only needs to approve or reject without signing. | [optional]
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.CancelSatoshiTestChallengeRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **challenge_id** | **String** | The challenge ID to cancel. |
8
+
9
+
package/docs/ChainInfo.md CHANGED
@@ -13,5 +13,6 @@ Name | Type | Description | Notes
13
13
  **require_memo** | **Boolean** | Whether the chain requires a memo. | [optional]
14
14
  **confirming_threshold** | **Number** | The number of confirmations required for an on-chain transaction, such as 64 for Ethereum. | [optional]
15
15
  **coinbase_maturity** | **Number** | The number of confirmations required before a coinbase transaction is considered mature and can be spent, for example, 100 confirmations for BTC. | [optional]
16
+ **caip2_chain_id** | **String** | A standardized, unique identifier for blockchain networks (like eip155:1 for Ethereum) that combines a namespace and a reference to ensure cross-chain compatibility. | [optional]
16
17
 
17
18
 
@@ -4,6 +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 bulk send request. The request ID is provided by you and must be unique within your system. | [optional]
7
8
  **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&#39;s ID (e.g., \&quot;M1001\&quot;). - If the source account is the developer account, use the string &#x60;\&quot;developer\&quot;&#x60;. |
8
9
  **execution_mode** | [**PaymentBulkSendExecutionMode**](PaymentBulkSendExecutionMode.md) | |
9
10
  **description** | **String** | The description for the entire bulk send batch. | [optional]
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.CreateSatoshiTestChallengeRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **action** | [**SatoshiTestChallengeAction**](SatoshiTestChallengeAction.md) | |
8
+ **chain_id** | **String** | The chain ID of the counterparty address. See the operation description for supported chains. |
9
+ **from_address** | **String** | The counterparty (self-custody) wallet address that will transfer the micro-deposit. |
10
+ **transaction_id** | **String** | The Cobo transaction ID that this Satoshi Test is verifying for. |
11
+ **transaction_type** | [**TravelRuleTransactionType**](TravelRuleTransactionType.md) | |
12
+ **challenge_id** | **String** | The &#x60;challenge_id&#x60; returned by a previous &#x60;PREPARE&#x60; call. - When &#x60;action&#x3D;SUBMIT&#x60;: if provided, activates that specific challenge by id (recommended when you cached the id client-side after &#x60;PREPARE&#x60;). If omitted, the server activates the latest matching challenge identified by &#x60;(chain_id, from_address)&#x60;. - When &#x60;action&#x3D;PREPARE&#x60;: **must be omitted**. A new challenge is always generated; passing a &#x60;challenge_id&#x60; here will cause the request to be rejected. | [optional]
13
+
14
+
@@ -6,7 +6,8 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **vasp_list** | [**[Vasp]**](Vasp.md) | A list of virtual asset service providers (VASP) you can select as the transaction source or destination. | [optional]
8
8
  **is_threshold_reached** | **Boolean** | Indicates whether the transaction amount exceeds a predefined threshold. If exceeded, additional information is required when filling Travel Rule details. - &#x60;true&#x60;: Threshold exceeded. - &#x60;false&#x60;: Threshold not exceeded. | [optional]
9
- **self_custody_wallet_challenge** | **String** | A human-readable, time-sensitive message to be signed by the wallet owner. The message contains key information including the wallet address, a unique nonce, and a timestamp. Signing this message confirms ownership of the wallet and allows the operation to proceed. | [optional]
9
+ **self_custody_wallet_challenge** | **String** | **Deprecated.** Use [Get self-custody signature challenge](#operation/get_signature_challenge) instead. This field will be removed in a future release. A human-readable, time-sensitive message to be signed by the wallet owner. The message contains key information including the wallet address, a unique nonce, and a timestamp. Signing this message confirms ownership of the wallet and allows the operation to proceed. | [optional]
10
10
  **connect_wallet_list** | **[String]** | A list of self-custody wallet providers you can select as the transaction source or destination. | [optional]
11
+ **satoshi_test_supported** | **Boolean** | Indicates whether Satoshi Test (on-chain micro-deposit verification) is supported for the transaction&#39;s chain. - &#x60;true&#x60;: You can initiate a Satoshi Test challenge to verify the counterparty address. - &#x60;false&#x60;: The chain does not support Satoshi Test; use signature verification instead. | [optional]
11
12
 
12
13
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListAddressVerifications200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[AddressVerification]**](AddressVerification.md) | The page of address verification records. |
8
+ **pagination** | [**Pagination**](Pagination.md) | |
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListBulkSends200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[PaymentBulkSend]**](PaymentBulkSend.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListPayerTransactions200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[PaymentTransaction]**](PaymentTransaction.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -6,9 +6,10 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **merchant_id** | **String** | The merchant ID. |
8
8
  **payer_id** | **String** | A unique identifier assigned by Cobo to track and identify individual payers. |
9
+ **custom_payer_id** | **String** | Unique user identifier on the merchant side, used to assign a dedicated deposit address. | [optional]
9
10
  **developer_fee_rate** | **String** | The developer fee rate applied to top-up transactions made by this payer. Expressed as a decimal string where \&quot;0.1\&quot; represents 10%. |
10
11
  **created_timestamp** | **Number** | The creation time of the payer, represented as a UNIX timestamp in seconds. | [optional]
11
12
  **updated_timestamp** | **Number** | The last update time of the payer, represented as a UNIX timestamp in seconds. | [optional]
12
- **transactions** | [**[PaymentTransaction]**](PaymentTransaction.md) | An array of top-up transactions associated with this payer. | [optional]
13
+ **transactions** | [**[PaymentTransaction]**](PaymentTransaction.md) | An array of transactions associated with this payer. &lt;Note&gt;This field returns up to the latest 200 transactions only and will be removed in a future version. Use the dedicated payer transactions API to paginate through transactions.&lt;/Note&gt; | [optional]
13
14
 
14
15
 
@@ -7,7 +7,7 @@ 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. The code should have a maximum length of 128 characters. | [optional]
9
9
  **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. |
10
- **pricing_currency** | **String** | The pricing currency that denominates &#x60;pricing_amount&#x60; and &#x60;fee_amount&#x60;. Currently, only &#x60;USD&#x60;/&#x60;USDT&#x60;/&#x60;USDC&#x60; are supported. This field is required. |
10
+ **pricing_currency** | **String** | The pricing currency that denominates &#x60;pricing_amount&#x60; and &#x60;fee_amount&#x60;. If left empty, both values will be denominated in &#x60;payable_currency&#x60;. Currently, For a complete list of supported currencies, see [Supported chains and tokens](https://www.cobo.com//payments/en/guides/supported-chains-and-tokens#pricing-currency). |
11
11
  **pricing_amount** | **String** | The base amount of the order, excluding the developer fee (specified in &#x60;fee_amount&#x60;). Values must be greater than &#x60;0&#x60; and contain two decimal places. |
12
12
  **fee_amount** | **String** | The developer fee for the order. It is added to the base amount (&#x60;pricing_amount&#x60;) to determine the final charge. For example, if &#x60;pricing_amount&#x60; is \&quot;100.00\&quot; and &#x60;fee_amount&#x60; is \&quot;2.00\&quot;, the payer will be charged \&quot;102.00\&quot; in total, with \&quot;100.00\&quot; being settled to the merchant account and \&quot;2.00\&quot; settled to the developer account. Values must be greater than 0 and contain two decimal places. |
13
13
  **payable_currencies** | **[String]** | The IDs of the cryptocurrencies used for payment. Supported values: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDC&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.OriginalMainGroupHandling
2
+
3
+ ## Enum
4
+
5
+
6
+ * `Invalidate` (value: `"Invalidate"`)
7
+
8
+ * `ConvertToSigningGroup` (value: `"ConvertToSigningGroup"`)
9
+
10
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
11
+
12
+