# Polar > Payments & Billing with 6 lines of code. Open Source & Global Merchant of Record. ## Docs - [Benefit grantcreated](https://polar.sh/docs/api-reference/benefit_grantcreated.md): Sent when a new benefit grant is created. - [Benefit grantcycled](https://polar.sh/docs/api-reference/benefit_grantcycled.md): Sent when a benefit grant is cycled, meaning the related subscription has been renewed for another period. - [Benefit grantrevoked](https://polar.sh/docs/api-reference/benefit_grantrevoked.md): Sent when a benefit grant is revoked. - [Benefit grantupdated](https://polar.sh/docs/api-reference/benefit_grantupdated.md): Sent when a benefit grant is updated. - [Benefitcreated](https://polar.sh/docs/api-reference/benefitcreated.md): Sent when a new benefit is created. - [Create Benefit](https://polar.sh/docs/api-reference/benefits/create-benefit.md): Create a benefit. - [Delete Benefit](https://polar.sh/docs/api-reference/benefits/delete-benefit.md): Delete a benefit. - [Get Benefit](https://polar.sh/docs/api-reference/benefits/get-benefit.md): Get a benefit by ID. - [List Benefit Grants](https://polar.sh/docs/api-reference/benefits/list-benefit-grants.md): List the individual grants for a benefit. - [List Benefits](https://polar.sh/docs/api-reference/benefits/list-benefits.md): List benefits. - [Update Benefit](https://polar.sh/docs/api-reference/benefits/update-benefit.md): Update a benefit. - [Benefitupdated](https://polar.sh/docs/api-reference/benefitupdated.md): Sent when a benefit is updated. - [Create Checkout Link](https://polar.sh/docs/api-reference/checkout-links/create-checkout-link.md): Create a checkout link. - [Delete Checkout Link](https://polar.sh/docs/api-reference/checkout-links/delete-checkout-link.md): Delete a checkout link. - [Get Checkout Link](https://polar.sh/docs/api-reference/checkout-links/get-checkout-link.md): Get a checkout link by ID. - [List Checkout Links](https://polar.sh/docs/api-reference/checkout-links/list-checkout-links.md): List checkout links. - [Update Checkout Link](https://polar.sh/docs/api-reference/checkout-links/update-checkout-link.md): Update a checkout link. - [Checkoutcreated](https://polar.sh/docs/api-reference/checkoutcreated.md): Sent when a new checkout is created. - [Checkoutexpired](https://polar.sh/docs/api-reference/checkoutexpired.md): Sent when a checkout expires. - [Confirm Checkout Session from Client](https://polar.sh/docs/api-reference/checkouts/confirm-checkout-session-from-client.md): Confirm a checkout session by client secret. - [Create Checkout Session](https://polar.sh/docs/api-reference/checkouts/create-checkout-session.md): Create a checkout session. - [Get Checkout Session](https://polar.sh/docs/api-reference/checkouts/get-checkout-session.md): Get a checkout session by ID. - [Get Checkout Session from Client](https://polar.sh/docs/api-reference/checkouts/get-checkout-session-from-client.md): Get a checkout session by client secret. - [List Checkout Sessions](https://polar.sh/docs/api-reference/checkouts/list-checkout-sessions.md): List checkout sessions. - [Update Checkout Session](https://polar.sh/docs/api-reference/checkouts/update-checkout-session.md): Update a checkout session. - [Update Checkout Session from Client](https://polar.sh/docs/api-reference/checkouts/update-checkout-session-from-client.md): Update a checkout session by client secret. - [Checkoutupdated](https://polar.sh/docs/api-reference/checkoutupdated.md): Sent when a checkout is updated. - [Create Custom Field](https://polar.sh/docs/api-reference/custom-fields/create-custom-field.md): Create a custom field. - [Delete Custom Field](https://polar.sh/docs/api-reference/custom-fields/delete-custom-field.md): Delete a custom field. - [Get Custom Field](https://polar.sh/docs/api-reference/custom-fields/get-custom-field.md): Get a custom field by ID. - [List Custom Fields](https://polar.sh/docs/api-reference/custom-fields/list-custom-fields.md): List custom fields. - [Update Custom Field](https://polar.sh/docs/api-reference/custom-fields/update-custom-field.md): Update a custom field. - [Assign Seat](https://polar.sh/docs/api-reference/customer-seats/assign-seat.md): **Scopes**: `customer_seats:write` - [Claim Seat](https://polar.sh/docs/api-reference/customer-seats/claim-seat.md) - [Get Claim Info](https://polar.sh/docs/api-reference/customer-seats/get-claim-info.md) - [List Seats](https://polar.sh/docs/api-reference/customer-seats/list-seats.md): **Scopes**: `customer_seats:read` - [Resend Invitation](https://polar.sh/docs/api-reference/customer-seats/resend-invitation.md): **Scopes**: `customer_seats:write` - [Revoke Seat](https://polar.sh/docs/api-reference/customer-seats/revoke-seat.md): **Scopes**: `customer_seats:write` - [Create Customer Session](https://polar.sh/docs/api-reference/customer-sessions/create-customer-session.md): Create a customer session. - [Get Customer Meter](https://polar.sh/docs/api-reference/customer_meters/get-customer-meter.md): Get a customer meter by ID. - [List Customer Meters](https://polar.sh/docs/api-reference/customer_meters/list-customer-meters.md): List customer meters. - [Activate License Key](https://polar.sh/docs/api-reference/customer_portal/activate-license-key.md): Activate a license key instance. - [Assign Seat](https://polar.sh/docs/api-reference/customer_portal/assign-seat.md) - [Cancel Subscription](https://polar.sh/docs/api-reference/customer_portal/cancel-subscription.md): Cancel a subscription of the authenticated customer. - [Deactivate License Key](https://polar.sh/docs/api-reference/customer_portal/deactivate-license-key.md): Deactivate a license key instance. - [Delete Customer Payment Method](https://polar.sh/docs/api-reference/customer_portal/delete-customer-payment-method.md): Delete a payment method from the authenticated customer. - [Generate Order Invoice](https://polar.sh/docs/api-reference/customer_portal/generate-order-invoice.md): Trigger generation of an order's invoice. - [Get Customer](https://polar.sh/docs/api-reference/customer_portal/get-customer.md): Get authenticated customer. - [Get License Key](https://polar.sh/docs/api-reference/customer_portal/get-license-key.md): Get a license key. - [Get Order](https://polar.sh/docs/api-reference/customer_portal/get-order.md): Get an order by ID for the authenticated customer. - [Get Order Invoice](https://polar.sh/docs/api-reference/customer_portal/get-order-invoice.md): Get an order's invoice data. - [Get Order Receipt](https://polar.sh/docs/api-reference/customer_portal/get-order-receipt.md): Get a presigned URL to download an order's receipt PDF. - [Get Organization](https://polar.sh/docs/api-reference/customer_portal/get-organization.md): Get a customer portal's organization by slug. - [Get Subscription](https://polar.sh/docs/api-reference/customer_portal/get-subscription.md): Get a subscription for the authenticated customer. - [List Claimed Subscriptions](https://polar.sh/docs/api-reference/customer_portal/list-claimed-subscriptions.md): List all subscriptions where the authenticated customer has claimed a seat. - [List Customer Payment Methods](https://polar.sh/docs/api-reference/customer_portal/list-customer-payment-methods.md): Get saved payment methods of the authenticated customer. - [List Downloadables](https://polar.sh/docs/api-reference/customer_portal/list-downloadables.md): **Scopes**: `customer_portal:read` `customer_portal:write` - [List License Keys](https://polar.sh/docs/api-reference/customer_portal/list-license-keys.md): **Scopes**: `customer_portal:read` `customer_portal:write` - [List Orders](https://polar.sh/docs/api-reference/customer_portal/list-orders.md): List orders of the authenticated customer. - [List Seats](https://polar.sh/docs/api-reference/customer_portal/list-seats.md): **Scopes**: `customer_portal:read` `customer_portal:write` - [List Subscriptions](https://polar.sh/docs/api-reference/customer_portal/list-subscriptions.md): List subscriptions of the authenticated customer. - [Resend Invitation](https://polar.sh/docs/api-reference/customer_portal/resend-invitation.md) - [Revoke Seat](https://polar.sh/docs/api-reference/customer_portal/revoke-seat.md) - [Update Customer](https://polar.sh/docs/api-reference/customer_portal/update-customer.md): Update authenticated customer. - [Update Order](https://polar.sh/docs/api-reference/customer_portal/update-order.md): Update an order for the authenticated customer. - [Update Subscription](https://polar.sh/docs/api-reference/customer_portal/update-subscription.md): Update a subscription of the authenticated customer. - [Validate License Key](https://polar.sh/docs/api-reference/customer_portal/validate-license-key.md): Validate a license key. - [Customer seatassigned](https://polar.sh/docs/api-reference/customer_seatassigned.md): Sent when a new customer seat is assigned. - [Customer seatclaimed](https://polar.sh/docs/api-reference/customer_seatclaimed.md): Sent when a customer seat is claimed. - [Customer seatrevoked](https://polar.sh/docs/api-reference/customer_seatrevoked.md): Sent when a customer seat is revoked. - [Customercreated](https://polar.sh/docs/api-reference/customercreated.md): Sent when a new customer is created. - [Customerdeleted](https://polar.sh/docs/api-reference/customerdeleted.md): Sent when a customer is deleted. - [Create Customer](https://polar.sh/docs/api-reference/customers/create-customer.md): Create a customer. - [Delete Customer](https://polar.sh/docs/api-reference/customers/delete-customer.md): Delete a customer. - [Delete Customer by External ID](https://polar.sh/docs/api-reference/customers/delete-customer-by-external-id.md): Delete a customer by external ID. - [Get Customer](https://polar.sh/docs/api-reference/customers/get-customer.md): Get a customer by ID. - [Get Customer by External ID](https://polar.sh/docs/api-reference/customers/get-customer-by-external-id.md): Get a customer by external ID. - [Get Customer State](https://polar.sh/docs/api-reference/customers/get-customer-state.md): Get a customer state by ID. - [Get Customer State by External ID](https://polar.sh/docs/api-reference/customers/get-customer-state-by-external-id.md): Get a customer state by external ID. - [List Customer Payment Methods](https://polar.sh/docs/api-reference/customers/list-customer-payment-methods.md): Get saved payment methods of a customer. - [List Customer Payment Methods by External ID](https://polar.sh/docs/api-reference/customers/list-customer-payment-methods-by-external-id.md): Get saved payment methods of a customer by external ID. - [List Customers](https://polar.sh/docs/api-reference/customers/list-customers.md): List customers. - [Update Customer](https://polar.sh/docs/api-reference/customers/update-customer.md): Update a customer. - [Update Customer by External ID](https://polar.sh/docs/api-reference/customers/update-customer-by-external-id.md): Update a customer by external ID. - [Customerstate changed](https://polar.sh/docs/api-reference/customerstate_changed.md): Sent when a customer state has changed. - [Customerupdated](https://polar.sh/docs/api-reference/customerupdated.md): Sent when a customer is updated. - [Create Discount](https://polar.sh/docs/api-reference/discounts/create-discount.md): Create a discount. - [Delete Discount](https://polar.sh/docs/api-reference/discounts/delete-discount.md): Delete a discount. - [Get Discount](https://polar.sh/docs/api-reference/discounts/get-discount.md): Get a discount by ID. - [List Discounts](https://polar.sh/docs/api-reference/discounts/list-discounts.md): List discounts. - [Update Discount](https://polar.sh/docs/api-reference/discounts/update-discount.md): Update a discount. - [Get Event](https://polar.sh/docs/api-reference/events/get-event.md): Get an event by ID. - [Ingest Events](https://polar.sh/docs/api-reference/events/ingest-events.md): Ingest batch of events. - [List Events](https://polar.sh/docs/api-reference/events/list-events.md): List events. - [Complete File Upload](https://polar.sh/docs/api-reference/files/complete-file-upload.md): Complete a file upload. - [Create File](https://polar.sh/docs/api-reference/files/create-file.md): Create a file. - [Delete File](https://polar.sh/docs/api-reference/files/delete-file.md): Delete a file. - [List Files](https://polar.sh/docs/api-reference/files/list-files.md): List files. - [Update File](https://polar.sh/docs/api-reference/files/update-file.md): Update a file. - [API Overview](https://polar.sh/docs/api-reference/introduction.md): Official SDK quickstarts, base URLs, authentication, pagination, rate limits, and API concepts - [Activate License Key](https://polar.sh/docs/api-reference/license_keys/activate-license-key.md): Activate a license key instance. - [Deactivate License Key](https://polar.sh/docs/api-reference/license_keys/deactivate-license-key.md): Deactivate a license key instance. - [Get Activation](https://polar.sh/docs/api-reference/license_keys/get-activation.md): Get a license key activation. - [Get License Key](https://polar.sh/docs/api-reference/license_keys/get-license-key.md): Get a license key. - [List License Keys](https://polar.sh/docs/api-reference/license_keys/list-license-keys.md): Get license keys connected to the given organization & filters. - [Update License Key](https://polar.sh/docs/api-reference/license_keys/update-license-key.md): Update a license key. - [Validate License Key](https://polar.sh/docs/api-reference/license_keys/validate-license-key.md): Validate a license key. - [List Members](https://polar.sh/docs/api-reference/members/list-members.md): List members with optional customer ID filter. - [Create Meter](https://polar.sh/docs/api-reference/meters/create-meter.md): Create a meter. - [Get Meter](https://polar.sh/docs/api-reference/meters/get-meter.md): Get a meter by ID. - [Get Meter Quantities](https://polar.sh/docs/api-reference/meters/get-meter-quantities.md): Get quantities of a meter over a time period. - [List Meters](https://polar.sh/docs/api-reference/meters/list-meters.md): List meters. - [Update Meter](https://polar.sh/docs/api-reference/meters/update-meter.md): Update a meter. - [Get Metrics](https://polar.sh/docs/api-reference/metrics/get-metrics.md): Get metrics about your orders and subscriptions. - [Get Metrics Limits](https://polar.sh/docs/api-reference/metrics/get-metrics-limits.md): Get the interval limits for the metrics endpoint. - [Authorize](https://polar.sh/docs/api-reference/oauth2/authorize.md) - [Get User Info](https://polar.sh/docs/api-reference/oauth2/get-user-info.md): Get information about the authenticated user. - [Introspect Token](https://polar.sh/docs/api-reference/oauth2/introspect-token.md): Get information about an access token. - [Request Token](https://polar.sh/docs/api-reference/oauth2/request-token.md): Request an access token using a valid grant. - [Revoke Token](https://polar.sh/docs/api-reference/oauth2/revoke-token.md): Revoke an access token or a refresh token. - [Ordercreated](https://polar.sh/docs/api-reference/ordercreated.md): Sent when a new order is created. - [Orderpaid](https://polar.sh/docs/api-reference/orderpaid.md): Sent when an order is paid. - [Orderrefunded](https://polar.sh/docs/api-reference/orderrefunded.md): Sent when an order is fully or partially refunded. - [Generate Order Invoice](https://polar.sh/docs/api-reference/orders/generate-order-invoice.md): Trigger generation of an order's invoice. - [Get Order](https://polar.sh/docs/api-reference/orders/get-order.md): Get an order by ID. - [Get Order Invoice](https://polar.sh/docs/api-reference/orders/get-order-invoice.md): Get an order's invoice data. - [Get Order Receipt](https://polar.sh/docs/api-reference/orders/get-order-receipt.md): Get a presigned URL to download an order's receipt PDF. - [List Orders](https://polar.sh/docs/api-reference/orders/list-orders.md): List orders. - [Update Order](https://polar.sh/docs/api-reference/orders/update-order.md): Update an order. - [Orderupdated](https://polar.sh/docs/api-reference/orderupdated.md): Sent when an order is updated. - [Create Organization](https://polar.sh/docs/api-reference/organizations/create-organization.md): Create an organization. - [Get Organization](https://polar.sh/docs/api-reference/organizations/get-organization.md): Get an organization by ID. - [List Organizations](https://polar.sh/docs/api-reference/organizations/list-organizations.md): List organizations. - [Update Organization](https://polar.sh/docs/api-reference/organizations/update-organization.md): Update an organization. - [Organizationupdated](https://polar.sh/docs/api-reference/organizationupdated.md): Sent when a organization is updated. - [Productcreated](https://polar.sh/docs/api-reference/productcreated.md): Sent when a new product is created. - [Create Product](https://polar.sh/docs/api-reference/products/create-product.md): Create a product. - [Get Product](https://polar.sh/docs/api-reference/products/get-product.md): Get a product by ID. - [List Products](https://polar.sh/docs/api-reference/products/list-products.md): List products. - [Update Product](https://polar.sh/docs/api-reference/products/update-product.md): Update a product. - [Update Product Benefits](https://polar.sh/docs/api-reference/products/update-product-benefits.md): Update benefits granted by a product. - [Productupdated](https://polar.sh/docs/api-reference/productupdated.md): Sent when a product is updated. - [Refundcreated](https://polar.sh/docs/api-reference/refundcreated.md): Sent when a refund is created regardless of status. - [Create Refund](https://polar.sh/docs/api-reference/refunds/create-refund.md): Create a refund. - [List Refunds](https://polar.sh/docs/api-reference/refunds/list-refunds.md): List refunds. - [Refundupdated](https://polar.sh/docs/api-reference/refundupdated.md): Sent when a refund is updated. - [Subscriptionactive](https://polar.sh/docs/api-reference/subscriptionactive.md): Sent when a subscription becomes active, whether because it's a new paid subscription or because payment was recovered. - [Subscriptioncanceled](https://polar.sh/docs/api-reference/subscriptioncanceled.md): Sent when a subscription is canceled. Customers might still have access until the end of the current period. - [Subscriptioncreated](https://polar.sh/docs/api-reference/subscriptioncreated.md): Sent when a new subscription is created. - [Subscriptionpast due](https://polar.sh/docs/api-reference/subscriptionpast_due.md): Sent when a subscription payment fails and the subscription enters `past_due` status. - [Subscriptionpaused](https://polar.sh/docs/api-reference/subscriptionpaused.md): Sent when a subscription is paused and the customer temporarily loses access. - [Subscriptionresumed](https://polar.sh/docs/api-reference/subscriptionresumed.md): Sent when a paused subscription resumes, restoring the customer's access. - [Subscriptionrevoked](https://polar.sh/docs/api-reference/subscriptionrevoked.md): Sent when a subscription is revoked and the user loses access immediately. Happens when the subscription is canceled or payment retries are exhausted (status becomes `unpaid`). - [Create Subscription](https://polar.sh/docs/api-reference/subscriptions/create-subscription.md): Create a subscription programmatically. - [Get Subscription](https://polar.sh/docs/api-reference/subscriptions/get-subscription.md): Get a subscription by ID. - [List Subscriptions](https://polar.sh/docs/api-reference/subscriptions/list-subscriptions.md): List subscriptions. - [Revoke Subscription](https://polar.sh/docs/api-reference/subscriptions/revoke-subscription.md): Revoke a subscription, i.e cancel immediately. - [Update Subscription](https://polar.sh/docs/api-reference/subscriptions/update-subscription.md): Update a subscription. - [Subscriptionuncanceled](https://polar.sh/docs/api-reference/subscriptionuncanceled.md): Sent when a customer revokes a pending cancellation. - [Subscriptionupdated](https://polar.sh/docs/api-reference/subscriptionupdated.md): Sent when a subscription is updated. This event fires for all changes to the subscription, including renewals. - [Create Webhook Endpoint](https://polar.sh/docs/api-reference/webhooks/create-webhook-endpoint.md): Create a webhook endpoint. - [Delete Webhook Endpoint](https://polar.sh/docs/api-reference/webhooks/delete-webhook-endpoint.md): Delete a webhook endpoint. - [Get Webhook Endpoint](https://polar.sh/docs/api-reference/webhooks/get-webhook-endpoint.md): Get a webhook endpoint by ID. - [List Webhook Endpoints](https://polar.sh/docs/api-reference/webhooks/list-webhook-endpoints.md): List webhook endpoints. - [Update Webhook Endpoint](https://polar.sh/docs/api-reference/webhooks/update-webhook-endpoint.md): Update a webhook endpoint. - [Product Updates](https://polar.sh/docs/changelog/recent.md): Stay up to date with the latest changes and improvements to Polar. - [Analytics](https://polar.sh/docs/features/analytics.md): Understand how every metric in your dashboard is calculated. - [Credits Benefit](https://polar.sh/docs/features/benefits/credits.md): Create your own Credits benefit - [Custom Benefit](https://polar.sh/docs/features/benefits/custom.md): Create your own Custom benefit - [Automate Discord Invites & Roles](https://polar.sh/docs/features/benefits/discord-access.md): Sell Discord access & roles with ease - [Feature Flag Benefit](https://polar.sh/docs/features/benefits/feature-flags.md): Gate access to features using simple, API-driven feature flags - [Automate Customer File Downloads](https://polar.sh/docs/features/benefits/file-downloads.md): Offer digital file downloads with ease - [Automate Private GitHub Repo(s) Access](https://polar.sh/docs/features/benefits/github-access.md): Sell premium GitHub repository access with ease - [Automated Benefits](https://polar.sh/docs/features/benefits/introduction.md) - [Automate Customer License Key Management](https://polar.sh/docs/features/benefits/license-keys.md): Sell license key access to your service, software or APIs with ease - [Shared Slack Channel](https://polar.sh/docs/features/benefits/slack-shared-channel.md): Give customers a shared Slack channel via Slack Connect - [Embedded Checkout](https://polar.sh/docs/features/checkout/embed.md): Embed our checkout directly on your site - [Embedded Payment Method](https://polar.sh/docs/features/checkout/embed-payment-method.md): Embed our payment method flow on your site - [Checkout Links](https://polar.sh/docs/features/checkout/links.md): Persistent URLs that create a Checkout Session on visit - [Checkout Localization](https://polar.sh/docs/features/checkout/localization.md): Serve checkout in your customer's preferred language - [Checkout API](https://polar.sh/docs/features/checkout/session.md): Create checkout sessions programmatically for complete control - [Cost Events](https://polar.sh/docs/features/cost-insights/cost-events.md): Track costs by adding cost metadata to your ingested events - [Cost Traces](https://polar.sh/docs/features/cost-insights/cost-traces.md): Aggregate events by user sessions to calculate costs - [Introduction to Cost Insights](https://polar.sh/docs/features/cost-insights/introduction.md): Track costs, profits, and customer lifetime value with event-based cost tracking - [Custom Fields](https://polar.sh/docs/features/custom-fields.md): Learn how to add custom input fields to your checkout with Polar - [Customer Management](https://polar.sh/docs/features/customer-management.md): Get insights on your customers and sales - [Customer Portal](https://polar.sh/docs/features/customer-portal/introduction.md): The self-service destination for your customers - [Navigate Customers to the Portal](https://polar.sh/docs/features/customer-portal/navigate-customers.md): Three ways your customers can reach their Customer Portal - [Customer Portal Settings](https://polar.sh/docs/features/customer-portal/settings.md): Configure what customers can do from the Customer Portal - [Discounts](https://polar.sh/docs/features/discounts.md): Create discounts on products and subscriptions - [Payout Accounts](https://polar.sh/docs/features/finance/accounts.md): Connect a Stripe Connect Express account to receive your earnings - [Account Balance & Transparent Fees](https://polar.sh/docs/features/finance/balance.md): Monitor your Polar balance without hidden fees - [Payouts](https://polar.sh/docs/features/finance/payouts.md): Withdraw money from your Polar account - [Affonso Affiliates with Polar](https://polar.sh/docs/features/integrations/affonso.md) - [Polar Integration in Fernand](https://polar.sh/docs/features/integrations/fernand.md): Learn how to sync customer and payment data from Polar to Fernand. - [Polar for Framer](https://polar.sh/docs/features/integrations/framer.md): The fastest way to sell digital products on your Framer site - [Purchase Power Parity with ParityDeals](https://polar.sh/docs/features/integrations/paritydeals.md): Offer products with different price across the globe - [Polar for Raycast](https://polar.sh/docs/features/integrations/raycast.md): The fastest way to access Polar from your keyboard - [Polar for Zapier](https://polar.sh/docs/features/integrations/zapier.md): Connect Polar to hundreds of other apps with Zapier - [Orders](https://polar.sh/docs/features/orders.md): Every paid transaction on Polar is an order. - [Products](https://polar.sh/docs/features/products.md): Start selling digital products on Polar in minutes. - [Manage Refunds](https://polar.sh/docs/features/refunds.md): You can easily refund orders on Polar — both in full or in parts. - [Seat-Based Pricing](https://polar.sh/docs/features/seat-based-pricing.md): Sell team products with assignable seats and tiered pricing - [Single Sign-On](https://polar.sh/docs/features/sso.md): Let your team sign in to Polar through your own identity provider, and become members automatically. - [Recovering failed payments](https://polar.sh/docs/features/subscriptions/failed-payments.md): How Polar retries failed renewals before revoking a subscription. - [Subscriptions](https://polar.sh/docs/features/subscriptions/introduction.md): Recurring revenue on top of your products. - [Managing subscriptions](https://polar.sh/docs/features/subscriptions/manage.md): Everything you can do to a subscription after it's been created. - [Proration](https://polar.sh/docs/features/subscriptions/proration.md): Control how the price difference is billed when a subscription is upgraded or downgraded. - [Trials](https://polar.sh/docs/features/subscriptions/trials.md): Offer free trials on your subscriptions - [Tax Inclusive Pricing](https://polar.sh/docs/features/tax-inclusive-pricing.md): Control whether your product prices include or exclude tax at checkout - [Team Management](https://polar.sh/docs/features/team-management.md): Invite teammates to your organization, manage their roles, and control what they can access in the Polar dashboard. - [Billing](https://polar.sh/docs/features/usage-based-billing/billing.md): How billing works with Usage Based - [Credits](https://polar.sh/docs/features/usage-based-billing/credits.md): Crediting customers for Usage Based Billing - [Event Ingestion](https://polar.sh/docs/features/usage-based-billing/event-ingestion.md): Ingest events from your application - [Delta Time Strategy](https://polar.sh/docs/features/usage-based-billing/ingestion-strategies/delta-time-strategy.md): Ingest delta time of arbitrary execution - [Strategy Introduction](https://polar.sh/docs/features/usage-based-billing/ingestion-strategies/ingestion-strategy.md): Ingestion strategies for Usage Based Billing - [LLM Strategy](https://polar.sh/docs/features/usage-based-billing/ingestion-strategies/llm-strategy.md): Ingestion strategy for LLM Usage - [S3 Strategy](https://polar.sh/docs/features/usage-based-billing/ingestion-strategies/s3-strategy.md): Ingestion strategy for S3 Operations - [Stream Strategy](https://polar.sh/docs/features/usage-based-billing/ingestion-strategies/stream-strategy.md): Ingestion strategy for Readable & Writable Streams - [Introduction](https://polar.sh/docs/features/usage-based-billing/introduction.md): Usage based billing using ingested events - [Meters](https://polar.sh/docs/features/usage-based-billing/meters.md): Creating and managing meters for Usage Based Billing - [Integrate Polar with Encore](https://polar.sh/docs/guides/encore.md): In this guide, we'll show you how to integrate Polar with Encore. - [Integrate Polar with Laravel](https://polar.sh/docs/guides/laravel.md): In this guide, we'll show you how to integrate Polar with Laravel. - [Integrate Polar with Next.js](https://polar.sh/docs/guides/nextjs.md): In this guide, we'll show you how to integrate Polar with Next.js. - [Authentication](https://polar.sh/docs/integrate/authentication.md) - [Customer State](https://polar.sh/docs/integrate/customer-state.md): The quickest way to integrate billing in your application - [Polar over Model Context Protocol (MCP)](https://polar.sh/docs/integrate/mcp.md): Extend the capabilities of your AI agents with Polar's MCP Server - [OAuth 2.0 Connect](https://polar.sh/docs/integrate/oauth2/connect.md) - [Introduction](https://polar.sh/docs/integrate/oauth2/introduction.md): For partners building services and extensions for Polar customers - [Create an OAuth 2.0 Client](https://polar.sh/docs/integrate/oauth2/setup.md) - [Sandbox Environment](https://polar.sh/docs/integrate/sandbox.md) - [Astro](https://polar.sh/docs/integrate/sdk/adapters/astro.md): Payments and Checkouts made dead simple with Astro - [BetterAuth](https://polar.sh/docs/integrate/sdk/adapters/better-auth.md): Payments and Checkouts made dead simple with BetterAuth - [Deno](https://polar.sh/docs/integrate/sdk/adapters/deno.md): Payments and Checkouts made dead simple with Deno - [Elysia](https://polar.sh/docs/integrate/sdk/adapters/elysia.md): Payments and Checkouts made dead simple with Elysia - [Express](https://polar.sh/docs/integrate/sdk/adapters/express.md): Payments and Checkouts made dead simple with Express - [Fastify](https://polar.sh/docs/integrate/sdk/adapters/fastify.md): Payments and Checkouts made dead simple with Fastify - [Hono](https://polar.sh/docs/integrate/sdk/adapters/hono.md): Payments and Checkouts made dead simple with Hono - [Laravel](https://polar.sh/docs/integrate/sdk/adapters/laravel.md): Payments and Checkouts made dead simple with Laravel - [Next.js](https://polar.sh/docs/integrate/sdk/adapters/nextjs.md): Payments and Checkouts made dead simple with Next.js - [Nuxt](https://polar.sh/docs/integrate/sdk/adapters/nuxt.md): Payments and Checkouts made dead simple with Nuxt - [Remix](https://polar.sh/docs/integrate/sdk/adapters/remix.md): Payments and Checkouts made dead simple with Remix - [Supabase](https://polar.sh/docs/integrate/sdk/adapters/supabase.md): Payments and Checkouts made dead simple with Supabase - [Sveltekit](https://polar.sh/docs/integrate/sdk/adapters/sveltekit.md): Payments and Checkouts made dead simple with Sveltekit - [TanStack Start](https://polar.sh/docs/integrate/sdk/adapters/tanstack-start.md): Payments and Checkouts made dead simple with TanStack Start - [Python SDK](https://polar.sh/docs/integrate/sdk/python.md): Fully typed Python client for the Polar API - [TypeScript SDK](https://polar.sh/docs/integrate/sdk/typescript.md): SDK for JavaScript runtimes (Node.js and Browser) - [Handle & monitor webhook deliveries](https://polar.sh/docs/integrate/webhooks/delivery.md): How to parse, validate and handle webhooks and monitor their deliveries on Polar - [Setup Webhooks](https://polar.sh/docs/integrate/webhooks/endpoints.md): Get notifications asynchronously when events occur instead of having to poll for updates - [Webhook Events](https://polar.sh/docs/integrate/webhooks/events.md): Our webhook events and in which context they are useful - [Integrating Webhooks Locally](https://polar.sh/docs/integrate/webhooks/locally.md): Setup Webhook delivery to your local machine - [Polar: Turn Your Software into a Business](https://polar.sh/docs/introduction.md): The next generation unicorns will be built by smaller teams. Polar makes that dream possible. - [Account reviews](https://polar.sh/docs/merchant-of-record/account-reviews.md) - [Fees](https://polar.sh/docs/merchant-of-record/fees.md): Transparent, public pricing — pick the plan that fits - [Merchant of Record](https://polar.sh/docs/merchant-of-record/introduction.md): An open source and transparent Merchant of Record - [Supported countries](https://polar.sh/docs/merchant-of-record/supported-countries.md) - [Migrate to Polar](https://polar.sh/docs/migrate.md): Get set up on Polar in minutes from an existing store - [Migrate Away from Polar](https://polar.sh/docs/migrate-away.md): Move your customers and saved payment methods to another payment provider whenever you choose. - [Support](https://polar.sh/docs/support.md) ## OpenAPI Specs - [openapi](https://polar.sh/docs/openapi.json) - [pnpm-lock](https://polar.sh/docs/pnpm-lock.yaml) - [package](https://polar.sh/docs/package.json)