v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
PCI

Get card info with PAN

Get card info - account ID, customer ID and card ID - with the card's unencrypted PAN (Primary Account Number). If you are not comfortable passing a clear text PAN, you can call the Get card info with encrypted PAN endpoint. Doing this requires you contact Pismo to set up encryption using public and private keys.

Note: This is a PCI endpoint, use the https://gw-pci.pismolabs.io environment.

post/pcicards/v1/pcicards/cards/search

Request body

panstring

Card's Primary Account Number (PAN)

Example request

{
  "pan": "123456******789"
}

Response

Get card information response

card_idinteger

Card ID

account_idnumber

Account ID

customer_idinteger

Pismo customer ID.

Example response

{
  "account_id": 102378693,
  "card_id": 6743052,
  "customer_id": 4596098
}