stripe-signature-1.0.0.15: Verification of Stripe webhook signatures
Safe HaskellSafe-Inferred
LanguageHaskell2010

Stripe.Signature

Description

 
Synopsis

Documentation

data Sig Source #

The relevant bits of data extracted from the Stripe signature header.

Constructors

Sig 

Fields

natBytes :: Natural -> ByteString Source #

Convert a natural number to the ASCII encoding of its decimal representation.

parseSig :: Text -> Maybe Sig Source #

Parse the Stripe signature header, returning Nothing if parsing fails.