Skip to main content
The editVirtualCard mutation allows you to update various details of an existing virtual card, such as spend limits, lock date, and nickname.
Prerequisites: a user access token with the EDIT_VIRTUALCARD scope, and the virtualCardId of the card to update.

Arguments

  • input (EditVirtualCardInput!): The input object containing the virtual card ID and the fields to update.

EditVirtualCardInput fields

cURL example

Sample response

Response fields

Next steps

Lock a virtual card

Temporarily block all spend on a card without closing it.

Unlock a virtual card

Re-enable a locked card so authorizations succeed again.