lockVirtualCard mutation allows you to lock an existing virtual card, preventing further transactions.
Prerequisites: a user access token with the
EDIT_VIRTUALCARD scope, and the virtualCardId of the card to lock.Arguments
input(LockVirtualCardInput!): The input object containing the ID of the virtual card to lock.
LockVirtualCardInput fields
Sample mutation
cURL example
Sample response
Response fields
Next steps
Unlock a virtual card
Re-enable a locked card so authorizations succeed again.