checkout.created
Fires when a new checkout session is created. This marks the beginning of a customer's purchase journey.
Polar
35 triggers and 169 actions for Polar workflows.
Each trigger lists the event it fires on, the data it sends, and a template you can use it in.
Real-time push from the source.
checkout.created
Fires when a new checkout session is created. This marks the beginning of a customer's purchase journey.
customer_seat.claimed
Fires when a customer claims an available seat for a licensed product. This happens when a user activates their license for the first time.
customer.created
Fires when a new customer is created after checkout or via API
order.paid
Fires when an order is fully paid and payment is received
order.refunded
Fires when an order is fully or partially refunded
subscription.active
Fires when a subscription becomes active or payment is recovered
subscription.canceled
Fires when a subscription is canceled by the customer or system
subscription.created
Fires when a new subscription is created
subscription.past_due
Fires when a subscription payment fails and enters past-due status
benefit_grant.created
Fires when a benefit is granted to a customer. The customer can now use this benefit immediately.
benefit_grant.cycled
Fires when a benefit grant completes its billing cycle. This typically resets usage limits or counters for the next period.
benefit_grant.revoked
Fires when a granted benefit is taken away from a customer. The customer can no longer use this benefit.
benefit_grant.updated
Fires when a granted benefit's details are modified. This includes status changes or property updates.
benefit.created
Fires when a new benefit is created and added to a product. This new perk is now available to customers.
benefit.updated
Fires when benefit details or configuration are changed. This includes updating eligibility rules or descriptions.
checkout.expired
Fires when a checkout session expires without being completed. This happens after the checkout link becomes invalid.
checkout.updated
Fires when checkout details are modified before completion. This includes changes to items, pricing, or customer information.
customer_seat.assigned
Fires when a seat is assigned to a customer for a licensed product. This grants them access to use the product.
customer_seat.revoked
Fires when a customer loses their seat assignment for a licensed product. This removes their access to the product.
customer.deleted
Fires when a customer account is permanently removed from the system. This typically happens when a customer requests account deletion.
customer.state_changed
Fires when a customer's status changes within the system. Examples include transitioning from trial to active or becoming inactive.
customer.updated
Fires when an existing customer's information is modified. This includes profile updates, contact details, or preferences.
member.created
Fires when a new team or organization member is added. This happens when someone joins your account or workspace.
member.deleted
Fires when a team or organization member is removed. This happens when someone leaves or is removed from the account.
member.updated
Fires when a member's details or permissions are modified. This includes role changes or profile updates.
order.created
Fires when a new order is created. This marks a customer's purchase request in the system.
order.updated
Fires when order details are modified after creation. This includes status updates or adjustments to items or pricing.
organization.updated
Fires when organization or account settings are updated. This includes name, billing address, or preferences.
product.created
Fires when a new product is added to your catalog. This makes it available for customers to purchase.
product.updated
Fires when product information is modified. This includes pricing, description, or availability changes.
refund.created
Fires when a refund is initiated for a customer. This marks the beginning of the refund process.
refund.updated
Fires when refund details or status are updated. This includes processing status changes or amount adjustments.
subscription.revoked
Fires when a subscription is revoked and access is lost immediately
subscription.uncanceled
Fires when a canceled subscription is reactivated before its end date. The customer resumes their service.
subscription.updated
Fires when subscription details are changed. This includes plan upgrades, downgrades, or schedule modifications.
Operations are the actions a workflow can take in Polar, grouped by category. Each lists its method, parameters, and a template you can drop it into.
Access and manage the specific grants associated with your subscription benefits. Use these operations when you need to retrieve details about which benefit grants are available in your organization or product configuration.
List all benefit grants
/v1/benefit-grants/Retrieve a complete list of all benefit grants to see which customers have access to which benefits across your organization. Use this to audit entitlements, manage customer access, and build dashboards showing benefit distribution.
Define and manage the benefits that can be included in your products or subscription tiers. These operations let you create benefit offerings, link them to specific products, and maintain your complete benefits catalog throughout your business lifecycle.
Create a new benefit
/v1/benefits/Create a new benefit to offer customers after they make a purchase, such as license keys, downloadable files, repository access, or Discord roles.
Delete a benefit
/v1/benefits/{id}Permanently remove a benefit from your product offering, immediately revoking access for all customers who currently have it. Use this when you're completely discontinuing a benefit rather than temporarily pausing it.
Get a benefit by ID
/v1/benefits/{id}Retrieve detailed information about a specific benefit, including its type, configuration, and which products it's attached to. Use this to verify benefit settings, display them to customers, or check product eligibility.
List all benefits
/v1/benefits/Retrieve all benefits you've set up for your products, such as license keys, downloads, or access perks that customers receive when they purchase. Use this to review your complete benefit catalog and understand what you're currently offering.
List grants for a specific benefit
/v1/benefits/{id}/grantsView all customers who have been granted access to a specific benefit, helping you track benefit distribution and verify customer access levels.
Update a benefit
/v1/benefits/{id}Modify an existing benefit's settings, such as license keys, download URLs, Discord role assignments, or other type-specific configurations to keep your customer rewards current and relevant.
Create and manage reusable checkout experiences that can be shared with customers. Use these operations to generate shareable links that customers can use to make purchases without needing a new checkout session each time.
Create a reusable checkout link
/v1/checkout-links/Create a reusable checkout link for your products that generates a new transaction session each time someone visits it. Use this to build persistent buy buttons and shareable purchase links that work across your marketing channels.
Delete a checkout link
/v1/checkout-links/{id}Permanently removes a checkout link so its URL becomes inactive and no longer processes transactions. This helps you manage your sales funnel by retiring outdated or compromised links.
Get a checkout link by ID
/v1/checkout-links/{id}Retrieves the details of a specific checkout link, including its URL, associated product, discounts, and performance metrics. Use this to verify your checkout configuration or display link information in your admin interface.
List all checkout links
/v1/checkout-links/Retrieve all your reusable checkout links so you can view, organize, and manage the payment pages you've created for your products and services.
Update a checkout link
/v1/checkout-links/{id}Modify an existing checkout link's settings including its label, applied discounts, and post-purchase redirect URL without needing to create a new link.
Handle the complete checkout flow from session creation through payment confirmation. These operations manage customer payment experiences, allowing you to create sessions, track progress, and finalize transactions across your sales funnel.
Confirm and finalize a checkout session
/v1/checkouts/client/{client_secret}/confirmComplete a customer's purchase by confirming their checkout session, which processes payment and delivers their products or subscription access immediately.
Create a new checkout session
/v1/checkouts/Initiates a payment session that generates a checkout URL for customers to complete purchases, allowing you to embed payment collection directly into your application or send payment links to customers.
Get a checkout session by client secret
/v1/checkouts/client/{client_secret}Retrieve checkout session details using a client-safe identifier to display payment information and order summaries in your frontend application without exposing sensitive server data.
Get a checkout session by ID
/v1/checkouts/{id}Retrieve detailed information about a specific checkout session including its status, products, and customer details to verify payment completion or display order confirmations.
List all checkout sessions
/v1/checkouts/Retrieve all checkout sessions created by your organization to monitor sales funnels and understand customer purchasing behavior. Use this data to identify abandoned carts, track conversion rates, and optimize your checkout process.
Update a checkout session
/v1/checkouts/{id}Modify checkout session details like customer email, discount codes, and custom fields before the purchase is completed. This lets you personalize the checkout experience or apply promotions in real-time based on customer actions.
Update a checkout session from the client
/v1/checkouts/client/{client_secret}Captures customer information like email, billing address, and tax details during checkout using client-side updates. Use this to collect required customer data and custom form responses directly from your checkout page.
Define and manage custom data fields for your products or subscriptions. Use these operations to extend your data model with organization-specific attributes that align with your unique business requirements and customer information needs.
Create a new custom field
/v1/custom-fields/Add a new custom field to collect specific information from customers during checkout, such as company details or tax IDs, helping you gather structured data tailored to your business needs.
Delete a custom field
/v1/custom-fields/{id}Remove a custom field from your checkout flow while preserving all historical data collected through that field on past orders.
Get a custom field by ID
/v1/custom-fields/{id}Retrieves the complete configuration details of a specific custom field, including its type, label, and properties. Use this to display field information in your admin interface or dynamically build forms based on stored field definitions.
List all custom fields
/v1/custom-fields/Retrieve all custom fields you've created to extend order and checkout data in your Polar workspace. Use this to see your entire custom field schema and manage what additional information you're collecting.
Update a custom field
/v1/custom-fields/{id}Modify a custom field's label, validation rules, or display settings to keep your data structure aligned with your business needs. This allows you to rename fields or adjust their properties without disrupting existing data.
Manage team seat assignments and invitations for multi-user subscription products. These operations handle the lifecycle of seat allocations, from inviting team members to claiming or revoking access within customer organizations.
Assign a seat to a user
/v1/customer-seatsProvision a subscription seat for a team member by assigning it to their email address, triggering an invitation for them to activate their access.
Claim an assigned seat
/v1/customer-seats/claimAllows a user to accept a seat invitation and gain access to subscription benefits by using their unique invitation token.
Get seat claim information
/v1/customer-seats/claim/{invitation_token}Retrieves details about a seat invitation so you can show users what subscription and benefits they'll receive before claiming their seat.
List all assigned seats
/v1/customer-seatsView all currently assigned seats across your customer subscriptions to understand who has access and which seats are in use.
Resend a seat invitation
/v1/customer-seats/{seat_id}/resendSends a fresh invitation email to claim a seat assignment when the original invitation was missed, expired, or went to spam. Use this to ensure team members can access their assigned seats without creating duplicate assignments.
Revoke a seat assignment
/v1/customer-seats/{seat_id}Remove a user's access to a subscription by revoking their assigned seat, allowing you to free up that license for another team member.
Create secure sessions that allow customers to access your customer portal. Use this operation to generate authenticated sessions for self-service account management experiences.
Create a customer portal session
/v1/customer-sessions/Creates an authenticated session that allows customers to securely access and manage their subscriptions, billing information, and account benefits directly from your application.
Track and retrieve usage meter readings for your customers' consumption-based billing. These operations provide access to the meter data points that drive variable pricing and usage-based revenue calculations.
Get a customer meter reading
/v1/customer-meters/{id}Retrieve a specific customer's current usage data and billing period information to monitor their consumption levels. Use this to track how much of their plan they've used and identify when they're approaching their limits.
List customer meter readings
/v1/customer-meters/Retrieve meter readings for your customers to track their usage and monitor billing metrics. This helps you understand consumption patterns and ensure accurate usage-based billing.
Enable your customers to manage their own accounts, subscriptions, and licenses through a self-service experience. These operations support customer autonomy by providing access to portal functionality like profile updates, seat management, and subscription modifications.
Activate a license key from client
/v1/customer-portal/license-keys/activateEnables customers to activate license keys on their devices or installations directly from your customer portal without requiring authentication. Returns an activation ID that can be used for future deactivation or license management.
Add a member to your team
/v1/customer-portal/membersInvite a new team member to your organization by email, allowing them to access shared resources and collaborate on projects. If the email is already associated with your team, the existing member record is returned.
Add a new payment method
/v1/customer-portal/customers/me/payment-methodsEnables customers to securely add and store a new payment method to their account, such as a credit card or alternative payment option. This helps reduce transaction failures and improves customer checkout flexibility.
Assign a seat to a team member
/v1/customer-portal/seatsInvite a team member to join your subscription by assigning them an available seat and sending them a claim invitation via email.
Cancel your subscription
/v1/customer-portal/subscriptions/{id}Allows customers to cancel their active subscriptions through a self-service portal, with access typically continuing until the end of the current billing period. This enables solopreneurs to offer a frictionless cancellation experience without manual intervention.
Check payment status for an order
/v1/customer-portal/orders/{id}/payment-statusRetrieve the current payment status for a specific order to understand whether payment is pending, completed, or needs customer action. Use this to provide customers with real-time payment progress updates and determine if follow-up actions are required.
Confirm a pending payment method
/v1/customer-portal/customers/me/payment-methods/confirmCompletes the setup of a new payment method after the customer has finished any required authentication steps, such as 3D Secure verification. This ensures the payment method is fully activated and ready for transactions.
Confirm a retry payment
/v1/customer-portal/orders/{id}/confirm-paymentProcesses a retry payment for an order that previously failed, allowing customers to complete their purchase with an updated payment method. This helps recover lost sales when initial payment attempts don't go through.
Deactivate a license key from client
/v1/customer-portal/license-keys/deactivateAllows customers to deactivate their license keys from a specific device or installation, immediately freeing up the activation slot for use elsewhere. This is typically called from customer-facing applications when users switch devices or no longer need access on a particular machine.
Generate an invoice for your order
/v1/customer-portal/orders/{id}/invoiceGenerates a PDF invoice for a specific order that customers can download directly from your portal, making it easy for them to access invoices for their accounting needs whenever they need them.
Get a benefit grant by ID
/v1/customer-portal/benefit-grants/{id}Retrieve detailed information about a specific benefit grant that a customer has received, including what benefit was granted and which subscription it's linked to.
Get a license key by ID
/v1/customer-portal/license-keys/{id}Retrieve detailed information about a specific license key, including its activation status, usage limits, and expiration date. Use this to verify license validity, check how many devices are still available for activation, or display license details to your customers.
Get a specific usage meter
/v1/customer-portal/meters/{id}Retrieve detailed usage data for a specific metered resource, including current consumption and billing period information. This helps you display usage breakdowns and progress indicators to your customers.
Get a subscription by ID
/v1/customer-portal/subscriptions/{id}Retrieve the complete details of a specific subscription, including the current plan, billing period, and product information, so you can display accurate subscription status and management options to your customers.
Get a wallet by ID
/v1/customer-portal/wallets/{id}View a customer's wallet details including their current balance, currency, and recent transactions to understand their account status and spending activity.
Get an order by ID
/v1/customer-portal/orders/{id}Fetch detailed information about a specific customer order, including items, pricing, and payment status. This enables you to display order confirmations and billing details to your customers.
Get invoice data for your order
/v1/customer-portal/orders/{id}/invoiceRetrieve detailed invoice information for a specific order, including line items, taxes, and seller details to display or generate custom invoices for your customers.
Get the authenticated portal user
/v1/customer-portal/customer-session/userFetch the details of the currently logged-in customer in your portal to personalize their experience and display their account information.
Get the portal organization
/v1/customer-portal/organizations/{slug}Retrieve your organization's details and branding information for your customer portal by providing its unique identifier, allowing you to display consistent branding across customer-facing pages.
Get your customer profile
/v1/customer-portal/customers/meRetrieve the authenticated customer's profile information including name, email, billing address, and any custom data stored in their account. Use this to display account settings and pre-fill forms in your customer portal.
Inspect current portal session
/v1/customer-portal/customer-session/introspectVerify the validity and details of a customer's current portal session, including their identity and permissions. Use this to confirm a customer is logged in and has access to specific features before allowing them to perform actions.
List subscriptions where you have a seat
/v1/customer-portal/seats/subscriptionsRetrieve all subscriptions where the authenticated customer has an active seat, allowing you to display their current team memberships and access to shared subscriptions.
List your benefit grants
/v1/customer-portal/benefit-grants/Retrieve the list of benefits a customer has earned through their purchases, showing their current entitlements and access rights. Use this to display what the customer has unlocked in your customer portal.
List your downloadable files
/v1/customer-portal/downloadables/Retrieve a customer's available downloadable files from their purchases so you can display them in a customer portal or dashboard. This lets your customers easily access digital products, software, or media they've bought from you.
List your license keys
/v1/customer-portal/license-keys/Retrieve all license keys granted to the authenticated customer, enabling them to view and manage their software licenses in one place.
List your order history
/v1/customer-portal/orders/Retrieve a customer's complete order history including one-time purchases and subscription renewals to display billing records and transaction details in your customer portal.
List your saved payment methods
/v1/customer-portal/customers/me/payment-methodsRetrieve all payment methods saved to your customer account, including credit cards and other payment instruments. Use this to display a payment method management interface where your customers can view and manage their stored payment options.
List your subscriptions
/v1/customer-portal/subscriptions/Retrieves all active and past subscriptions for the authenticated customer, allowing you to display their subscription history and current plans in your customer portal. Use this to help customers manage their accounts and understand their billing status.
List your team members
/v1/customer-portal/membersRetrieve all members of your team to view and manage who has access to your account. This helps you keep track of your team roster and coordinate permissions across your organization.
List your team seats
/v1/customer-portal/seatsRetrieve all seat assignments for your team members on per-seat subscription plans, including pending invitations and available capacity. This helps you manage who has access to your subscription and track your team's resource usage.
List your usage meters
/v1/customer-portal/meters/Retrieve your customer's current usage data across metered billing dimensions to display consumption tracking and plan limits in your customer portal.
List your wallets
/v1/customer-portal/wallets/Retrieve all wallet accounts associated with your customer profile, including their current prepaid credit balances that can be used for purchases or subscriptions.
Remove a member from your team
/v1/customer-portal/members/{id}Revoke a team member's access to your Polar account by removing them from your team. Use this when team members leave or no longer need platform access.
Remove a saved payment method
/v1/customer-portal/customers/me/payment-methods/{id}Allows customers to remove a saved payment method from their account, such as expired or unwanted credit cards. This helps customers manage their payment information and keep their account clean.
Resend a seat invitation email
/v1/customer-portal/seats/{seat_id}/resendResend an invitation email to a team member for an unclaimed seat when the original message wasn't received or has been lost. This helps you quickly get team members onboarded without creating duplicate invitations.
Revoke a team seat
/v1/customer-portal/seats/{seat_id}Remove a team member's access to subscription benefits by revoking their assigned seat. This frees up the seat so you can reassign it to another team member when needed.
Update a benefit grant
/v1/customer-portal/benefit-grants/{id}Allows customers to modify settings for their benefit grants, such as changing which GitHub repository is connected or updating custom integration configurations.
Update a team member's role
/v1/customer-portal/members/{id}Change a team member's role and permissions within your organization, allowing you to grant or revoke access levels as your team grows or responsibilities shift.
Update order details
/v1/customer-portal/orders/{id}Allow customers to update their billing information directly, such as correcting their address or custom details for accurate invoicing without requiring manual intervention.
Update your customer profile
/v1/customer-portal/customers/meAllow customers to update their own profile information like name, email, and billing address through your customer portal, reducing the need for manual account management.
Update your subscription
/v1/customer-portal/subscriptions/{id}Allows customers to modify their subscription details directly, such as upgrading to a higher tier, downgrading their plan, or switching products without needing your intervention.
Validate a license key from client
/v1/customer-portal/license-keys/validateVerify that a customer's license key is valid and has available activations remaining, enabling you to grant access to your product from client-side applications without exposing sensitive credentials.
Create, retrieve, and manage your complete customer database and their associated information. These operations form the foundation for customer relationship management, supporting bulk operations, external ID mapping, and full customer state tracking.
List all customers
/v1/customers/Retrieve a paginated list of all customers in your organization with support for filtering by email, organization, and metadata to help you search, manage, and organize customer information.
Create a new customer
/v1/customers/Create a customer record in Polar to register new buyers before purchase or sync existing customers from your application. This enables you to maintain a unified customer database and track customer relationships across your sales channels.
Delete a customer by external ID
/v1/customers/external/{external_id}Remove a customer from your billing system and immediately cancel all their active subscriptions and benefits. Use this when you need to delete a user account from your application while ensuring their Polar billing data is also cleaned up.
Delete a customer permanently
/v1/customers/{id}Permanently remove a customer record from your business and automatically cancel their active subscriptions and benefits, with an option to anonymize their personal data for privacy compliance.
Export customers as CSV
/v1/customers/exportDownload your complete customer list as a CSV file containing contact details and metadata for external use or analysis.
Get a customer by ID
/v1/customers/{id}Retrieve detailed information about a specific customer by their ID, including their email, name, and any associated metadata. Use this to display customer profiles, verify customer identity, or load customer context before performing account operations.
Get a customer's full state
/v1/customers/{id}/stateRetrieve a complete snapshot of a customer's current subscriptions, benefits, and entitlements to understand exactly what they have access to. Use this to check customer status, control feature access, and keep your customer dashboards up-to-date.
Get customer state by external ID
/v1/customers/external/{external_id}/stateRetrieve a customer's subscription status, benefits, and entitlements using your own user ID system, enabling you to check what features they have access to without maintaining separate ID mappings.
Look up a customer by your external ID
/v1/customers/external/{external_id}Retrieve a customer's account details and subscription information using your own user ID instead of Polar's internal identifier, letting you seamlessly connect your app's user database with their subscription data.
Update a customer
/v1/customers/{id}Modify a customer's profile information including name, email, and billing details to keep your records synchronized with current customer data.
Update a customer by external ID
/v1/customers/external/{external_id}Update customer information in Polar using your own user ID system, keeping customer profiles synchronized between your application and Polar without managing separate ID mappings.
Design and administer promotional discounts that reduce customer costs or incentivize purchases. Use these operations to create discount campaigns, apply them strategically, and track their usage across your business.
Create a new discount
/v1/discounts/Create promotional discounts that customers can apply at checkout with percentage or fixed-amount savings. Set up time-limited offers, loyalty rewards, or affiliate codes with optional restrictions by product or redemption limits.
Delete a discount
/v1/discounts/{id}Remove a discount code from circulation to prevent future redemptions while keeping existing orders intact. Use this to retire expired promotions, remove duplicate codes, or disable compromised discounts.
Get a discount by ID
/v1/discounts/{id}Retrieve detailed information about a specific discount, including its configuration, redemption limits, and usage statistics. Use this to verify discount settings or display discount details to customers and team members.
List all discounts
/v1/discounts/Retrieve all your discount codes and promotions organized in a paginated list. Use this to track active discounts, manage promotional campaigns, and see what deals are currently available to your customers.
Update a discount
/v1/discounts/{id}Modify an existing discount's settings such as expiration date, redemption limits, or product eligibility. This lets you quickly adjust promotional rules without creating new discounts.
Monitor and manage payment disputes and chargebacks from your customers. These operations give you visibility into disputed transactions so you can respond appropriately and track dispute resolution status.
Get a dispute by ID
/v1/disputes/{id}Retrieve detailed information about a specific payment dispute, including the reason, amount, evidence deadline, and current status to investigate and respond to chargebacks.
List all payment disputes
/v1/disputes/Retrieve a list of payment disputes and chargebacks filed against your account, allowing you to monitor dispute activity and track resolution status.
Configure and analyze the event types that drive your usage tracking and metrics. These operations help you understand which events are being tracked and their statistical patterns within your system.
List event types with statistics
/v1/event-types/Retrieve all event types with aggregated statistics including event counts and timestamps to understand which events are active in your system.
Update an event type label
/v1/event-types/{id}Rename how an event type appears in your dashboard and admin interface for better clarity, without affecting the underlying system. Use this to make event names more meaningful and easier to understand at a glance.
Record and retrieve usage events that power consumption-based billing and analytics. Use these operations to send customer activity data to Polar and query historical event logs for billing and reporting purposes.
Get an event by ID
/v1/events/{id}Retrieve detailed information about a specific event including when it occurred, which customer triggered it, and any associated data. Use this to verify event details, investigate billing discrepancies, or audit customer activity.
List all events
/v1/events/Retrieve a paginated list of events tracked for your organization to monitor usage-based billing and metering data. This helps you verify that your application is sending the correct event data and troubleshoot any billing discrepancies.
List unique event names
/v1/events/namesRetrieves all distinct event names that have been tracked in your organization, allowing you to discover what events are available and verify your application is sending the correct event types.
Send a batch of usage events
/v1/events/ingestTrack and report usage activities from your application to enable accurate usage-based billing and metering. This allows you to measure customer consumption like API calls, compute time, or storage so billing charges reflect actual usage.
Upload and manage files such as product images, documents, or media assets for your business. These operations handle the complete file lifecycle including uploads, metadata updates, and deletion.
Complete a file upload
/v1/files/{id}/uploadedFinalizes a file upload by confirming that the content has been successfully transferred to the storage location, making the file available for use in your system.
Delete a file
/v1/files/{id}Remove a file from your storage to free up space and clean up outdated or unused media assets.
List all uploaded files
/v1/files/Retrieve all files you've uploaded to your organization, including product media, downloadable assets, and attachments. Use this to organize your file library, display content to customers, or monitor your storage usage.
Update file metadata
/v1/files/{id}Update a file's name, description, or other metadata without re-uploading the actual content. This lets you keep your file library organized and easy to find.
Upload a new file
/v1/files/Prepare a file for upload by creating a file record and receiving a presigned URL where you can store your content. This is the first step in adding product images, digital downloads, or other attachments to your Polar workspace.
Generate and manage license keys for software product protection and distribution. These operations support activation, validation, and deactivation of licenses both from client and server contexts.
Activate a license key server-side
/v1/license-keys/activateActivate a license key instance from your backend server when a customer purchases or installs your software product. This consumes one activation slot and returns activation details for your records and customer tracking.
Deactivate a license key server-side
/v1/license-keys/deactivateDeactivate a license key instance to free up an activation slot, allowing the license to be used on a different device. Use this when you need server-side control over license management, such as when a customer upgrades their device or you're processing license returns.
Get a license key activation
/v1/license-keys/{id}/activations/{activation_id}Retrieve detailed information about a specific license key activation, including when it was activated and what device or installation it's associated with. Use this to track and verify which customers or machines are using your licensed software.
Get a license key by ID
/v1/license-keys/{id}Retrieve detailed information about a specific license key, including its validity status, usage count, and associated customer details. Use this to manage licenses, support customer inquiries, and maintain accurate records of your product activations.
List all license keys
/v1/license-keys/Retrieve all license keys issued by your organization to view your complete license inventory and monitor their status across customers and products.
Update a license key
/v1/license-keys/{id}Modify license key properties including activation limits, expiration dates, and status to manage customer access and licensing terms. This lets you extend licenses, accommodate upgrades, or disable compromised keys without issuing new ones.
Validate a license key server-side
/v1/license-keys/validateVerify that a license key is active and has available activations remaining, ensuring customers have valid access to your product or service.
Manage your organization's team members and their access levels. Use these operations to invite collaborators, adjust permissions, and maintain your team structure.
Create a new member
/v1/members/Invite and add new team members to your organization, enabling you to manage who has access to your workspace and resources.
Get a member by ID
/v1/members/{id}Retrieve detailed information about a specific organization member, including their name, email, and role within your organization.
List organization members
/v1/members/Retrieve all members in your organization with pagination support, allowing you to see who has access to your account and manage team permissions.
Remove a member
/v1/members/{id}Remove a member from your organization and revoke their access to subscriptions and benefits. Use this to offboard team members or manage access changes as your team evolves.
Update a member
/v1/members/{id}Modify a team member's name, role, or permissions within your organization. Use this to update member information, change job titles, or adjust access levels as your team evolves.
Define and monitor the usage dimensions that drive variable pricing for your products. These operations let you create meters, track their values over time, and use them as the basis for consumption-based billing calculations.
Create a new meter
/v1/meters/Set up a usage-based billing metric that tracks and aggregates customer activity into measurable quantities for charging purposes. This lets you automatically calculate billing amounts based on how customers actually use your product.
Get a meter by ID
/v1/meters/{id}Retrieve detailed information about a specific meter to view its configuration, event filtering rules, and how it's calculating metrics for your products.
Get meter quantities over time
/v1/meters/{id}/quantitiesRetrieve aggregated meter quantities over a specified time period, broken down by interval to track and analyze usage patterns. This helps you understand consumption trends and create visualizations of how your customers are using your metered services.
List all meters
/v1/meters/Retrieve all usage metrics configured for your organization to see how customer activity is being tracked and billed. This helps you understand your current billing meter setup and manage what you're measuring.
Update a meter
/v1/meters/{id}Modify how a meter tracks and aggregates usage data, including its name, event filters, and calculation methods to ensure accurate billing and usage insights.
Retrieve high-level business metrics including revenue and subscription analytics. Use these operations to gain insight into your financial performance and customer trends over specific date ranges.
Get available date range for metrics
/v1/metrics/limitsGet the available date range for your metrics data, helping you understand what historical data you can query and analyze. Use this to set up date filters in dashboards and reports without requesting unavailable data.
Get revenue and subscription metrics
/v1/metrics/Get comprehensive revenue and subscription data across your business over any date range, including total earnings, subscriber counts, and key performance metrics. Use this to understand your financial health and track business growth over time.
Manage OAuth2 clients and authentication flows for secure third-party integrations and delegated access. These operations support registering applications, handling token exchanges, and managing user authorization workflows.
Delete an OAuth2 client
/v1/oauth2/register/{client_id}Removes a registered OAuth2 client and immediately invalidates all tokens associated with it, terminating any active sessions. Use this when shutting down an integration or responding to a security breach.
Exchange grant for access token
/v1/oauth2/tokenObtain or refresh API access tokens needed to make authenticated requests to Polar's API after a user authorizes your application. This enables your app to securely access Polar data and features on behalf of your users.
Get an OAuth2 client by ID
/v1/oauth2/register/{client_id}Retrieve the configuration details of a registered OAuth2 client, including its redirect URIs, scopes, and metadata. This helps you verify client settings and maintain accurate records of your integrations.
Get authenticated user profile
/v1/oauth2/userinfoRetrieves the profile information of the currently logged-in user, including their email and name, to identify who authorized access to your application.
Initiate OAuth2 authorization
/v1/oauth2/authorizeRedirects users to Polar's consent screen to grant your application permission to access their account, then returns an authorization code your app can exchange for tokens.
Inspect token validity and scopes
/v1/oauth2/introspectCheck whether an access token is still valid and see what permissions it has, along with when it expires. This helps you verify that a user is properly authenticated before allowing them to access protected features in your application.
Register an OAuth2 client
/v1/oauth2/registerSet up a new application that can connect to Polar and access user data through secure login, requiring you to specify where users will be redirected after authentication and what permissions the app needs.
Revoke an access or refresh token
/v1/oauth2/revokeInvalidates an access or refresh token to immediately disconnect a user's account integration or terminate an active session. Revoking a refresh token also invalidates all associated access tokens, providing a clean way to manage authentication state.
Update an OAuth2 client
/v1/oauth2/register/{client_id}Modify your OAuth2 client's settings such as redirect URIs and allowed scopes when your integration requirements change or you need to support new environments.
Create, retrieve, and manage individual orders and their associated invoice data. These operations provide visibility into order history, enable order modifications, and support bulk export for reporting purposes.
List all orders
/v1/orders/Retrieve all completed purchases from your store, including one-time sales and subscription renewals. Use this to view your order history, verify revenue, and automate follow-up actions after customers buy.
Export orders as CSV
/v1/orders/exportDownload all your orders in CSV format to use with accounting software, spreadsheets, or financial analysis tools. Perfect for tracking sales data, preparing tax documents, or migrating information to another platform.
Generate an invoice for an order
/v1/orders/{id}/invoiceCreate a PDF invoice for a specific order that can be sent to customers or stored for your records. This is useful when you need to provide billing documentation to customers or maintain organized financial records.
Get an order by ID
/v1/orders/{id}Retrieve complete details about a specific order including line items, amounts, tax information, customer data, and payment status to verify purchase information or investigate order issues.
Get invoice data for an order
/v1/orders/{id}/invoiceRetrieve complete invoice details for a specific order, including line items, taxes, and seller information to use in your business systems.
Update an order
/v1/orders/{id}Modify an order's details such as billing address, internal notes, or custom fields to keep your order information accurate and organized.
Create and manage API tokens for programmatic access to your organization's resources. Use these operations to issue credentials for automation, rotate tokens for security, and control token permissions.
Create an organization access token
/v1/organization-access-tokens/Generate a reusable access token tied to your organization rather than an individual user, enabling secure programmatic access for automated systems and integrations that persist across team changes.
List organization access tokens
/v1/organization-access-tokens/Retrieve all access tokens created for your organization to see which API credentials are active and manage programmatic access. This helps you track and audit which applications or integrations have permission to interact with your organization's data.
Revoke an organization access token
/v1/organization-access-tokens/{id}Immediately revoke API access by deleting an organization access token, preventing any further requests from using that credential.
Update an organization access token
/v1/organization-access-tokens/{id}Modify a token's permissions, description, or resource access rights without needing to generate a new token. This helps you adjust what actions the token can perform or add notes for easier management.
Set up and manage the top-level organizations that contain your products, customers, and team members. These operations let you create organization structures, update settings, and organize your complete business presence.
Create a new organization
/v1/organizations/Set up a new organization on Polar to establish a top-level account that will manage products, customers, and billing. Use this when bringing on a new seller or launching a separate brand under your platform.
Get an organization by ID
/v1/organizations/{id}Fetch complete details about a specific organization including its name, configuration, and available features. Use this to verify organization settings and understand what capabilities are enabled before performing operations.
List all organizations
/v1/organizations/Retrieve all organizations you have access to, useful for displaying organization selection menus or syncing your organizational structure with your application.
Update an organization
/v1/organizations/{id}Update your organization's core settings including name, branding, billing information, and feature configurations to keep your business details current and manage capabilities.
Retrieve and analyze payment transactions processed through your checkout or subscription billing. Use these operations to track payment history and reconcile customer charges.
Get a payment by ID
/v1/payments/{id}Retrieve detailed information about a specific payment transaction including its status, amount, and payment method. Use this to verify transaction details, investigate payment issues, or generate payment receipts for customers.
List all payments
/v1/payments/Retrieve all payments processed through your organization to track financial transactions and monitor cash flow. This gives you visibility into successful charges, failed payments, and pending transactions for your business.
Create and configure the products or services that customers can subscribe to or purchase. These operations let you define product details, pricing structures, and associated benefits that form the core of your offerings.
Create a new product
/v1/products/Add a new product to your catalog with custom pricing, descriptions, and benefits. Use this to launch subscription tiers, one-time purchases, or digital goods that customers can buy.
Get a product by ID
/v1/products/{id}Retrieve detailed information about a specific product including its pricing, benefits, and media to display on your store or verify product details before processing orders.
List all products
/v1/products/Retrieve your complete product catalog to display on your website, pricing pages, or integrate with other business tools. Filter products by type and status to find exactly what you need.
Update a product
/v1/products/{id}Modify your product's details including name, description, pricing, and visibility. Changes take effect immediately for new purchases while preserving existing customer agreements.
Update benefits for a product
/v1/products/{id}/benefitsModify the benefits customers receive when they purchase a product, such as access to license keys, files, or integrations. Use this to add, remove, or update what value your customers get after buying.
Issue and track refunds for processed payments and orders. Use these operations to handle customer refund requests and maintain accurate financial records of returned transactions.
Issue a refund
/v1/refunds/Process a refund for a previous customer order by returning funds to their original payment method. Use this to handle customer refund requests, resolve billing issues, or automate refund workflows based on support interactions.
List all refunds
/v1/refunds/Retrieve all refunds issued by your organization to track refund activity and reconcile your financial records. Use this to monitor customer returns and maintain accurate accounting across your business.
Create and manage recurring subscription agreements with your customers. These operations handle subscription lifecycle management from initial creation through updates, renewals, and cancellation.
Create a subscription programmatically
/v1/subscriptions/Enroll customers directly into free subscriptions without requiring them to go through checkout, ideal for automated provisioning and free tier onboarding.
List all subscriptions
/v1/subscriptions/Retrieve all subscriptions across your organization to monitor recurring revenue and customer retention. Use filters to view subscriptions by product, customer, or status for targeted insights.
Export subscriptions as CSV
/v1/subscriptions/exportDownload all your subscription data as a CSV file for easy analysis, reporting, and integration with external tools like spreadsheets or accounting software.
Get a subscription by ID
/v1/subscriptions/{id}Retrieve complete details about a specific subscription including its status, current period, pricing, and associated customer and product information.
Revoke a subscription immediately
/v1/subscriptions/{id}Immediately terminate a customer's subscription and revoke their access, useful for addressing security issues or enforcing account policies right away.
Update a subscription
/v1/subscriptions/{id}Modify an active subscription's plan, pricing, or custom attributes to reflect customer changes or business adjustments.
Set up real-time notifications for events occurring in your Polar account. These operations let you receive event data instantly, manage webhook endpoints, and troubleshoot delivery issues for integration purposes.
Create a webhook endpoint
/v1/webhooks/endpointsRegister a URL to receive real-time notifications when subscription, order, or payment events occur in your Polar account. This enables you to automatically sync customer data, trigger workflows, or integrate Polar events with your other business tools.
Delete a webhook endpoint
/v1/webhooks/endpoints/{id}Permanently remove a webhook endpoint to stop all future event deliveries when you no longer need the integration.
Get a webhook endpoint by ID
/v1/webhooks/endpoints/{id}Retrieves the configuration details of a specific webhook endpoint, including its URL, subscribed events, and status. Use this to verify your webhook setup is correct or troubleshoot why events aren't being delivered.
List all webhook endpoints
/v1/webhooks/endpointsView all webhook endpoints your organization has set up to receive real-time events from Polar. Use this to see which URLs are currently configured to receive notifications and manage your event delivery setup.
List webhook delivery attempts
/v1/webhooks/deliveriesView all webhook delivery attempts to see which events successfully reached your endpoints and which failed, helping you troubleshoot delivery issues and ensure your integrations are working reliably.
Redeliver a webhook event
/v1/webhooks/events/{id}/redeliverRetry sending a failed webhook event to its destination endpoint, useful for recovering from temporary delivery issues or outages without waiting for the next automatic retry attempt.
Rotate webhook signing secret
/v1/webhooks/endpoints/{id}/secretRegenerate the signing secret used to verify webhook messages from Polar, ensuring your webhook endpoint can securely receive and validate future notifications from the platform.
Update a webhook endpoint
/v1/webhooks/endpoints/{id}Modify a webhook endpoint's configuration, including its delivery URL, subscribed events, or active status without losing its history or settings.
Drop a trigger and an action into a template; approve from your phone; the workflow runs.