Set or change the card’s expiry
A time-boxed card — valid a day, a week, or up to three years — stops authorizing the moment its window closes, and an hourly sweep then terminates it at the issuer. This is enforced by us: Sudo’s own expirationDate applies to Visa cards only, and NGN cards are Verve/AfriGo. Shortening an expiry applies immediately. Extending one, or removing it, is a loosening and needs a second person — so it must be done from the dashboard.
/v1/cards/{id}/validityAuthorization
api-key In: header
Path Parameters
Card id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
{ "status": true, "statusCode": 200, "message": "Request processed successfully", "timestamp": "2026-10-03T16:30:00.000Z", "path": "/v1/accounts", "data": { "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24", "validUntil": "2019-08-24T14:15:22Z" }}