@delopay/sdk 0.348.0 → 0.351.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/dist/index.cjs CHANGED
@@ -6186,6 +6186,51 @@ var IdentityVerifications = class {
6186
6186
  options
6187
6187
  );
6188
6188
  }
6189
+ /**
6190
+ * Whether an account rates the buyer addresses of its shop's payments.
6191
+ * Needs permission to read connectors.
6192
+ *
6193
+ * `GET /identity-verifications/accounts/{merchant_connector_id}/connection-check`
6194
+ */
6195
+ async connectionCheckSetting(merchantConnectorId, options) {
6196
+ return this.request(
6197
+ "GET",
6198
+ `/identity-verifications/accounts/${encodeURIComponent(merchantConnectorId)}/connection-check`,
6199
+ options
6200
+ );
6201
+ }
6202
+ /**
6203
+ * Switch the connection check of the account's shop. Switched on, the
6204
+ * buyer address of every payment the shop confirms is rated by the
6205
+ * provider, once per payment and address, before authorization. A `high`
6206
+ * or `very_high` rating counts as an anonymising connection (the `proxy`
6207
+ * network class) in the buyer risk score and the buyer blocklist. A check
6208
+ * never holds or refuses a payment by itself. Switching on asks the
6209
+ * provider nothing, since every check is billed. A shop has at most one
6210
+ * connection check account. Needs permission to edit connectors.
6211
+ *
6212
+ * `PUT /identity-verifications/accounts/{merchant_connector_id}/connection-check`
6213
+ */
6214
+ async updateConnectionCheckSetting(merchantConnectorId, params, options) {
6215
+ return this.request(
6216
+ "PUT",
6217
+ `/identity-verifications/accounts/${encodeURIComponent(merchantConnectorId)}/connection-check`,
6218
+ { body: params, ...options }
6219
+ );
6220
+ }
6221
+ /**
6222
+ * A payment's connection checks, newest first; empty when none ran. Needs
6223
+ * permission to read payments.
6224
+ *
6225
+ * `GET /identity-verifications/connection-checks/{payment_id}`
6226
+ */
6227
+ async connectionChecks(paymentId, options) {
6228
+ return this.request(
6229
+ "GET",
6230
+ `/identity-verifications/connection-checks/${encodeURIComponent(paymentId)}`,
6231
+ options
6232
+ );
6233
+ }
6189
6234
  };
6190
6235
 
6191
6236
  // src/resources/webhooks.ts