diff --git a/openapi.json b/openapi.json index 380c7b2..d046cfa 100755 --- a/openapi.json +++ b/openapi.json @@ -244,8 +244,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "012345", - "internal_id": 0 + "auth_code": "012345" } ] } @@ -278,8 +277,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "012345", - "internal_id": 0 + "auth_code": "012345" } ] } @@ -314,8 +312,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "012345", - "internal_id": 0 + "auth_code": "012345" } ] } @@ -748,8 +745,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "053201", - "internal_id": 1763892018 + "auth_code": "053201" } ], "transaction_code": "TEENSK4W2K", @@ -789,8 +785,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "053201", - "internal_id": 1763892018 + "auth_code": "053201" } ] } @@ -826,8 +821,7 @@ "status": "PENDING", "payment_type": "BOLETO", "entry_mode": "BOLETO", - "installments_count": 1, - "internal_id": 1763892018 + "installments_count": 1 } ] } @@ -1984,7 +1978,7 @@ "get": { "operationId": "GetTransactionV2.1", "summary": "Retrieve a transaction", - "description": "Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:\n- `id`\n- `internal_id`\n- `transaction_code`\n- `foreign_transaction_id`\n- `client_transaction_id`", + "description": "Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:\n- `id`\n- `transaction_code`\n- `foreign_transaction_id`\n- `client_transaction_id`", "parameters": [ { "name": "merchant_code", @@ -2005,15 +1999,6 @@ "type": "string" } }, - { - "name": "internal_id", - "in": "query", - "description": "Retrieves the transaction resource with the specified internal transaction ID (the `internal_id` parameter in the transaction resource).", - "required": false, - "schema": { - "type": "string" - } - }, { "name": "transaction_code", "in": "query", @@ -2061,8 +2046,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "053201", - "internal_id": 1763892018 + "auth_code": "053201" } } } @@ -2134,7 +2118,7 @@ "get": { "operationId": "GetTransaction", "summary": "Retrieve a transaction", - "description": "Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:\n- `id`\n- `internal_id`\n- `transaction_code`\n- `foreign_transaction_id`\n- `client_transaction_id`", + "description": "Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:\n- `id`\n- `transaction_code`\n- `foreign_transaction_id`\n- `client_transaction_id`", "parameters": [ { "name": "id", @@ -2145,15 +2129,6 @@ "type": "string" } }, - { - "name": "internal_id", - "in": "query", - "description": "Retrieves the transaction resource with the specified internal transaction ID (the `internal_id` parameter in the transaction resource).", - "required": false, - "schema": { - "type": "string" - } - }, { "name": "transaction_code", "in": "query", @@ -2185,8 +2160,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "053201", - "internal_id": 1763892018 + "auth_code": "053201" } } } @@ -6736,8 +6710,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "012345", - "internal_id": 0 + "auth_code": "012345" } ], "uniqueItems": true @@ -8033,12 +8006,6 @@ "description": "Authorization code for the transaction sent by the payment card issuer or bank. Applicable only to card payments.", "type": "string", "example": "053201" - }, - "internal_id": { - "description": "Internal unique ID of the transaction on the SumUp platform.", - "type": "integer", - "format": "int64", - "example": 1763892018 } }, "title": "Transaction Checkout Info" @@ -10670,8 +10637,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "012345", - "internal_id": 0 + "auth_code": "012345" } ] } @@ -10704,8 +10670,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "012345", - "internal_id": 0 + "auth_code": "012345" } ] } @@ -10740,8 +10705,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "012345", - "internal_id": 0 + "auth_code": "012345" } ] } @@ -10838,8 +10802,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "053201", - "internal_id": 1763892018 + "auth_code": "053201" } ], "transaction_code": "TEENSK4W2K", @@ -10879,8 +10842,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "053201", - "internal_id": 1763892018 + "auth_code": "053201" } ] } @@ -10916,8 +10878,7 @@ "status": "PENDING", "payment_type": "BOLETO", "entry_mode": "BOLETO", - "installments_count": 1, - "internal_id": 1763892018 + "installments_count": 1 } ] } @@ -11015,8 +10976,7 @@ "vat_amount": 6, "tip_amount": 3, "entry_mode": "CUSTOMER_ENTRY", - "auth_code": "053201", - "internal_id": 1763892018 + "auth_code": "053201" } } } diff --git a/src/Transactions/Transactions.php b/src/Transactions/Transactions.php index 82753d9..14b7cbe 100644 --- a/src/Transactions/Transactions.php +++ b/src/Transactions/Transactions.php @@ -84,13 +84,6 @@ class TransactionsGetParams */ public ?string $id = null; - /** - * Retrieves the transaction resource with the specified internal transaction ID (the `internal_id` parameter in the transaction resource). - * - * @var string|null - */ - public ?string $internalId = null; - /** * Retrieves the transaction resource with the specified transaction code. * @@ -128,13 +121,6 @@ class TransactionsGetDeprecatedParams */ public ?string $id = null; - /** - * Retrieves the transaction resource with the specified internal transaction ID (the `internal_id` parameter in the transaction resource). - * - * @var string|null - */ - public ?string $internalId = null; - /** * Retrieves the transaction resource with the specified transaction code. * @@ -410,9 +396,6 @@ public function get(string $merchantCode, ?TransactionsGetParams $queryParams = if (isset($queryParams->id)) { $queryParamsData['id'] = $queryParams->id; } - if (isset($queryParams->internalId)) { - $queryParamsData['internal_id'] = $queryParams->internalId; - } if (isset($queryParams->transactionCode)) { $queryParamsData['transaction_code'] = $queryParams->transactionCode; } @@ -464,9 +447,6 @@ public function getDeprecated(?TransactionsGetDeprecatedParams $queryParams = nu if (isset($queryParams->id)) { $queryParamsData['id'] = $queryParams->id; } - if (isset($queryParams->internalId)) { - $queryParamsData['internal_id'] = $queryParams->internalId; - } if (isset($queryParams->transactionCode)) { $queryParamsData['transaction_code'] = $queryParams->transactionCode; } diff --git a/src/Types/TransactionCheckoutInfo.php b/src/Types/TransactionCheckoutInfo.php index f4a4e59..faa8993 100644 --- a/src/Types/TransactionCheckoutInfo.php +++ b/src/Types/TransactionCheckoutInfo.php @@ -44,11 +44,4 @@ class TransactionCheckoutInfo */ public ?string $authCode = null; - /** - * Internal unique ID of the transaction on the SumUp platform. - * - * @var int|null - */ - public ?int $internalId = null; - } diff --git a/src/Types/TransactionFull.php b/src/Types/TransactionFull.php index 5caa936..0c65c31 100644 --- a/src/Types/TransactionFull.php +++ b/src/Types/TransactionFull.php @@ -100,13 +100,6 @@ class TransactionFull */ public ?string $authCode = null; - /** - * Internal unique ID of the transaction on the SumUp platform. - * - * @var int|null - */ - public ?int $internalId = null; - /** * Short description of the payment. The value is taken from the `description` property of the related checkout resource. *