Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
76 changes: 18 additions & 58 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -278,8 +277,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -314,8 +312,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -789,8 +785,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
]
}
Expand Down Expand Up @@ -826,8 +821,7 @@
"status": "PENDING",
"payment_type": "BOLETO",
"entry_mode": "BOLETO",
"installments_count": 1,
"internal_id": 1763892018
"installments_count": 1
}
]
}
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -2061,8 +2046,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
}
}
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -2185,8 +2160,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
}
}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -10670,8 +10637,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -10704,8 +10670,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -10740,8 +10705,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -10879,8 +10842,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
]
}
Expand Down Expand Up @@ -10916,8 +10878,7 @@
"status": "PENDING",
"payment_type": "BOLETO",
"entry_mode": "BOLETO",
"installments_count": 1,
"internal_id": 1763892018
"installments_count": 1
}
]
}
Expand Down Expand Up @@ -11015,8 +10976,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
}
}
Expand Down
20 changes: 0 additions & 20 deletions src/Transactions/Transactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down
7 changes: 0 additions & 7 deletions src/Types/TransactionCheckoutInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
7 changes: 0 additions & 7 deletions src/Types/TransactionFull.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
Loading