Skip to content

@xtandard/entitlements/billing/paddle

Paddle Billing provider: Paddle-Signature verification, subscription normalization, reconcile, transaction-checkout and customer-portal link-outs.

import { … } from "@xtandard/entitlements/billing/paddle";
Name Summary
createPaddleProvider Create the Paddle provider (id: "paddle").
normalizePaddleSubscription Normalize a Paddle subscription entity.
paddleStatus Map a Paddle subscription status to ours (unknown → incomplete).
parsePaddleSignature Parse a Paddle-Signature header.
signPaddlePayload Build a Paddle-Signature header for body (tests, local tooling).
Name Summary
PaddleProviderOptions Options for createPaddleProvider.
PaddleSubscriptionObject The subset of a Paddle subscription entity the provider reads.