Gett Developer Portal
  • Welcome
  • Distribution Partners
  • Brand Partners
  • Commerce Partners
  • Ecosystem Partners
  • Errors
  • API Reference
Documentation
  • Get Started
  • Marketfront SDK
  • API Reference
Resources
  • Payments
Company
  • Gett
  • Terms of Service
  • Privacy Policy

Copyright 2026 Gett. All rights reserved.

409 Conflict403 Forbidden500 Internal Server Error400 Bad Request404 Not Found429 Too Many Requests503 Service Unavailable401 Unauthorized502 Bad Gateway422 Unprocessable EntityCATALOGSET_NOT_FOUNDCATALOGSET_REQUIREDCLIENT_CONTEXT_REQUIREDCLIENT_IP_INVALIDCLIENT_USER_AGENT_INVALIDITEM_UNAVAILABLEMODIFIER_REQUIREDORDER_TOTAL_DIFFERENTPRECISION_EXCEEDEDCARD_EXPIREDCARD_LOST_OR_STOLENINCORRECT_CVCINSUFFICIENT_FUNDSPAYMENT_DECLINEDPAYMENT_FAILEDPAYMENT_TOKEN_INVALIDPROCESSING_ERRORSESSION_USER_REQUIREDSTORE_CLOSEDSTORE_NOT_FOUND
powered by Zuplo
Errors

CARD_EXPIRED

CARD_EXPIRED

The card has expired, or the expiry date supplied with it is not a real date. A card is valid through the end of its stated month.

Summary

FieldValue
HTTP status422
errorCategoryvalidation
retryablefalse

This code appears in both error vocabularies

CARD_EXPIRED is the only code that is both:

  • a top-level ProblemDetail.errorCode — the 422 documented here, raised when a card is vaulted or when a stored token is resolved for an order; and
  • an errors[].code reason on an order, alongside the other decline reasons, when a commerce partner declines the payment for an expired card. In that form it arrives on an HTTP 200 Order with isValid: false and carries no status, category or retryable of its own.

The summary above describes the first form only.

When This Fires

  • POST /v1/marketfront/payment-methods — the card being vaulted has already expired, or card.expiryMonth / card.expiryYear is not a valid date.
  • POST /v1/marketfront/orders/place — the card behind the supplied paymentToken was valid when it was vaulted and expired while stored.

The second case is the one worth handling explicitly. A stored card can pass validation on the day it is vaulted and fail months later on an order, with nothing about the request having changed.

Recommended Action

Collect a new card from the customer, vault it, and quote the new token. Nothing about the order needs to change — this is a payment-instrument problem, not a cart or fulfillment problem.

This is not retryable with the same payload.

Example

Code
{ "type": "https://developer.gett-tech.com/errors/CARD_EXPIRED", "title": "Unprocessable Entity", "status": 422, "detail": "The card behind this paymentToken has expired. Vault a new card and quote the token it returns.", "instance": "/v1/marketfront/orders/place", "requestId": "req_abc123", "timestamp": "2026-09-01T14:30:00.000Z", "errorCode": "CARD_EXPIRED", "errorCategory": "validation", "retryable": false }
PRECISION_EXCEEDEDCARD_LOST_OR_STOLEN
On this page
  • Summary
  • When This Fires
  • Recommended Action
  • Example
JSON