Key bytes from a Standard Webhooks secret: the whsec_ prefix removed and the rest base64-decoded, as the specification says. Stripe secrets also start with whsec_ but are used as text; use fromUtf8 for those.
whsec_
Key bytes from a Standard Webhooks secret: the
whsec_prefix removed and the rest base64-decoded, as the specification says. Stripe secrets also start withwhsec_but are used as text; use fromUtf8 for those.