Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4d5afa6
Merge pull request #31 from PAYONE-GmbH/feature/api-version-1.40.0
ehrdi Dec 11, 2025
25815cc
feat: add changes for api version 1.47.0
ehrdi Feb 20, 2026
0491771
feat: update FundDistribution and PausePaymentRequest models
ehrdi Feb 20, 2026
78d8eff
refactor: simplify IntegrationType enum definition in PaymentProduct3…
ehrdi Feb 20, 2026
e6f8404
refactor: remove Network enum and update references to MobilePaymentN…
ehrdi Feb 20, 2026
aff3331
refactor: standardize enum values to uppercase and update references
ehrdi Feb 20, 2026
f22f067
feat: update update_commerce_case_request to use PatchCommerceCaseReq…
ehrdi Feb 20, 2026
8e52ffe
feat: update API version to 1.48.0
ehrdi Feb 20, 2026
b9b102f
Merge pull request #35 from PAYONE-GmbH/feature/api-version-1.48.0
ehrdi Feb 26, 2026
cc2da6b
chore: update version to 1.7.0
ehrdi Feb 26, 2026
1136d09
chore: update version to 1.7.0
ehrdi Feb 26, 2026
6676083
Merge branch 'release/1.7.0' into chore/release-1.7.0
ehrdi Feb 26, 2026
66c55b6
Merge pull request #36 from PAYONE-GmbH/chore/release-1.7.0
Blackfaded Feb 26, 2026
73194ca
chore: fix version numbers in package-lock.json
ehrdi Feb 26, 2026
91e221c
Merge pull request #38 from PAYONE-GmbH/chore/release-1.7.0
Blackfaded Feb 26, 2026
6f2e7d9
refactor: regenerate lockfile
Blackfaded Feb 26, 2026
dd9f786
chore: update lockfile
Blackfaded Feb 26, 2026
b34db1b
refactor: update version handling in scripts to use jq for package.js…
Blackfaded Feb 26, 2026
a345abd
Merge pull request #39 from PAYONE-GmbH/refactor/package-lock
ehrdi Feb 26, 2026
9943856
chore: merge main
Blackfaded Feb 26, 2026
07d7d20
Merge branch 'release/1.7.0' into refactor/merge-main-1.7.0
Blackfaded Feb 26, 2026
a903b7e
Merge branch 'main' into refactor/merge-main-1.7.0
Blackfaded Feb 26, 2026
48ef1ff
Merge pull request #41 from PAYONE-GmbH/refactor/merge-main-1.7.0
ehrdi Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# [1.7.0](https://github.com/PAYONE-GmbH/PCP-ServerSDK-java/compare/v1.5.0...v1.7.0) (2026-02-26)

### Features

* feat: add changes for api version 1.47.0 ([25815cc99897202ec5b90dce7f767b24e89ce2de](https://github.com/PAYONE-GmbH/PCP-ServerSDK-java/commit/25815cc99897202ec5b90dce7f767b24e89ce2de))
* feat: update API version to 1.48.0 ([8e52ffe9ed4ee7df10297160f366983c040d5291](https://github.com/PAYONE-GmbH/PCP-ServerSDK-java/commit/8e52ffe9ed4ee7df10297160f366983c040d5291))
* feat: update FundDistribution and PausePaymentRequest models ([04917710da8a91c4ad9a10c067b7e7c33ffbd969](https://github.com/PAYONE-GmbH/PCP-ServerSDK-java/commit/04917710da8a91c4ad9a10c067b7e7c33ffbd969))
* feat: update update_commerce_case_request to use PatchCommerceCaseRequest model ([f22f0677e0a919aefe95912ddb4332c57de73a07](https://github.com/PAYONE-GmbH/PCP-ServerSDK-java/commit/f22f0677e0a919aefe95912ddb4332c57de73a07))
# [1.5.0](https://github.com/PAYONE-GmbH/PCP-ServerSDK-java/compare/v1.4.0...v1.5.0) (2025-12-11)

### Features
Expand Down
193 changes: 172 additions & 21 deletions api-definition.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: "3.0.3"

info:
version: 1.40.0
version: 1.48.0
title: "Commerce Platform API"
description: |
RESTful API for the creation of Commerce Cases with Checkouts and the execution of Payments.
Expand Down Expand Up @@ -2214,6 +2214,8 @@ components:
$ref: '#/components/schemas/PaymentReferences'
delivery:
$ref: '#/components/schemas/DeliveryInformation'
fundSplit:
$ref: '#/components/schemas/FundSplit'
CapturePaymentResponse:
type: object
additionalProperties: false
Expand All @@ -2224,6 +2226,8 @@ components:
$ref: '#/components/schemas/StatusValue'
statusOutput:
$ref: '#/components/schemas/PaymentStatusOutput'
fundSplit:
$ref: '#/components/schemas/FundSplit'
id:
type: string
description: Unique payment transaction identifier of the payment gateway.
Expand Down Expand Up @@ -2452,6 +2456,8 @@ components:
$ref: '#/components/schemas/CartItemInvoiceData'
orderLineDetails:
$ref: '#/components/schemas/OrderLineDetailsInput'
supplierReferences:
$ref: '#/components/schemas/CartItemSupplierReferences'
CartItemInvoiceData:
type: object
description: Object containing the line items of the invoice or shopping cart.
Expand All @@ -2473,6 +2479,8 @@ components:
$ref: '#/components/schemas/CartItemInvoiceData'
orderLineDetails:
$ref: '#/components/schemas/OrderLineDetailsPatch'
supplierReferences:
$ref: '#/components/schemas/CartItemSupplierReferences'
CartItemResult:
type: object
description: This object contains information of all items in the cart.
Expand All @@ -2483,6 +2491,8 @@ components:
$ref: '#/components/schemas/CartItemInvoiceData'
orderLineDetails:
$ref: '#/components/schemas/OrderLineDetailsResult'
supplierReferences:
$ref: '#/components/schemas/CartItemSupplierReferences'
CartItemStatus:
type: string
enum:
Expand All @@ -2492,6 +2502,23 @@ components:
- RETURNED
- WAITING_FOR_PAYMENT
description: Indicates in which status the line item is
CartItemSupplierReferences:
type: object
description: |
This object contains references of the seller of the cart item.
additionalProperties: false
properties:
supplierId:
type: string
description: Unique identifier for the supplier.
maxLength: 64
example: "5678"
orderReference:
type: string
description: |-
Reference of the order for the supplier.
maxLength: 64
example: "Order-5678"
CheckoutResponse:
type: object
xml:
Expand Down Expand Up @@ -2842,6 +2869,8 @@ components:
$ref: '#/components/schemas/MerchantAction'
payment:
$ref: '#/components/schemas/PaymentResponse'
fundSplit:
$ref: '#/components/schemas/FundSplit'
paymentExecutionId:
description: reference to the paymentExecution.
type: string
Expand Down Expand Up @@ -2944,7 +2973,7 @@ components:
properties:
acceptHeader:
type: string
description: |
description: |
The accept-header of the customer client from the HTTP Headers.
This field can be mandatory depending on the selected payment method and routing option.
maxLength: 2048
Expand Down Expand Up @@ -3016,6 +3045,8 @@ components:
type: array
items:
$ref: '#/components/schemas/DeliverItem'
fundSplit:
$ref: '#/components/schemas/FundSplit'
DeliverResponse:
type: object
properties:
Expand Down Expand Up @@ -3134,6 +3165,75 @@ components:
$ref: '#/components/schemas/PaymentProduct3391SpecificOutput'
paymentInstructions:
$ref: '#/components/schemas/PaymentInstructions'
FundDistribution:
type: object
description: Instructions for distributing funds to multiple sellers or partners in a marketplace context.
additionalProperties: false
properties:
id:
type: string
format: UUID
readOnly: true
accountId:
type: string
description: >-
Unique identifier of the beneficiary (seller/partner/sub-account) to receive funds (e.g., payout account ID).
description:
type: string
description: Human-readable description for reconciliation. Appears on reports.
example: "Commission for order #ORD-2025-0001"
maxLength: 128
amount:
type: integer
description: Amount in cents and always having 2 decimals, in the currency of the original transaction
format: int64
maximum: 999999999999
minimum: 1
example: 1000
type:
type: string
format: string
description: Classification or purpose of the fund distribution to the receiving account within a given order.
enum:
- SELLER_REVENUE
- COMMISSION_FEE
- SHIPPING_COSTS
- TAX
- PLATFORM_FEE
- OTHER
merchantReference:
type: string
description: Unique reference of the part of the fund/payment to be distributed that is also returned for reporting and reconciliation purposes.
maxLength: 40
example: customer-order-1234
merchantParameters:
type: string
maxLength: 1000
description: >-
It allows you to store additional parameters for the transaction in JSON format.
This field must not contain any personal data.
example: "{'marketplaceOrderId':'ORD-2025-0001','sellerId':'seller-789'}"
required:
- accountId
- amount
- type
FundSplit:
type: object
description: Instructions for distributing funds to multiple sellers or partners in a marketplace context.
additionalProperties: false
properties:
id:
type: string
format: UUID
readOnly: true
paymentEventId:
type: string
format: UUID
readOnly: true
fundDistributions:
type: array
items:
$ref: '#/components/schemas/FundDistribution'
InstallmentOption:
type: object
properties:
Expand Down Expand Up @@ -3274,6 +3374,8 @@ components:
$ref: '#/components/schemas/MobilePaymentThreeDSecure'
paymentProduct302SpecificInput:
$ref: '#/components/schemas/PaymentProduct302SpecificInput'
paymentProduct5002SpecificInput:
$ref: '#/components/schemas/PaymentProduct5002SpecificInput'
MobilePaymentMethodSpecificOutput:
type: object
description: Object containing the mobile payment method details.
Expand All @@ -3297,6 +3399,24 @@ components:
network:
type: string
description: The card network that was used for a mobile payment method operation
MobilePaymentNetwork:
type: string
description: |-
Network/Scheme of the card used for the payment.
* MASTERCARD
* VISA
* AMEX
* GIROCARD
* DISCOVER (not supported yet)
* JCB (not supported yet)
enum:
- MASTERCARD
- VISA
- AMEX
- GIROCARD
- DISCOVER
- JCB
example: MASTERCARD
MobilePaymentThreeDSecure:
type: object
description: |-
Expand Down Expand Up @@ -3383,7 +3503,7 @@ components:
example: 0
taxAmountPerUnit:
type: boolean
description: |-
description: |-
This field indicates if the `taxAmount` is to be interpreted as the tax amount per unit rather than for the entire line item.
This field is included in the response only when `taxAmount` is set; otherwise, it will return as `null`.
format: int64
Expand Down Expand Up @@ -3481,6 +3601,8 @@ components:
$ref: '#/components/schemas/OrderItem'
paymentMethodSpecificInput:
$ref: '#/components/schemas/PaymentMethodSpecificInput'
fundSplit:
$ref: '#/components/schemas/FundSplit'
OrderResponse:
type: object
description: Object that contains details on the created payment in case one has been created.
Expand All @@ -3507,6 +3629,7 @@ components:
enum:
- FULL
- PARTIAL
readOnly: true
PatchCheckoutRequest:
type: object
description: |
Expand Down Expand Up @@ -3604,6 +3727,22 @@ components:
example: Customer complained
paymentInstructions:
$ref: '#/components/schemas/PaymentInstructions'
paymentEventId:
type: string
format: UUID
readOnly: true
creationDateTime:
type: string
format: date-time
readOnly: true
description: |-
The date and time when the payment event was created.

Format will be in one of the following formats:
* YYYY-MM-DD'T'HH:mm:ss'Z'
* YYYY-MM-DD'T'HH:mm:ss+XX:XX
* YYYY-MM-DD'T'HH:mm:ss-XX:XX
example: 2022-01-01T00:00:00Z
PaymentExecution:
type: object
description: |-
Expand Down Expand Up @@ -3664,6 +3803,10 @@ components:
type: array
items:
$ref: '#/components/schemas/PaymentEvent'
fundSplits:
type: array
items:
$ref: '#/components/schemas/FundSplit'
PaymentExecutionRequest:
type: object
description: |
Expand Down Expand Up @@ -3693,6 +3836,8 @@ components:
$ref: '#/components/schemas/ShoppingCartInput'
paymentReferences:
$ref: '#/components/schemas/References'
fundSplit:
$ref: '#/components/schemas/FundSplit'
required:
- paymentReferences
PaymentInformationRefundRequest:
Expand Down Expand Up @@ -3920,23 +4065,7 @@ components:
- MASS_ENABLEMENT
example: MASS_ENABLEMENT
network:
type: string
description: |-
Network/Scheme of the card used for the payment.
* MASTERCARD
* VISA
* AMEX
* GIROCARD
* DISCOVER (not supported yet)
* JCB (not supported yet)
enum:
- MASTERCARD
- VISA
- AMEX
- GIROCARD
- DISCOVER
- JCB
example: GIROCARD
$ref: '#/components/schemas/MobilePaymentNetwork'
token:
$ref: '#/components/schemas/ApplePaymentDataTokenInformation'
domainName:
Expand Down Expand Up @@ -3977,6 +4106,22 @@ components:
$ref: '#/components/schemas/BankAccountInformation'
required:
- bankAccountInformation
PaymentProduct5002SpecificInput:
type: object
description: Object containing additional Information needed for Click To Pay processing.
properties:
network:
$ref: '#/components/schemas/MobilePaymentNetwork'
paymentCheckoutData:
type: string
description: |-
JWS Token Value (checkoutResponseSignature) as received in the Checkout Response on Client Side, Base64URL encoded.
example: rhHAQUrR118u[...]cwDw==
srcDpaId:
type: string
description: |-
DPA Identifier provided by PAYONE during client side initialization for the corresponding card type selected by the end consumer in the Click to Pay flow.
maxLength: 64
PaymentProduct771SpecificOutput:
type: object
description: Output that is SEPA Direct Debit specific (i.e. the used mandate).
Expand Down Expand Up @@ -4487,6 +4632,8 @@ components:
$ref: '#/components/schemas/StatusValue'
statusOutput:
$ref: '#/components/schemas/PaymentStatusOutput'
fundSplit:
$ref: '#/components/schemas/FundSplit'
id:
type: string
description: Unique payment transaction identifier of the payment gateway.
Expand All @@ -4505,6 +4652,8 @@ components:
$ref: '#/components/schemas/PaymentReferences'
return:
$ref: '#/components/schemas/ReturnInformation'
fundSplit:
$ref: '#/components/schemas/FundSplit'
ReturnInformation:
type: object
description: |-
Expand Down Expand Up @@ -4566,6 +4715,8 @@ components:
type: array
items:
$ref: '#/components/schemas/ReturnItem'
fundSplit:
$ref: '#/components/schemas/FundSplit'
ReturnResponse:
type: object
properties:
Expand Down Expand Up @@ -4830,4 +4981,4 @@ components:
enum:
- first
- subsequent
x-enum-to-string: false
x-enum-to-string: false
2 changes: 1 addition & 1 deletion example/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ async def run_create_payment_information():

create_request = PaymentInformationRequest(
amountOfMoney=AmountOfMoney(amount=1000, currencyCode="EUR"),
type=PaymentType.Sale,
type=PaymentType.SALE,
paymentChannel=PaymentChannel.ECOMMERCE,
paymentProductId=771,
merchantReference="p-" + UNIQUE_MERCHANT_REFERENCE,
Expand Down
Loading
Loading