Function validateCreditCardCvv

  • Validates the credit card CVV.

    Parameters

    • cardNumber: string

      The credit card number.

    • cvv: number

      The CVV code.

    Returns Promise<boolean>

    Returns an error if the credit card brand is invalid or not supported, or void if the CVV is valid.

Generated using TypeDoc