Skip to main content
PUT
Lock a card (soft or hard).

Authorizations

api-key
string
header
default:410ca5cd265a4111982375d50802b7f8
required

Path Parameters

id
string
required

CMS-assigned identifier of the card the operation targets. Opaque string; do not parse or derive meaning from its structure. Returned by createCard, searchCards and getCardById.

Maximum string length: 255

Body

application/json

Request object for locking a card. The implementation must support both soft and hard locks and return a different status for each.

lockType
enum<string>
required

Type of lock to apply -

Available options:
SOFT_LOCK,
HARD_LOCK
Example:

"SOFT_LOCK"

reason
string
required

Reason for locking the card.

Maximum string length: 255
Example:

"Lost"

unlockAt
string<date-time>

The date and time when the card will automatically be unlocked, as an RFC 3339 date-time in UTC, for example midnight on 1 January 2026. If not provided, the card remains locked until manually unlocked.

Example:

"2025-05-01T12:00:00Z"

customFields
CustomFields · object

Custom field to send additional data

Response

Card locked. The returned status reflects whether the lock was applied as a soft (reversible) or hard (terminal) lock.

Lightweight acknowledgement envelope returned by card lifecycle operations (activate, lock, unlock, terminate). Carries the resulting card status so callers can confirm the transition without re-fetching the card.

status
string

Status of the card. Possible values are Active, Blocked, Unblocked, Cancelled.

Maximum string length: 50
Example:

"active"

customFields
CustomFields · object

Custom field to send additional data