Ttushe / docs
nsk_test_Operational

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.

PUThttps://api.trytushe.com/v1/cards/{id}/validity
PUT/v1/cards/{id}/validity

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

id*string

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"  }}