Get Card Expiry — Retrieve Card Expiry Date
Returns the card expiry date. This is sensitive payment data — protect access appropriately.
Limitations: Format of expiry follows the issuing system’s convention (MM/YY).
POST{gateway}/pcs/api/v1/get-card-expiry
Payload
| Attribute | Type | Required | Description |
|---|---|---|---|
| cardId | Integer | Conditional | Internal card ID. Required if token not provided. |
| token | Integer | Conditional | Card token (PAN surrogate). Required if cardId not provided. |
Request Example
{
"cardId": 1722
}Response
| Attribute | Type | Description |
|---|---|---|
| data | Object | Wrapper for response data. |
| data.expiry | String | Card expiry in MM/YY format. |
200 — SUCCESS
{
"data": {
"expiry": "27/12"
}
}