From 64297c0da18a5c6fecc9a7031d3690c6b5b704ab Mon Sep 17 00:00:00 2001 From: appscisumup Date: Wed, 8 Apr 2026 17:40:31 +0000 Subject: [PATCH 1/2] chore: synced local 'openapi.json' with remote 'specs/openapi.json' --- openapi.json | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/openapi.json b/openapi.json index e2bd9d5..7cdc6b1 100755 --- a/openapi.json +++ b/openapi.json @@ -8080,12 +8080,13 @@ "description": "Status of the transaction event.", "type": "string", "enum": [ - "PENDING", - "SCHEDULED", "FAILED", + "PAID_OUT", + "PENDING", + "RECONCILED", "REFUNDED", - "SUCCESSFUL", - "PAID_OUT" + "SCHEDULED", + "SUCCESSFUL" ], "title": "Event Status" }, @@ -9739,6 +9740,32 @@ "description": "Reader Checkout", "type": "object", "properties": { + "aade": { + "description": "Optional object containing data for transactions from ERP integrators in Greece that comply with the AADE 1155 protocol.\nWhen such regulatory/business requirements apply, this object must be provided and contains the data needed to validate the transaction with the AADE signature provider.\n", + "type": "object", + "properties": { + "provider_id": { + "description": "The identifier of the AADE signature provider.", + "type": "string", + "example": "123" + }, + "signature": { + "description": "The base64 encoded signature of the transaction data.", + "type": "string", + "example": "QjcxRDdBNTU1MDcyRTNFRTREMkZEM0Y0NTdBMjkxMTU4MzBFNkNCQTs7MjAyNTExMTIyMTQ3MTM7Nzk2OzEwNDs5MDA7OTAwOzU0ODg5MDM5" + }, + "signature_data": { + "description": "The string containing the signed transaction data.", + "type": "string", + "example": "B71D7A555072E3EE4D2FD3F457A29115830E6CBA;;20251112214713;796;104;900;900;54889039" + } + }, + "required": [ + "provider_id", + "signature", + "signature_data" + ] + }, "affiliate": { "description": "Affiliate metadata for the transaction.\nIt is a field that allow for integrators to track the source of the transaction.\n", "type": "object", @@ -9855,6 +9882,11 @@ } }, "example": { + "aade": { + "provider_id": "123", + "signature": "QjcxRDdBNTU1MDcyRTNFRTREMkZEM0Y0NTdBMjkxMTU4MzBFNkNCQTs7MjAyNTExMTIyMTQ3MTM7Nzk2OzEwNDs5MDA7OTAwOzU0ODg5MDM5", + "signature_data": "B71D7A555072E3EE4D2FD3F457A29115830E6CBA;;20251112214713;796;104;900;900;54889039" + }, "affiliate": { "app_id": "com.example.app", "foreign_transaction_id": "123456", From 0ff435b599f8203767d2ef2a94d32e6ee27d5006 Mon Sep 17 00:00:00 2001 From: "sumup-bot[bot]" <241716704+sumup-bot[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 17:41:51 +0000 Subject: [PATCH 2/2] chore: generate code --- src/Types/CreateReaderCheckoutRequest.php | 8 ++++++++ src/Types/EventStatus.php | 7 ++++--- src/Types/ReceiptEventStatus.php | 7 ++++--- src/Types/TransactionEventStatus.php | 7 ++++--- 4 files changed, 20 insertions(+), 9 deletions(-) diff --git a/src/Types/CreateReaderCheckoutRequest.php b/src/Types/CreateReaderCheckoutRequest.php index 5564b40..e318c93 100644 --- a/src/Types/CreateReaderCheckoutRequest.php +++ b/src/Types/CreateReaderCheckoutRequest.php @@ -9,6 +9,14 @@ */ class CreateReaderCheckoutRequest { + /** + * Optional object containing data for transactions from ERP integrators in Greece that comply with the AADE 1155 protocol. + * When such regulatory/business requirements apply, this object must be provided and contains the data needed to validate the transaction with the AADE signature provider. + * + * @var array|null + */ + public ?array $aade = null; + /** * Affiliate metadata for the transaction. * It is a field that allow for integrators to track the source of the transaction. diff --git a/src/Types/EventStatus.php b/src/Types/EventStatus.php index 86d991d..85701f9 100644 --- a/src/Types/EventStatus.php +++ b/src/Types/EventStatus.php @@ -9,10 +9,11 @@ */ enum EventStatus: string { - case PENDING = 'PENDING'; - case SCHEDULED = 'SCHEDULED'; case FAILED = 'FAILED'; + case PAID_OUT = 'PAID_OUT'; + case PENDING = 'PENDING'; + case RECONCILED = 'RECONCILED'; case REFUNDED = 'REFUNDED'; + case SCHEDULED = 'SCHEDULED'; case SUCCESSFUL = 'SUCCESSFUL'; - case PAID_OUT = 'PAID_OUT'; } diff --git a/src/Types/ReceiptEventStatus.php b/src/Types/ReceiptEventStatus.php index c7db2f6..7699b62 100644 --- a/src/Types/ReceiptEventStatus.php +++ b/src/Types/ReceiptEventStatus.php @@ -9,10 +9,11 @@ */ enum ReceiptEventStatus: string { - case PENDING = 'PENDING'; - case SCHEDULED = 'SCHEDULED'; case FAILED = 'FAILED'; + case PAID_OUT = 'PAID_OUT'; + case PENDING = 'PENDING'; + case RECONCILED = 'RECONCILED'; case REFUNDED = 'REFUNDED'; + case SCHEDULED = 'SCHEDULED'; case SUCCESSFUL = 'SUCCESSFUL'; - case PAID_OUT = 'PAID_OUT'; } diff --git a/src/Types/TransactionEventStatus.php b/src/Types/TransactionEventStatus.php index 6b61efa..0c1bd94 100644 --- a/src/Types/TransactionEventStatus.php +++ b/src/Types/TransactionEventStatus.php @@ -9,10 +9,11 @@ */ enum TransactionEventStatus: string { - case PENDING = 'PENDING'; - case SCHEDULED = 'SCHEDULED'; case FAILED = 'FAILED'; + case PAID_OUT = 'PAID_OUT'; + case PENDING = 'PENDING'; + case RECONCILED = 'RECONCILED'; case REFUNDED = 'REFUNDED'; + case SCHEDULED = 'SCHEDULED'; case SUCCESSFUL = 'SUCCESSFUL'; - case PAID_OUT = 'PAID_OUT'; }