Skip to content

Releases: pfpayments/typescript-sdk

5.2.0

01 Dec 08:38

Choose a tag to compare

Feature

  • PaymentTerminalLocation now has new filed: productionMerchantId

Python

  • Fixed __init__ files for correct module recognition

Minor changes

  • Small technical adjustments in SDK internal components

5.1.0

12 Nov 13:46

Choose a tag to compare

Feature

  • Analytics queries now require ExternalId to be submitted
  • Existing operations in AnalyticsQueriesService can now be performed with either QueryToken or ExternalId

5.0.0

28 Oct 14:44

Choose a tag to compare

Introducing API v2 Support (Breaking Changes)

This is a major milestone release for the SDK! New version has been completely rewritten to support our new, more powerful REST API v2.

This update brings significant improvements in performance, security, and features. Due to the foundational changes in the API, this version is not backward-compatible with previous versions of the SDK.

BREAKING CHANGES

Before upgrading, please be aware of the following:

  • REST API v1 Is No Longer Supported: This SDK version works only with REST API v2. To continue using API v1, you must remain on the previous versions of this package.

  • Complete Method Rewrite: All client methods have been renamed and restructured to align with the new API v2 endpoints.

  • New Authentication: The client initialization and authentication process has been updated to match API v2 requirements.

  • Updated Error Handling: Error responses now follow the new API v2 error schema.

  • Model/Type Changes: All request and response models have been replaced with new ones based on the API v2 specification.

What's New

  • Full REST API v2 Support: All new endpoints are now available.

  • Improved Performance: Optimized request handling for faster and more reliable communication.

  • Enhanced Security: Implements the latest authentication and signing mechanisms required by API v2.

Authentication Guide

We strongly recommend reading the Authentication Guide before upgrading.

Documentation

For full details on the new API, please see the official API v2 documentation:
https://checkout.postfinance.ch/en-us/doc/api/web-service

4.8.0

15 Oct 07:33

Choose a tag to compare

SDK alignment with latest REST API v1 changes

4.7.0

24 Mar 18:19

Choose a tag to compare

Bug Fixes

  • Fixed issues with NPM publishing, ensuring the successful release and availability of the latest version.

4.6.0

24 Mar 14:09

Choose a tag to compare

Features

  • Upgraded Axios to version 1.8.3 to address security vulnerabilities and improve overall stability.

4.5.0

26 Jan 14:00

Choose a tag to compare

Feature

  • Validate Webhook signature

BugFix

  • Fix naming for the project

4.4.0

12 Jan 13:38

Choose a tag to compare

Feature

  • Enhanced API Testing Fix and provide additional API tests.

4.2.1

29 Nov 13:56

Choose a tag to compare

Features

  • Upgraded crypto-js to version 4.2.0
  • Upgraded @types/crypto-js to version 4.2.1

BugFix

  • Include content-type header in requests

4.2.0

13 Oct 07:34

Choose a tag to compare

Updated crypto-js version to 3.2.1