@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/{chunk-JAO3KHIM.js → chunk-DMNCVY25.js} +17 -1
- package/dist/{chunk-JAO3KHIM.js.map → chunk-DMNCVY25.js.map} +1 -1
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +16 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/package.json +1 -1
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
|
*
|