Card renewal

Renew card expiration date

Renew a card via setting a new expiration date.

Notes:

  • Renewal can be done for PLASTIC and VIRTUAL cards.
  • Cards with status UNNUMBERED, UNBOUND, CREATED, or final status cannot be renewed.
  • This endpoint generates a Card updated event.
  • This endpoint requires an account token—an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a 401 Unauthorized error message.

For more information, refer to the Card renewal guide.

patch/wallet/v2/cards/{cardId}/renew

Request

  • Base URL
    https://sandbox.pismolabs.io
  • URL
    https://sandbox.pismolabs.io/wallet/v2/cards/{cardId}/renew
  • Auth
    HTTP bearer

Path parameters

cardIdstring required

Pismo card ID

Request body

new_expiration_datestring required

New card expiration date. Format = YYMM.

MUST be later than the card's current expiration_date.

Example request

{
  "new_expiration_date": "3112"
}

Response

Card expiration date renewal was scheduled

idinteger

Pismo card ID

status'WAITING' | 'APPLIED'

Expiration date renewal request status.

  • WAITING—Renewal is scheduled to be applied when the card is activated.
  • APPLIED—New expiration date was applied to the card.
new_expiration_datestring

New card expiration date. Format = YYMM.

MUST be later than the card's current expiration_date.

Example response

{
  "id": 123456,
  "status": "WAITING",
  "new_expiration_date": "3112"
}

Changes

No recorded changes to this operation across all 1 revision of this API.