cancelVirtualCard

Cancel a VirtualCard using the id parameter.

This API returns a SingleAPIResult:

  • On SingleAPIResult.Success result, contains the cancelled VirtualCard.

  • On SingleAPIResult.Partial result, contains the cancelled PartialVirtualCard representing a virtual card that could not be unsealed successfully and the exception indicating why the unsealing failed. A virtual card may fail to unseal if the client version is not up to date or the required cryptographic key is missing from the client device.

Return

A SingleAPIResult.Success or a SingleAPIResult.Partial result containing either a VirtualCard or PartialVirtualCard respectively that has been cancelled and is in a closed state.

Parameters

id

String Identifier of the VirtualCard to cancel.

Throws