createTokenForCVCUpdate method
Creates a token that represents an updated CVC.
Returns a single-use token.
Throws StripeError in case creating the token fails.
Implementation
Future<String?> createTokenForCVCUpdate(
String cvc,
) async {
await _awaitForSettings();
try {
final tokenId = await _platform.createTokenForCVCUpdate(
cvc,
);
return tokenId;
} on StripeError {
//throw StripeError<CardActionError>(error.code, error.message);
rethrow;
}
}