@autobusal/providers 1.41.0 → 1.41.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types/settings.ts +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.41.0",
3
+ "version": "1.41.1",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
package/types/settings.ts CHANGED
@@ -406,6 +406,21 @@ export interface GatewayCredentials<T> {
406
406
  mode: 'sandbox' | 'production'
407
407
  sandbox: T
408
408
  production: T
409
+
410
+ /**
411
+ * The CARD SURCHARGE this gateway carries on this brand, as a percentage
412
+ * (5 means 5%).
413
+ *
414
+ * Claude - 2026-08-29 (ruling by Ferjolt): what the payer is charged on
415
+ * top of what they owe, for settling online - see obtapi's
416
+ * App\Libraries\Payments\Surcharge.
417
+ *
418
+ * BESIDE the credentials rather than inside `sandbox`/`production`,
419
+ * deliberately: a commercial term is not a credential, and it must not
420
+ * change when a brand flips to production. Optional because no existing
421
+ * brand has one, which reads as no surcharge.
422
+ */
423
+ surcharge?: number
409
424
  }
410
425
 
411
426
  export interface LabelPayments {