Gando

Gando

Developer Portal

gando.app
All error codes

card_expires_too_soon

Partner API error

HTTP status: 400

Cause

The customer's card expires before the end of the deposit's securing window, counted from today, plus a 30-day margin for the collection retries. For a combined booking + deposit payment, the longest securing window of the session's deposits is used. Nothing was charged.

Partner action

Ask the customer for a card with a later expiry date. requiredValidUntilLabel (MM/YYYY) is the earliest expiry month accepted.

Gando action (internal)

Check the deposit's securing window (else the rental operator's) and the card's expiry read from the payment processor: checkCardExpiry() in lib/use-cases/card-expiry.usecase.ts, called by chargeFeesAndActivate() and confirmBookingDepositSessionUseCase().

card_expires_too_soon — Partner API error catalog