---
title: "Transaction verification"
method: PUT
path: "/api/v1/transaction/verify"
tags: ["Transaction service API"]
---

# Transaction verification

`PUT /api/v1/transaction/verify`

## Request

- Base URL: `https://sandbox.przelewy24.pl`
- URL: `https://sandbox.przelewy24.pl/api/v1/transaction/verify`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/docs/api/v1/transaction/verify/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- TransactionVerificationBody
  - `merchantId` integer, required: Store ID (merchant ID by default)
  - `posId` integer, required: Store ID (merchant ID by default)
  - `sessionId` string, required: Unique identifier from the merchant's system
  - `amount` integer, required: Transaction amount expressed in grosz, e.g. `1.23 PLN = 123`.
  - `currency` string, required: Currency.
  - `orderId` integer, required: Transaction ID assigned by Przelewy24
  - `sign` string, required: Parameter checksum:<br>{<font color="brown">"sessionId":</font>"str",<font color="brown">"orderId":</font>int,<font color="brown">"amount":</font>int,<font color="brown">"currency":</font>"str",<font color="brown">"crc":</font>"str"} <br><br>Calculated using the SHA-384 algorithm<br><br><b><font color="#DB2053">IMPORTANT!</font></b><br>When using the `json_encode` function, apply the following flags: <br>"JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES"

## Response `200`

OK

- TransactionVerificationResponse
  - `data` object
    - `status` string
  - `responseCode` number

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

## Changes

- **2026-09-03** `5861a691aa36`: 4 breaking, 1 info
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - …1 more
- **2024-09-18** `e9d9982466d8`: 1 breaking
  - the `orderId` request property format changed from no format to `int64`

[Operation history](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/changes/api/v1/transaction/verify/put.md)

---

[API](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation.md) - [All operations](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/revisions/5861a691aa36?raw)
