@bates-solutions/payments-core API Reference - v0.2.0
    Preparing search index...

    Module index

    Edge-safe primitives shared by @bates-solutions/squareup, @bates-solutions/stripe and @bates-solutions/clover. Everything here runs on Node 22+, Deno, Bun and Workers: no node:* imports, Buffer or process. Each area is also its own entry point (./crypto, ./currency, ./errors).

    PaymentsError
    TimestampedSignatureHeader
    VerifyTimestampedHmacOptions
    MinorUnitExponent
    TimestampedHmacFailure
    TimestampedHmacResult
    createIdempotencyKey
    fromBase64
    hmacSha256
    minorUnitExponent
    parseTimestampedSignatureHeader
    requireNonEmpty
    timingSafeEqual
    toBase64
    toHex
    verifyTimestampedHmac