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. 
PUT https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiajlLeUdhOUp6SExsd3JYN2RmdmFMeVM5cUt2Q0sweXd4UVdaejhPdk9TWVVyd3VMbGNpSHFSNFZLME9obEVlVSs0QTdrNmdCWGhaZG8vV016eDc0UlE9PSJ9
Copied!
{
  "Accept": "application/vnd.worldpay.tokens-v2.hal+json",
  "Content-type": "application/vnd.worldpay.tokens-v2.hal+json"
}
{
"month": 1,
"year": 2050
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX