v1.0.23

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. This entry also covers v1.0.21 and v1.0.22. 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 field, instead of *payabli.NotificationLogDetail. Notificationlogs.BulkRetryNotificationLogs now returns (string, error) instead of error.

// Before
log, err := c.Notificationlogs.RetryNotificationLog(ctx, "UUID")
err = c.Notificationlogs.BulkRetryNotificationLogs(ctx, payabli.BulkRetryRequest{"UUID"})
// After
retry, err := c.Notificationlogs.RetryNotificationLog(ctx, "UUID")
message := retry.GetMessage()
bulk, err := c.Notificationlogs.BulkRetryNotificationLogs(ctx, payabli.BulkRetryRequest{"UUID"})

Notification log fields

  • ResponseStatus on NotificationLog and NotificationLogDetail is now string instead of *string, and its Get and Set methods change to match. It holds a status message such as OK. The HTTP status code is in the new ResponseStatusCode (int).
  • On NotificationLogDetail, ResponseContent is now string instead of *string, and GetResponseContent() returns string.
  • Both types add OrganizationName, PaypointName, RequestId, and ResponseStatusCode.
  • NotificationLog adds NotificationType, OrganizationLogo, OrganizationFavIcon, and PaypointLogo.
  • There’s a new NotificationLogBase struct.

Customer fields on stored payment methods

On GetMethodResponseResponseDataCustomersItem, FirstName and LastName are now Firstname and Lastname, with matching Get and Set methods. ShippingAddress1 is now *Shippingaddressadditional instead of *Shippingaddress.

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 fields

  • AddMethodResponse adds PageIdentifier, and AddMethodResponseResponseData adds AuthCode, AvsResponseText, CvvResponseText, and VendorId.
  • GetMethodResponseResponseData adds WalletType.
  • OcrResultData adds TotalAmount and Discount (*float64).