---
title: "Card info"
method: GET
path: "/api/v1/card/info/{orderId}"
tags: ["Card API"]
---

# Card info

`GET /api/v1/card/info/{orderId}`

## Request

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

The method returns payment card information based on a previous payment, including a reference number that allows the card to be charged without CVV authorization.

## Path parameters

- `orderId` integer, required

## Response `200`

OK

- Cardinfores
  - `data` object
    - `refId` string: Unique card token (reference code)
    - `bin` integer: Card BIN number
    - `mask` string: Masked card number.
    - `cardType` string: Card type (VISA, ECMC)
    - `cardDate` string: Expiration date in MMYYYY format
    - `hash` string: Unique card hash - different for each card.
  - `responseCode` number

## Other responses

- `400`: Bad Request
- `401`: Forbidden
- `403`: Forbidden
- `404`: Not Found - the transaction does not exist.

## Changes

- **2026-09-03** `5861a691aa36`: 2 breaking, 4 info
  - 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 `403`
  - api operation id `getCardInfo` was added
  - added the non-success response with the status `401`
  - …2 more
- **2024-09-18** `e9d9982466d8`: 1 breaking
  - for the `path` request parameter `orderId`, the format changed from no format to `int64`

[Operation history](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/changes/api/v1/card/info/:orderId/get.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)
