# POST /Indoor/api/getCardByCardNumber

**Resource:** [Card lifecycle](../resources/Card-lifecycle.md)
**Service that lists card details based on an open card number**
**Operation ID:** `getCardByCardNumber`

Retrieves detailed card information for a given card number (PAN) and optional PAN sequence number. Accepts GetCardByCardNumberRequest containing CardNumber and PanSequenceNumber. Returns GetCardByCardNumberResponse with Bin, CardNumber, CardRefNumber, CardSeqNumber, CardType, CustomerNumber, EncryptedCardNumber, ExpiryDate, HashCardNumber, MainCardRefNumber, MainCustomerNumber, MaskedCardNumber, MaskedPanAlternative, OwnerSearchName, ProductNumber, StatusCode, and StatusReasonCode.

## Request Body

Get Card By Card Number Request

**Required:** Yes

**Content Types:** `application/json`

**Schema:** [GetCardByCardNumberRequest](../schemas/Get/GetCardByCardNumberRequest.md)

## Responses

| Status | Description |
|--------|-------------|
| 200 | Success |
| 400 | (reference) |
| 404 | (reference) |
| 500 | (reference) |

**Success Response Schema:**

[GetCardByCardNumberResponse](../schemas/Get/GetCardByCardNumberResponse.md)

