v1.0.18

This release includes breaking changes. The notification log and stored payment method types now match what the API returns, and OCR results have new amount fields. See September 22, 2026, September 29, 2026, October 1, 2026, October 2, 2026, and October 5, 2026 for more information.

Notification log retry methods return new types

notificationlogs.retryNotificationLog now returns Payabli.NotificationRetryResponse, which has a single message property, instead of Payabli.NotificationLogDetail. notificationlogs.bulkRetryNotificationLogs now returns string instead of void.

// Before
const log: Payabli.NotificationLogDetail = await client.notificationlogs.retryNotificationLog("UUID");
// After
const retry: Payabli.NotificationRetryResponse = await client.notificationlogs.retryNotificationLog("UUID");
const message: string = retry.message;
const bulk: string = await client.notificationlogs.bulkRetryNotificationLogs(["UUID"]);

Notification log types share a new base type

NotificationLog and NotificationLogDetail now both extend the new Payabli.NotificationLogBase. NotificationLogDetail no longer extends NotificationLog, so you can’t pass a detail where a NotificationLog is expected.

  • Both types add the required properties organizationName, paypointName, requestId, and responseStatusCode (number).
  • responseStatus is now string instead of string | null. It holds a status message such as OK. The HTTP status code is in responseStatusCode.
  • NotificationLog adds the required properties notificationType, organizationLogo, organizationFavIcon, and paypointLogo.
  • On NotificationLogDetail, responseContent is now a required string. responseHeaders and webHeaders are now always present and typed T[] | null instead of optional, so code that checks for undefined no longer matches. Check for null instead.

Code that creates these objects, such as tests and mocks, must set the new required properties.

Customer properties on stored payment methods

GetMethodResponseResponseDataCustomersItem no longer extends Payabli.PayorDataRequest. It now has the customer record’s properties. firstName and lastName are now firstname and lastname, and shippingAddress1 is now typed Payabli.Shippingaddressadditional.

Removed: additionalData, billingAddress1, billingAddress2, billingCity, billingCountry, billingEmail, billingPhone, billingState, billingZip, and shippingAddress2.

Added: additionalFields, address, address1, city, country, customerEvents, customerPortal, email, phone, shippingAddress, state, and zip.

New response properties

  • AddMethodResponse adds pageIdentifier, and AddMethodResponseResponseData adds authCode, avsResponseText, cvvResponseText, and vendorId.
  • GetMethodResponseResponseData adds walletType.
  • OcrResultData adds totalAmount and discount (number | null).