def stripe.verify

bend-kit-webhooks@0.11.0.1 · webhooks.bend:412

import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooks
import Base
import bend-kit-time@0.3.0.0/time.bend as Time
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

412# stripe.verify.with a 300 s tolerance, Stripe's default.
413def stripe.verify(secrets: List<&2, String>, now: Time.Instant, +headers: Map<&2, List<&2, String>>, body: Bytes.Bytes) ->
414    IO(Bytes.Bytes & Result<&1, &1, Err, Unit>):
415  stripe.verify.with(300, secrets, now, headers, body)

Uses (11)

Used by (0)

No other definition uses this definition.