Card Expiry Date

An expiry date associated with the credit card represented by a token

Methods

PUT

Update the expiry date for the credit card represented by the token. The supplied expiry date must represent a future credit card expiry.

Request

Copied!
{
 "type": "object",
 "properties": {
  "month": {
   "type": "integer",
   "minimum": 1,
   "maximum": 12
  },
  "year": {
   "type": "integer",
   "maximum": 9999
  }
 },
 "required": [
  "month",
  "year"
 ]
}

Responses

Examples

PUT
 Update a card expiry date.
View
put
 Update a card expiry date. 
PUThttps://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiajlLeUdhOUp6SExsd3JYN2RmdmFMeVM5cUt2Q0sweXd4UVdaejhPdk9TWVVyd3VMbGNpSHFSNFZLME9obEVlVSs0QTdrNmdCWGhaZG8vV016eDc0UlE9PSJ9
Copied!
{
  "Accept": "application/vnd.worldpay.tokens-v3.hal+json",
  "Content-Type": "application/vnd.worldpay.tokens-v3.hal+json"
}
Copied!
{
  "month": 1,
  "year": 2050
}

204

Copied!
{
  "Content-Type": "application/vnd.worldpay.tokens-v3.hal+json"
}