@delopay/sdk 0.40.0 → 0.41.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
@@ -347,6 +347,22 @@ var Billing = class {
347
347
  query: params
348
348
  });
349
349
  }
350
+ /**
351
+ * List payment attempts that were blocked by the billing suspension gate
352
+ * (account suspended, setup incomplete, or shop allocation suspended).
353
+ *
354
+ * These attempts never created a payment, so they do not appear in the
355
+ * payments list — this is the only way to retrieve them.
356
+ *
357
+ * @param merchantId - The merchant account ID.
358
+ * @param params - Optional filters (profile, reason, date range) and pagination.
359
+ * @returns The blocked-attempt entries with a total count.
360
+ */
361
+ async listBlockedAttempts(merchantId, params) {
362
+ return this.request("GET", `/billing/${encodeURIComponent(merchantId)}/blocked-attempts`, {
363
+ query: params
364
+ });
365
+ }
350
366
  /**
351
367
  * Update auto-recharge configuration (threshold, top-up amount, enabled flag).
352
368
  *