Skip to content

Releases: sumup/sumup-py

v0.2.1

24 Apr 22:14
Immutable release. Only release title and notes can be modified.
b207988

Choose a tag to compare

0.2.1 (2026-04-24)

Version v0.2.1 brings support for Hosted Checkout.

Chores

v0.2.0

23 Apr 10:22
Immutable release. Only release title and notes can be modified.
dbbcc02

Choose a tag to compare

0.2.0 (2026-04-23)

0.2.0 improves the SDK ergonomics which means breaking changes. Please see the migration guide below for how to update your integration. The newer SDK style make it easier to construct calls and complex request body objects. It also improves the behavior of null vs. unspecified query parameters and body fields.

Migration Guide

Request body objects are now flattened into method keyword arguments. You no longer need to construct/pass the generated request body type explicitly.

Before:

sdk.subaccounts.update_sub_account(
  1,
  body=UpdateSubAccountBodyInput(
      nickname="New name",
  ),
)

After:

sdk.subaccounts.update_sub_account(
  1,
  nickname="New name",
)

Required body fields are now required keyword arguments:

sdk.subaccounts.create_sub_account(
  username="operator@example.com",
  password="correct horse battery staple",
)

Optional flattened request-body parameters now distinguish omitted fields from explicit JSON null.

If you omit an optional body argument, the SDK omits it from the JSON payload:

sdk.subaccounts.update_sub_account(1)
# Sends: {}

If you pass None, the SDK sends an explicit JSON null:

sdk.subaccounts.update_sub_account(1, nickname=None)
# Sends: {"nickname": null}

For query parameters, omitted parameters and None are both omitted from the query string:

sdk.transactions.list("merchant-123")
# No optional query params sent

sdk.transactions.list("merchant-123", limit=None)
# "limit" is omitted

⚠ BREAKING CHANGES

  • sdk: flatten request body arguments (#279)

Features

Bug Fixes

  • docs: update examples and README (9689b8c)

Chores

  • deps-dev: bump ruff from 0.15.10 to 0.15.11 (#277) (9acfe77)
  • deps-dev: bump ruff from 0.15.9 to 0.15.10 (#272) (9e487c8)
  • deps-dev: bump ty from 0.0.29 to 0.0.30 (#271) (a22f035)
  • deps-dev: bump ty from 0.0.30 to 0.0.32 (#275) (c965039)
  • deps: bump actions/create-github-app-token from 3.0.0 to 3.1.1 (#267) (531da93)
  • deps: bump astral-sh/setup-uv from 8.0.0 to 8.1.0 (#274) (36b2b42)
  • deps: bump github.com/pb33f/libopenapi from 0.35.1 to 0.36.1 in /codegen (#270) (f8f7ca4)
  • deps: bump googleapis/release-please-action from 4.4.0 to 4.4.1 (#268) (276f796)
  • deps: bump pydantic from 2.12.5 to 2.13.0 (#269) (bb8559f)
  • deps: bump pydantic from 2.13.0 to 2.13.3 (#276) (cf367b5)
  • synced file(s) with sumup/apis (#263) (1dd9643)
  • synced file(s) with sumup/apis (#266) (a113d6b)
  • synced file(s) with sumup/apis (#273) (f1f6405)

v0.1.3

10 Apr 16:15
Immutable release. Only release title and notes can be modified.
e45d0fb

Choose a tag to compare

0.1.3 (2026-04-08)

Features

Bug Fixes

  • codegen: generate enums for query params (#244) (94ff4cd)

Chores

  • deps-dev: bump ruff from 0.15.7 to 0.15.8 (#254) (d3e149e)
  • deps-dev: bump ruff from 0.15.8 to 0.15.9 (#258) (3e9af09)
  • deps-dev: bump ty from 0.0.25 to 0.0.27 (#253) (ca18e20)
  • deps-dev: bump ty from 0.0.27 to 0.0.29 (#257) (e6b2d94)
  • deps: bump actions/setup-go from 6.3.0 to 6.4.0 (#250) (ab3b9af)
  • deps: bump astral-sh/setup-uv from 7.6.0 to 8.0.0 (#251) (2f72109)
  • deps: bump github.com/pb33f/libopenapi from 0.34.3 to 0.34.4 in /codegen (#255) (ad0890b)
  • deps: bump github.com/pb33f/libopenapi from 0.34.4 to 0.35.1 in /codegen (#256) (4ab2cd9)
  • deps: bump reviewdog/action-actionlint from 1.71.0 to 1.72.0 (#252) (8c88085)
  • synced file(s) with sumup/apis (#259) (5f76880)
  • synced file(s) with sumup/apis (#260) (2584873)

v0.1.2

31 Mar 08:18
Immutable release. Only release title and notes can be modified.
21b2e20

Choose a tag to compare

0.1.2 (2026-03-31)

Improves typing of several APIs and error responses. Fixes entry mode schema for transactions, adds missing google_pay and apple_pay field for the process checkout request.

Chores

  • align release automation config (#230) (6478524)
  • deps-dev: bump ruff from 0.15.5 to 0.15.6 (#233) (3832e99)
  • deps-dev: bump ruff from 0.15.6 to 0.15.7 (#242) (be483e6)
  • deps-dev: bump ty from 0.0.21 to 0.0.23 (#232) (ebed296)
  • deps-dev: bump ty from 0.0.23 to 0.0.25 (#243) (2ef633f)
  • deps: bump actions/create-github-app-token from 2.2.1 to 3.0.0 (#234) (c3f8650)
  • deps: bump astral-sh/setup-uv from 7.4.0 to 7.5.0 (#231) (5a87428)
  • deps: bump astral-sh/setup-uv from 7.5.0 to 7.6.0 (#235) (3907c42)
  • deps: bump github.com/buger/jsonparser from 1.1.1 to 1.1.2 in /codegen in the go_modules group across 1 directory (#237) (278598c)
  • deps: bump github.com/pb33f/libopenapi from 0.34.2 to 0.34.3 in /codegen (#236) (afccf4b)
  • synced file(s) with sumup/apis (#229) (f7cf00a)
  • synced file(s) with sumup/apis (#238) (2fcd0cf)
  • synced file(s) with sumup/apis (#239) (22ad46a)
  • synced file(s) with sumup/apis (#240) (a686fbe)
  • synced file(s) with sumup/apis (#241) (5f49728)
  • synced file(s) with sumup/apis (#245) (fd9551e)
  • synced file(s) with sumup/apis (#246) (45933f1)
  • synced file(s) with sumup/apis (#247) (c98a544)

v0.1.1

13 Mar 13:39
Immutable release. Only release title and notes can be modified.
58cab04

Choose a tag to compare

0.1.1 (2026-03-13)

Improves error handling for majority of APIs by relying on a common Problem Details model.

Features

  • synced file(s) with sumup/apis (#220) (c2f3407)
  • update to latest openapi specs (e418e87)

Bug Fixes

  • client: send problem+json accept header (#225) (49a4938)
  • codegen: prefer problem+json for response schemas (#226) (cb16241)
  • tooling: release please changelog sections config (be1ff0f)

Chores

  • deps-dev: bump ruff from 0.15.1 to 0.15.2 (#212) (b4e2505)
  • deps-dev: bump ruff from 0.15.2 to 0.15.4 (#218) (221230b)
  • deps-dev: bump ruff from 0.15.4 to 0.15.5 (#224) (0a7b733)
  • deps-dev: bump ty from 0.0.17 to 0.0.18 (#211) (480967e)
  • deps-dev: bump ty from 0.0.18 to 0.0.20 (#219) (4e3f3eb)
  • deps-dev: bump ty from 0.0.20 to 0.0.21 (#223) (1a190f7)
  • deps: bump actions/setup-go from 6.2.0 to 6.3.0 (#216) (7ec4e7c)
  • deps: bump astral-sh/setup-uv from 7.3.0 to 7.3.1 (#215) (1ceef50)
  • deps: bump astral-sh/setup-uv from 7.3.1 to 7.4.0 (#221) (cc36957)
  • deps: bump github.com/pb33f/libopenapi from 0.33.11 to 0.34.0 in /codegen (#217) (f914218)
  • deps: bump github.com/pb33f/libopenapi from 0.34.0 to 0.34.2 in /codegen (#222) (344bd96)
  • synced file(s) with sumup/apis (#213) (cd82d7a)
  • synced file(s) with sumup/apis (#214) (e634987)
  • synced file(s) with sumup/apis (#227) (6f955f0)

v0.1.0

19 Feb 14:33
Immutable release. Only release title and notes can be modified.
5d5b3d0

Choose a tag to compare

0.1.0 (2026-02-19)

breaking changes: restructures generated types to enable re-use of common schemas between individual resources.

Features

v0.0.22

19 Jan 15:08
Immutable release. Only release title and notes can be modified.
72c05cb

Choose a tag to compare

0.0.22 (2026-01-19)

Bug Fixes

v0.0.21

06 Jan 10:21
Immutable release. Only release title and notes can be modified.
589c950

Choose a tag to compare

0.0.21 (2026-01-06)

Fixes README examples and SDK enum types for card entry mode.

Bug Fixes

  • docs: required merchant_code for checkout (#167) (20e8589)

v0.0.20

30 Dec 07:05
Immutable release. Only release title and notes can be modified.
a1d9568

Choose a tag to compare

0.0.20 (2025-12-30)

Removes development dependencies from the list of runtime dependencies and further cleans up pyproject.toml setup.

Features

v0.0.19

29 Dec 13:43
Immutable release. Only release title and notes can be modified.
c8f4fa4

Choose a tag to compare

0.0.19 (2025-12-29)

Bug Fixes

  • license-files tag conflict with the auto embedded LICENSE file. (#161) (b49b78b)