@itilite/iui-user-management 1.4.92 → 1.4.93

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.
@@ -411,7 +411,7 @@ var userAddEditUrl = {
411
411
  return env.getPaymentUrl() + "/api/v1/card/default";
412
412
  },
413
413
  disablePaymentCard: function disablePaymentCard() {
414
- return env.getPaymentUrl() + "/api/v1/card/status/";
414
+ return env.getPaymentUrl() + "/api/v1/payment/card-management/card/status";
415
415
  },
416
416
  verifyUserInfo: function verifyUserInfo(userId) {
417
417
  return "api/v1/onboarding/user-sign-up-info/" + userId + "?company_id=" + IUILocalStorageService.getCompanyId();
@@ -2728,7 +2728,7 @@ var CardsManagement = function CardsManagement(_ref) {
2728
2728
  logImpression: true
2729
2729
  });
2730
2730
  dispatch(disablePaymentCard({
2731
- method_id: selectedCard.id,
2731
+ stripe_card_ref: selectedCard.id,
2732
2732
  vendor_id: pg.vendor_id,
2733
2733
  is_enabled: (selectedCard === null || selectedCard === void 0 ? void 0 : (_selectedCard$metadat = selectedCard.metadata) === null || _selectedCard$metadat === void 0 ? void 0 : _selectedCard$metadat.is_enabled) === '0',
2734
2734
  card_payment_type: 1,