@delopay/sdk 0.221.0 → 0.222.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
@@ -11423,6 +11423,28 @@ var CheckoutSession = class {
11423
11423
  headers: this.bearerHeaders(options?.headers)
11424
11424
  });
11425
11425
  }
11426
+ /**
11427
+ * Prepare MicroPayment transfer instructions or an unsigned SEPA mandate.
11428
+ * No debit is approved. Show the returned mandate disclosure before collecting
11429
+ * acceptance, then confirm with metadata.micropayment_preparation and, for
11430
+ * new SEPA mandates, explicit customer_acceptance. Every SEPA confirm must
11431
+ * acknowledge its amount/date notice with metadata.micropayment_prenotified.
11432
+ * Echo native_pane_merchant_connector_id and the returned
11433
+ * native_pane_quote_generation on confirm. Saved reuse sends
11434
+ * recurring_details: { type: 'payment_method_id', data: payment_method_id }
11435
+ * with payment_method: 'bank_debit', payment_method_type: 'sepa' and no raw
11436
+ * bank data. Only saved off-session preparation may omit quote_generation.
11437
+ * Transfer instructions become available only after canonical confirmation.
11438
+ *
11439
+ * `POST /payment-link/{merchantId}/{paymentId}/micropayment/bank-session`
11440
+ */
11441
+ async micropaymentBankSession(params, options) {
11442
+ return this.client.request("POST", `${this.linkBase}/micropayment/bank-session`, {
11443
+ ...options,
11444
+ body: params,
11445
+ headers: this.bearerHeaders(options?.headers)
11446
+ });
11447
+ }
11426
11448
  /**
11427
11449
  * A short-lived VGS Collect session for browser-side card capture.
11428
11450
  *