Versions and Change Log

Install: npm install @moneyhash/js-sdk - GitHub Repository


v3.0.0 - May 7, 2026

Type: New feature

Added OTP form state support. When intentDetails.state === "OTP_FORM", use the new submitOtp method to handle OTP-based payment flows.

moneyHash.submitOtp({
  intentId,
  intentOtpData: intentDetails.stateDetails.intentOtpData,
  otp: "1234",
});

v2.13.0 - April 23, 2026

Type: New feature

Added optional merchantIdentifier parameter to validateApplePayMerchantSession.


v2.12.0 - April 21, 2026

Type: New feature

Added Loyalty earn support through the SDK. The following methods now accept a loyaltyData parameter: proceedWith, pay, submitForm, submitCvv.

New methods added:

  • getLoyaltyProviders() - fetch available loyalty providers
  • checkLoyaltyEligibility() - check if a customer is eligible for loyalty rewards

v2.11.0 - April 6, 2026

Type: New feature

Installment plans now include provider fields in the response.


v2.10.0 - March 11, 2026

Type: New feature

  • Added Click to Pay integration support
  • Added control over card element's document body background color

v2.9.1 - February 11, 2026

Type: Bug fix

Fixed SDK redirection after renderForm.


v2.9.0 - November 28, 2025

Type: New feature

Added Apple Pay card tokenization via tokenizeReceipt.

const cardTokenId = await moneyHash.tokenizeReceipt({
  receipt,
  methodId: nativePayData.method_id,
  cardTokenIntentId,
});

v2.8.0 - November 19, 2025

Type: New feature

Added support for custom regexp validation on card holder name field.


v2.7.0 - October 21, 2025

Type: New feature

Added Lean saved bank accounts support. New methods: getMethods now returns savedBankAccounts, proceedWith supports


Did this page help you?