@mitumba/sdk 1.27.1 → 1.28.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.mjs CHANGED
@@ -725,10 +725,19 @@ var PayModule = class {
725
725
  }
726
726
  /**
727
727
  * Poll for the current status of a payment by its order ID.
728
+ *
729
+ * @deprecated Use {@link getCheckoutStatus} for the typed checkout lifecycle.
730
+ * This method retains its legacy route and response for compatibility.
728
731
  */
729
732
  async getStatus(orderId, options) {
730
733
  return this.client.get(`/pay/status/${orderId}`, void 0, options);
731
734
  }
735
+ /**
736
+ * Get the buyer-visible checkout lifecycle for a retail or bale order.
737
+ */
738
+ async getCheckoutStatus(orderId, options) {
739
+ return this.client.get(`/pay/checkout-status/${orderId}`, void 0, options);
740
+ }
732
741
  };
733
742
 
734
743
  // src/modules/vazi.ts