LemonSqueezyProviderOptions
Defined in: src/billing/lemonsqueezy.ts:66
Options for createLemonSqueezyProvider.
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/lemonsqueezy.ts:68 |
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/lemonsqueezy.ts:74 |
storeId? |
string | number |
Store id — required for checkouts. | - | src/billing/lemonsqueezy.ts:72 |
webhookSecret? |
string | readonly string[] |
Webhook signing secret(s). Required for webhooks. | - | src/billing/lemonsqueezy.ts:70 |