PaddleProviderOptions
Defined in: src/billing/paddle.ts:67
Options for createPaddleProvider.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
apiBase? |
string |
Override the API base URL (sandbox / mock servers). | ProviderHttpOptions.apiBase |
src/billing/verify.ts:143 |
apiKey? |
string |
API key. Required for REST calls (reconcile, checkout, portal). | - | src/billing/paddle.ts:69 |
environment? |
"production" | "sandbox" |
"production" (default) or "sandbox". Ignored when apiBase is set. |
- | src/billing/paddle.ts:73 |
fetch? |
FetchLike |
fetch implementation (tests, proxies). Default: global fetch. |
ProviderHttpOptions.fetch |
src/billing/verify.ts:141 |
metadataKey? |
string |
custom_data key carrying our customer id. Default "customerId". |
- | src/billing/paddle.ts:77 |
now? |
() => number |
Clock (unix ms) for the tolerance check. Default Date.now. |
- | src/billing/paddle.ts:79 |
tolerance? |
number |
Signature timestamp tolerance in seconds. Default 5 (Paddle SDK). |
- | src/billing/paddle.ts:75 |
webhookSecret? |
string | readonly string[] |
Notification destination secret key(s). Required for webhooks. | - | src/billing/paddle.ts:71 |