# OurPay > OurPay is a hosted merchant-of-record service for products, checkouts, subscriptions, and billing. ## Documentation - [API Overview](https://docs.ourpay.dev/api-reference/2026-04/introduction): Official SDK quickstarts, base URLs, authentication, pagination, rate limits, and API concepts - [API Overview](https://docs.ourpay.dev/api-reference/2026-10/introduction): Official SDK quickstarts, base URLs, authentication, pagination, rate limits, and API concepts - [API Overview](https://docs.ourpay.dev/api-reference/introduction): Official SDK quickstarts, base URLs, authentication, pagination, rate limits, and API concepts - [OurPay updates](https://docs.ourpay.dev/changelog/recent): Product and engineering updates from OurPay. - [Analytics](https://docs.ourpay.dev/features/analytics): Understand how every metric in your dashboard is calculated. - [Credits Benefit](https://docs.ourpay.dev/features/benefits/credits): Create your own Credits benefit - [Custom Benefit](https://docs.ourpay.dev/features/benefits/custom): Create your own Custom benefit - [Automate Discord Invites & Roles](https://docs.ourpay.dev/features/benefits/discord-access): Sell Discord access & roles with ease - [Feature Flag Benefit](https://docs.ourpay.dev/features/benefits/feature-flags): Gate access to features using simple, API-driven feature flags - [Automate Customer File Downloads](https://docs.ourpay.dev/features/benefits/file-downloads): Offer digital file downloads with ease - [Automate Private GitHub Repo(s) Access](https://docs.ourpay.dev/features/benefits/github-access): Sell premium GitHub repository access with ease - [Automated Benefits](https://docs.ourpay.dev/features/benefits/introduction) - [Automate Customer License Key Management](https://docs.ourpay.dev/features/benefits/license-keys): Sell license key access to your service, software or APIs with ease - [Shared Slack Channel](https://docs.ourpay.dev/features/benefits/slack-shared-channel): Give customers a shared Slack channel via Slack Connect - [Checkout Buttons](https://docs.ourpay.dev/features/checkout/embed): Open an OurPay-hosted checkout from any website or application - [Saving Payment Methods](https://docs.ourpay.dev/features/checkout/embed-payment-method): How PayPal payment methods are vaulted during checkout in the current deployment - [Checkout Links](https://docs.ourpay.dev/features/checkout/links): Persistent URLs that create a Checkout Session on visit - [Checkout Localization](https://docs.ourpay.dev/features/checkout/localization): Serve checkout in your customer's preferred language - [Checkout API](https://docs.ourpay.dev/features/checkout/session): Create checkout sessions programmatically for complete control - [Cost Events](https://docs.ourpay.dev/features/cost-insights/cost-events): Track costs by adding cost metadata to your ingested events - [Cost Traces](https://docs.ourpay.dev/features/cost-insights/cost-traces): Aggregate events by user sessions to calculate costs - [Introduction to Cost Insights](https://docs.ourpay.dev/features/cost-insights/introduction): Track costs, profits, and customer lifetime value with event-based cost tracking - [Custom Fields](https://docs.ourpay.dev/features/custom-fields): Learn how to add custom input fields to your checkout with OurPay - [Customer Management](https://docs.ourpay.dev/features/customer-management): Get insights on your customers and sales - [Customer Portal](https://docs.ourpay.dev/features/customer-portal/introduction): The self-service destination for your customers - [Navigate Customers to the Portal](https://docs.ourpay.dev/features/customer-portal/navigate-customers): Three ways your customers can reach their Customer Portal - [Customer Portal Settings](https://docs.ourpay.dev/features/customer-portal/settings): Configure what customers can do from the Customer Portal - [Discounts](https://docs.ourpay.dev/features/discounts): Create discounts on products and subscriptions - [Domestic and crypto payments](https://docs.ourpay.dev/features/domestic-and-crypto-payments): Accept INR directly into seller bank accounts and native USDC on supported networks into the operator's wallets. - [Seller Verification and Bank Details](https://docs.ourpay.dev/features/finance/accounts): Complete seller verification and save an Indian bank account for future payouts - [Seller Payable and Fees](https://docs.ourpay.dev/features/finance/balance): Understand the organization ledger separately from cash in the central PayPal account - [Payouts](https://docs.ourpay.dev/features/finance/payouts): Default payout status and the feature-gated PayPal Payouts rail - [OurPay and Affonso](https://docs.ourpay.dev/features/integrations/affonso): Plan an integration for affiliate attribution using the OurPay API and webhooks. - [OurPay and Fernand](https://docs.ourpay.dev/features/integrations/fernand): Plan an integration for customer support context using the OurPay API and webhooks. - [Use OurPay on a Framer site](https://docs.ourpay.dev/features/integrations/framer): Link a Framer purchase button to an OurPay hosted checkout. - [OurPay and ParityDeals](https://docs.ourpay.dev/features/integrations/paritydeals): Plan an integration for regional discounts using the OurPay API and webhooks. - [Use OurPay from Raycast](https://docs.ourpay.dev/features/integrations/raycast): Use dashboard shortcuts or build a scoped API integration. - [OurPay and Zapier](https://docs.ourpay.dev/features/integrations/zapier): Plan an integration for workflow automation using the OurPay API and webhooks. - [Orders](https://docs.ourpay.dev/features/orders): Every paid transaction on OurPay is an order. - [Payment providers](https://docs.ourpay.dev/features/payment-providers): Payment collection, provider fees, and implementation details for OurPay’s reseller model. - [Products](https://docs.ourpay.dev/features/products): Start selling digital products on OurPay in minutes. - [Manage Refunds](https://docs.ourpay.dev/features/refunds): You can easily refund orders on OurPay — both in full or in parts. - [Seat-Based Pricing](https://docs.ourpay.dev/features/seat-based-pricing): Sell team products with assignable seats and tiered pricing - [Single Sign-On](https://docs.ourpay.dev/features/sso): Let your team sign in to OurPay through your own identity provider, and become members automatically. - [Recovering failed payments](https://docs.ourpay.dev/features/subscriptions/failed-payments): How OurPay retries failed renewals before revoking a subscription. - [Subscriptions](https://docs.ourpay.dev/features/subscriptions/introduction): Recurring revenue on top of your products. - [Managing subscriptions](https://docs.ourpay.dev/features/subscriptions/manage): Everything you can do to a subscription after it's been created. - [Proration](https://docs.ourpay.dev/features/subscriptions/proration): Control how the price difference is billed when a subscription is upgraded or downgraded. - [Trials](https://docs.ourpay.dev/features/subscriptions/trials): Offer free trials on your subscriptions - [Tax Inclusive Pricing](https://docs.ourpay.dev/features/tax-inclusive-pricing): Configure how a tax-enabled deployment presents tax at checkout - [Team Management](https://docs.ourpay.dev/features/team-management): Invite teammates to your organization, manage their roles, and control what they can access in the OurPay dashboard. - [Unit-Based Pricing](https://docs.ourpay.dev/features/unit-based-pricing): Let a customer choose a prepaid quantity with fixed, volume, or graduated pricing - [Billing](https://docs.ourpay.dev/features/usage-based-billing/billing): How billing works with Usage Based - [Credits](https://docs.ourpay.dev/features/usage-based-billing/credits): Crediting customers for Usage Based Billing - [Event Ingestion](https://docs.ourpay.dev/features/usage-based-billing/event-ingestion): Ingest events from your application - [Execution Time](https://docs.ourpay.dev/features/usage-based-billing/ingestion-strategies/delta-time-strategy): Measure and ingest the duration of an operation - [Instrumentation Recipes](https://docs.ourpay.dev/features/usage-based-billing/ingestion-strategies/ingestion-strategy): Measure application usage with the official OurPay SDKs - [LLM Strategy](https://docs.ourpay.dev/features/usage-based-billing/ingestion-strategies/llm-strategy): Record LLM token usage and cost with the official OurPay SDKs - [Object Storage](https://docs.ourpay.dev/features/usage-based-billing/ingestion-strategies/s3-strategy): Record object-storage operations with the official OurPay SDK - [Stream Bytes](https://docs.ourpay.dev/features/usage-based-billing/ingestion-strategies/stream-strategy): Record bytes transferred through a stream - [Introduction](https://docs.ourpay.dev/features/usage-based-billing/introduction): Usage based billing using ingested events - [Meters](https://docs.ourpay.dev/features/usage-based-billing/meters): Creating and managing meters for Usage Based Billing - [Integrate OurPay with Encore](https://docs.ourpay.dev/guides/encore): In this guide, we'll show you how to integrate OurPay with Encore. - [How to Grant Meter Credits After Purchase](https://docs.ourpay.dev/guides/grant-meter-credits-after-purchase): Learn how to automatically grant meter credits to users after purchase using the Meter Credits benefits or Webhooks. - [How to Grant Meter Credits Before Purchase](https://docs.ourpay.dev/guides/grant-meter-credits-before-purchase): Learn how to grant meter credits to customers before they make any purchase using the OurPay API. - [Guides](https://docs.ourpay.dev/guides/introduction): Step-by-step walkthroughs for implementing common OurPay patterns. - [Integrate OurPay with Laravel](https://docs.ourpay.dev/guides/laravel): Create hosted checkouts and verify OurPay webhooks from Laravel - [Migrate Seat-Based Pricing to the Member Model](https://docs.ourpay.dev/guides/migrate-seat-based-to-member-model): What changes when your organization moves to the member model, and how to update your integration - [Integrate OurPay with Next.js](https://docs.ourpay.dev/guides/nextjs): In this guide, we'll show you how to integrate OurPay with Next.js. - [Implementing Seat-Based Pricing](https://docs.ourpay.dev/guides/seat-based-pricing): Complete guide to implementing team products with seat-based pricing - [Authentication](https://docs.ourpay.dev/integrate/authentication) - [Customer State](https://docs.ourpay.dev/integrate/customer-state): The quickest way to integrate billing in your application - [OurPay over Model Context Protocol (MCP)](https://docs.ourpay.dev/integrate/mcp): Connect an AI client to your OurPay organization through the hosted MCP server - [Organization Access Tokens](https://docs.ourpay.dev/integrate/oat) - [OAuth 2.0 Connect](https://docs.ourpay.dev/integrate/oauth2/connect) - [Introduction](https://docs.ourpay.dev/integrate/oauth2/introduction): For partners building services and extensions for OurPay customers - [Create an OAuth 2.0 Client](https://docs.ourpay.dev/integrate/oauth2/setup) - [Sandbox Environment](https://docs.ourpay.dev/integrate/sandbox): Test PayPal checkout and the API without moving real money - [Python SDK](https://docs.ourpay.dev/integrate/sdk/python): Fully typed Python client for the OurPay API - [TypeScript SDK](https://docs.ourpay.dev/integrate/sdk/typescript): SDK for JavaScript runtimes (Node.js and Browser) - [Handle & monitor webhook deliveries](https://docs.ourpay.dev/integrate/webhooks/delivery): How to parse, validate and handle webhooks and monitor their - [Setup Webhooks](https://docs.ourpay.dev/integrate/webhooks/endpoints): Get notifications asynchronously when events occur instead of - [Webhook Events](https://docs.ourpay.dev/integrate/webhooks/events): Our webhook events and in which context they are useful - [Integrating Webhooks Locally](https://docs.ourpay.dev/integrate/webhooks/locally): Deliver sandbox webhooks to a handler running on your machine - [OurPay documentation](https://docs.ourpay.dev/introduction): Products, checkout, subscriptions and payment records in one developer platform. - [Acceptable use](https://docs.ourpay.dev/merchant-of-record/acceptable-use): Products and services that can be sold through OurPay. - [Account Reviews](https://docs.ourpay.dev/merchant-of-record/account-reviews): How organization review and seller verification work in the current deployment - [Fees](https://docs.ourpay.dev/merchant-of-record/fees): OurPay pricing with payment-provider processing fees included - [Merchant of Record](https://docs.ourpay.dev/merchant-of-record/introduction): OurPay’s reseller model, supplier responsibilities, and implementation status - [Supported Countries](https://docs.ourpay.dev/merchant-of-record/supported-countries): Current seller, customer-payment, and payout availability - [Migrate to OurPay](https://docs.ourpay.dev/migrate): Move a catalog and customers without assuming payment credentials are portable - [Migrate Away from OurPay](https://docs.ourpay.dev/migrate-away): Export business records and move billing without assuming PayPal credentials are portable - [Support](https://docs.ourpay.dev/support) ## API reference - [benefit.created](https://docs.ourpay.dev/api-reference/2026-04/benefit_created): Sent when a new benefit is created. **Discord & Slack support:** Basic - [benefit_grant.created](https://docs.ourpay.dev/api-reference/2026-04/benefit_grant_created): Sent when a new benefit grant is created. **Discord & Slack support:** Basic - [benefit_grant.cycled](https://docs.ourpay.dev/api-reference/2026-04/benefit_grant_cycled): Sent when a benefit grant is cycled, meaning the related subscription has been renewed for another period. **Discord & Slack support:** Basic - [benefit_grant.revoked](https://docs.ourpay.dev/api-reference/2026-04/benefit_grant_revoked): Sent when a benefit grant is revoked. **Discord & Slack support:** Basic - [benefit_grant.updated](https://docs.ourpay.dev/api-reference/2026-04/benefit_grant_updated): Sent when a benefit grant is updated. **Discord & Slack support:** Basic - [benefit.updated](https://docs.ourpay.dev/api-reference/2026-04/benefit_updated): Sent when a benefit is updated. **Discord & Slack support:** Basic - [List Benefit Grants](https://docs.ourpay.dev/api-reference/2026-04/benefit-grants/list-benefit-grants): List benefit grants across all benefits accessible to the authenticated subject. - [Create Benefit](https://docs.ourpay.dev/api-reference/2026-04/benefits/create-benefit): Create a benefit. - [Delete Benefit](https://docs.ourpay.dev/api-reference/2026-04/benefits/delete-benefit): Delete a benefit. > [!WARNING] > Every grants associated with the benefit will be revoked. > Users will lose access to the benefit. - [Get Benefit](https://docs.ourpay.dev/api-reference/2026-04/benefits/get-benefit): Get a benefit by ID. - [List Benefit Files](https://docs.ourpay.dev/api-reference/2026-04/benefits/list-benefit-files): List the downloadable files for a benefit with their download statistics. - [List Benefit Grants](https://docs.ourpay.dev/api-reference/2026-04/benefits/list-benefit-grants): List the individual grants for a benefit. It's especially useful to check if a user has been granted a benefit. - [List Benefits](https://docs.ourpay.dev/api-reference/2026-04/benefits/list-benefits): List benefits. - [Update Benefit](https://docs.ourpay.dev/api-reference/2026-04/benefits/update-benefit): Update a benefit. - [checkout.created](https://docs.ourpay.dev/api-reference/2026-04/checkout_created): Sent when a new checkout is created. **Discord & Slack support:** Basic - [checkout.expired](https://docs.ourpay.dev/api-reference/2026-04/checkout_expired): Sent when a checkout expires. This event fires when a checkout reaches its expiration time without being completed. Developers can use this to send reminder emails or track checkout abandonment. **Discord & Slack support:** Basic - [checkout.updated](https://docs.ourpay.dev/api-reference/2026-04/checkout_updated): Sent when a checkout is updated. **Discord & Slack support:** Basic - [Create Checkout Link](https://docs.ourpay.dev/api-reference/2026-04/checkout-links/create-checkout-link): Create a checkout link. - [Delete Checkout Link](https://docs.ourpay.dev/api-reference/2026-04/checkout-links/delete-checkout-link): Delete a checkout link. - [Get Checkout Link](https://docs.ourpay.dev/api-reference/2026-04/checkout-links/get-checkout-link): Get a checkout link by ID. - [List Checkout Links](https://docs.ourpay.dev/api-reference/2026-04/checkout-links/list-checkout-links): List checkout links. - [Update Checkout Link](https://docs.ourpay.dev/api-reference/2026-04/checkout-links/update-checkout-link): Update a checkout link. - [Confirm Checkout Session from Client](https://docs.ourpay.dev/api-reference/2026-04/checkouts/confirm-checkout-session-from-client): Confirm a checkout session by client secret. Orders and subscriptions will be processed. - [Create Checkout Session](https://docs.ourpay.dev/api-reference/2026-04/checkouts/create-checkout-session): Create a checkout session. - [Get Checkout Session](https://docs.ourpay.dev/api-reference/2026-04/checkouts/get-checkout-session): Get a checkout session by ID. - [Get Checkout Session from Client](https://docs.ourpay.dev/api-reference/2026-04/checkouts/get-checkout-session-from-client): Get a checkout session by client secret. - [List Checkout Sessions](https://docs.ourpay.dev/api-reference/2026-04/checkouts/list-checkout-sessions): List checkout sessions. - [Update Checkout Session](https://docs.ourpay.dev/api-reference/2026-04/checkouts/update-checkout-session): Update a checkout session. - [Update Checkout Session from Client](https://docs.ourpay.dev/api-reference/2026-04/checkouts/update-checkout-session-from-client): Update a checkout session by client secret. - [Create Custom Field](https://docs.ourpay.dev/api-reference/2026-04/custom-fields/create-custom-field): Create a custom field. - [Delete Custom Field](https://docs.ourpay.dev/api-reference/2026-04/custom-fields/delete-custom-field): Delete a custom field. - [Get Custom Field](https://docs.ourpay.dev/api-reference/2026-04/custom-fields/get-custom-field): Get a custom field by ID. - [List Custom Fields](https://docs.ourpay.dev/api-reference/2026-04/custom-fields/list-custom-fields): List custom fields. - [Update Custom Field](https://docs.ourpay.dev/api-reference/2026-04/custom-fields/update-custom-field): Update a custom field. - [customer.created](https://docs.ourpay.dev/api-reference/2026-04/customer_created): Sent when a new customer is created. A customer can be created: * After a successful checkout. * Programmatically via the API. **Discord & Slack support:** Basic - [customer.deleted](https://docs.ourpay.dev/api-reference/2026-04/customer_deleted): Sent when a customer is deleted. **Discord & Slack support:** Basic - [Get Customer Meter](https://docs.ourpay.dev/api-reference/2026-04/customer_meters/get-customer-meter): Get a customer meter by ID. - [List Customer Meters](https://docs.ourpay.dev/api-reference/2026-04/customer_meters/list-customer-meters): List customer meters. - [Activate License Key](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/activate-license-key): Activate a license key instance. > This endpoint doesn't require authentication and can be safely used on a public > client, like a desktop application or a mobile app. > If you plan to validate a license key on a server, use the `/v1/license-keys/activate` > endpoint instead. - [Add Customer Payment Method](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/add-customer-payment-method): Add a payment method to the authenticated customer. - [Add Member](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/add-member): Add a new member to the customer's team. Only available to owners and billing managers of team customers. Rules: - Cannot add a member with the owner role (there must be exactly one owner) - If a member with this email already exists, the existing member is returned - [Assign Seat](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/assign-seat) - [Cancel Subscription](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/cancel-subscription): Cancel a subscription of the authenticated customer. - [Check Email Change Token](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/check-email-change-token): Check if an email change verification token is still valid. - [Confirm Customer Payment Method](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/confirm-customer-payment-method): Confirm a payment method for the authenticated customer. - [Confirm Retry Payment](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/confirm-retry-payment): Confirm a retry payment using a Stripe confirmation token. - [Deactivate License Key](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/deactivate-license-key): Deactivate a license key instance. > This endpoint doesn't require authentication and can be safely used on a public > client, like a desktop application or a mobile app. > If you plan to validate a license key on a server, use the `/v1/license-keys/deactivate` > endpoint instead. - [Delete Customer Payment Method](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/delete-customer-payment-method): Delete a payment method from the authenticated customer. - [Generate Order Invoice](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/generate-order-invoice): Trigger generation of an order's invoice. - [Get Authenticated Portal User](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-authenticated-portal-user): Get information about the currently authenticated portal user. - [Get Benefit Grant](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-benefit-grant): Get a benefit grant by ID for the authenticated customer. - [Get Customer](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-customer): Get authenticated customer. - [Get Customer Meter](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-customer-meter): Get a meter by ID for the authenticated customer. - [Get License Key](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-license-key): Get a license key. - [Get Order](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-order): Get an order by ID for the authenticated customer. - [Get Order Invoice](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-order-invoice): Get an order's invoice data. - [Get Order Payment Status](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-order-payment-status): Get the current payment status for an order. - [Get Order Receipt](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-order-receipt): Get a presigned URL to download an order's receipt PDF. - [Get Organization](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-organization): Get a customer portal's organization by slug. - [Get Subscription](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-subscription): Get a subscription for the authenticated customer. - [Get Wallet](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/get-wallet): Get a wallet by ID for the authenticated customer. - [Introspect Customer Session](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/introspect-customer-session): Introspect the current session and return its information. - [List Benefit Grants](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-benefit-grants): List benefits grants of the authenticated customer. - [List Claimed Subscriptions](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-claimed-subscriptions): List all subscriptions where the authenticated customer has claimed a seat. - [List Customer Payment Methods](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-customer-payment-methods): Get saved payment methods of the authenticated customer. - [List Downloadables](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-downloadables) - [List License Keys](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-license-keys) - [List Members](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-members): List all members of the customer's team. Only available to owners and billing managers of team customers. - [List Meters](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-meters): List meters of the authenticated customer. - [List Orders](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-orders): List orders of the authenticated customer. - [List Seats](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-seats) - [List Subscriptions](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-subscriptions): List subscriptions of the authenticated customer. - [List Wallets](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/list-wallets): List wallets of the authenticated customer. - [Remove Member](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/remove-member): Remove a member from the team. Only available to owners and billing managers of team customers. Rules: - Cannot remove yourself - Cannot remove the only owner - [Request Email Change](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/request-email-change): Request an email change for the authenticated customer. - [Resend Invitation](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/resend-invitation) - [Revoke Seat](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/revoke-seat) - [Rotate License Key](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/rotate-license-key): Rotate a license key. Generates a new key string for the same license key record. The previous key string immediately stops validating. Status, usage, limits, expiry, and activations are preserved. - [Update Benefit Grant](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/update-benefit-grant): Update a benefit grant for the authenticated customer. - [Update Customer](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/update-customer): Update authenticated customer. - [Update Member](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/update-member): Update a member's name or role. Only available to owners and billing managers of team customers. Rules: - Cannot modify your own role (to prevent self-demotion) - Customer must have exactly one owner at all times - [Update Order](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/update-order): Update an order for the authenticated customer. - [Update Subscription](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/update-subscription): Update a subscription of the authenticated customer. - [Validate License Key](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/validate-license-key): Validate a license key. > This endpoint doesn't require authentication and can be safely used on a public > client, like a desktop application or a mobile app. > If you plan to validate a license key on a server, use the `/v1/license-keys/validate` > endpoint instead. - [Verify Email Change](https://docs.ourpay.dev/api-reference/2026-04/customer_portal/verify-email-change): Verify an email change using the token from the verification email. - [customer_seat.assigned](https://docs.ourpay.dev/api-reference/2026-04/customer_seat_assigned): Sent when a new customer seat is assigned. This event is triggered when a seat is assigned to a customer by the organization. The customer will receive an invitation email to claim the seat. - [customer_seat.claimed](https://docs.ourpay.dev/api-reference/2026-04/customer_seat_claimed): Sent when a customer seat is claimed. This event is triggered when a customer accepts the seat invitation and claims their access. - [customer_seat.revoked](https://docs.ourpay.dev/api-reference/2026-04/customer_seat_revoked): Sent when a customer seat is revoked. This event is triggered when access to a seat is revoked, either manually by the organization or automatically when a subscription is canceled. - [customer.state_changed](https://docs.ourpay.dev/api-reference/2026-04/customer_state_changed): Sent when a customer state has changed. It's triggered when: * Customer is created, updated or deleted. * A subscription is created or updated. * A benefit is granted or revoked. **Discord & Slack support:** Basic - [customer.updated](https://docs.ourpay.dev/api-reference/2026-04/customer_updated): Sent when a customer is updated. This event is fired when the customer details are updated. If you want to be notified when a customer subscription or benefit state changes, you should listen to the `customer_state_changed` event. **Discord & Slack support:** Basic - [Assign Seat](https://docs.ourpay.dev/api-reference/2026-04/customer-seats/assign-seat) - [Claim Seat](https://docs.ourpay.dev/api-reference/2026-04/customer-seats/claim-seat) - [Get Claim Info](https://docs.ourpay.dev/api-reference/2026-04/customer-seats/get-claim-info) - [List Seats](https://docs.ourpay.dev/api-reference/2026-04/customer-seats/list-seats) - [Resend Invitation](https://docs.ourpay.dev/api-reference/2026-04/customer-seats/resend-invitation) - [Revoke Seat](https://docs.ourpay.dev/api-reference/2026-04/customer-seats/revoke-seat) - [Create Customer Session](https://docs.ourpay.dev/api-reference/2026-04/customer-sessions/create-customer-session): Create a customer session. For organizations with `member_model_enabled`, this will automatically create a member session for the owner member of the customer. - [Create Customer](https://docs.ourpay.dev/api-reference/2026-04/customers/create-customer): Create a customer. - [Create Member](https://docs.ourpay.dev/api-reference/2026-04/customers/create-member): Create a new member for a customer. Only B2B customers with the member management feature enabled can add members. The authenticated user or organization must have access to the customer's organization. - [Create Member by Customer External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/create-member-by-customer-external-id): Create a new member for a customer identified by its external ID. - [Delete Customer](https://docs.ourpay.dev/api-reference/2026-04/customers/delete-customer): Delete a customer. This action cannot be undone and will immediately: - Cancel any active subscriptions for the customer - Revoke all their benefits - Clear any `external_id` Use it only in the context of deleting a user within your own service. Otherwise, use more granular API endpoints to cancel a specific subscription or revoke certain benefits. Note: The customers information will nonetheless be retained for historic orders and subscriptions. Set `anonymize=true` to also anonymize PII for GDPR compliance. - [Delete Customer by External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/delete-customer-by-external-id): Delete a customer by external ID. Immediately cancels any active subscriptions and revokes any active benefits. Set `anonymize=true` to also anonymize PII for GDPR compliance. - [Delete Member](https://docs.ourpay.dev/api-reference/2026-04/customers/delete-member): Delete a member of a customer. - [Delete Member by External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/delete-member-by-external-id): Delete a member by external ID for a customer identified by its external ID. - [Export Customers](https://docs.ourpay.dev/api-reference/2026-04/customers/export-customers): Export customers as a CSV file. - [Get Customer](https://docs.ourpay.dev/api-reference/2026-04/customers/get-customer): Get a customer by ID. - [Get Customer by External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/get-customer-by-external-id): Get a customer by external ID. - [Get Customer State](https://docs.ourpay.dev/api-reference/2026-04/customers/get-customer-state): Get a customer state by ID. The customer state includes information about the customer's active subscriptions and benefits. It's the ideal endpoint to use when you need to get a full overview of a customer's status. - [Get Customer State by External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/get-customer-state-by-external-id): Get a customer state by external ID. The customer state includes information about the customer's active subscriptions and benefits. It's the ideal endpoint to use when you need to get a full overview of a customer's status. - [Get Member](https://docs.ourpay.dev/api-reference/2026-04/customers/get-member): Get a member of a customer by its ID. - [Get Member by External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/get-member-by-external-id): Get a member by external ID for a customer identified by its external ID. - [List Customer Payment Methods](https://docs.ourpay.dev/api-reference/2026-04/customers/list-customer-payment-methods): Get saved payment methods of a customer. - [List Customer Payment Methods by External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/list-customer-payment-methods-by-external-id): Get saved payment methods of a customer by external ID. - [List Customers](https://docs.ourpay.dev/api-reference/2026-04/customers/list-customers): List customers. - [Update Customer](https://docs.ourpay.dev/api-reference/2026-04/customers/update-customer): Update a customer. - [Update Customer by External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/update-customer-by-external-id): Update a customer by external ID. - [Update Member](https://docs.ourpay.dev/api-reference/2026-04/customers/update-member): Update a member of a customer. Only name, email and role can be updated. - [Update Member by External ID](https://docs.ourpay.dev/api-reference/2026-04/customers/update-member-by-external-id): Update a member by external ID for a customer identified by its external ID. - [discount.created](https://docs.ourpay.dev/api-reference/2026-04/discount_created): Sent when a new discount is created. **Discord & Slack support:** Basic - [discount.deleted](https://docs.ourpay.dev/api-reference/2026-04/discount_deleted): Sent when a discount is deleted. **Discord & Slack support:** Basic - [discount.updated](https://docs.ourpay.dev/api-reference/2026-04/discount_updated): Sent when a discount is updated. **Discord & Slack support:** Basic - [Create Discount](https://docs.ourpay.dev/api-reference/2026-04/discounts/create-discount): Create a discount. - [Delete Discount](https://docs.ourpay.dev/api-reference/2026-04/discounts/delete-discount): Delete a discount. - [Get Discount](https://docs.ourpay.dev/api-reference/2026-04/discounts/get-discount): Get a discount by ID. - [List Discounts](https://docs.ourpay.dev/api-reference/2026-04/discounts/list-discounts): List discounts. - [Update Discount](https://docs.ourpay.dev/api-reference/2026-04/discounts/update-discount): Update a discount. - [Accept Dispute](https://docs.ourpay.dev/api-reference/2026-04/disputes/accept-dispute): Accept a dispute, conceding the chargeback. Closes the dispute with the processor (settling it as `lost`) and records the merchant's decision on the dispute's support case. - [Get Dispute](https://docs.ourpay.dev/api-reference/2026-04/disputes/get-dispute): Get a dispute by ID. - [List Disputes](https://docs.ourpay.dev/api-reference/2026-04/disputes/list-disputes): List disputes. - [List Event Types](https://docs.ourpay.dev/api-reference/2026-04/event-types/list-event-types): List event types with aggregated statistics. - [Update Event Type](https://docs.ourpay.dev/api-reference/2026-04/event-types/update-event-type): Update an event type's label. - [Get Event](https://docs.ourpay.dev/api-reference/2026-04/events/get-event): Get an event by ID. - [Ingest Events](https://docs.ourpay.dev/api-reference/2026-04/events/ingest-events): Ingest batch of events. - [List Event Names](https://docs.ourpay.dev/api-reference/2026-04/events/list-event-names): List event names. - [List Events](https://docs.ourpay.dev/api-reference/2026-04/events/list-events): List events. - [Complete File Upload](https://docs.ourpay.dev/api-reference/2026-04/files/complete-file-upload): Complete a file upload. - [Create File](https://docs.ourpay.dev/api-reference/2026-04/files/create-file): Create a file. - [Delete File](https://docs.ourpay.dev/api-reference/2026-04/files/delete-file): Delete a file. - [List Files](https://docs.ourpay.dev/api-reference/2026-04/files/list-files): List files. - [Update File](https://docs.ourpay.dev/api-reference/2026-04/files/update-file): Update a file. - [Activate License Key](https://docs.ourpay.dev/api-reference/2026-04/license_keys/activate-license-key): Activate a license key instance. - [Deactivate License Key](https://docs.ourpay.dev/api-reference/2026-04/license_keys/deactivate-license-key): Deactivate a license key instance. - [Get Activation](https://docs.ourpay.dev/api-reference/2026-04/license_keys/get-activation): Get a license key activation. - [Get License Key](https://docs.ourpay.dev/api-reference/2026-04/license_keys/get-license-key): Get a license key. - [List License Keys](https://docs.ourpay.dev/api-reference/2026-04/license_keys/list-license-keys): Get license keys connected to the given organization & filters. - [Rotate License Key](https://docs.ourpay.dev/api-reference/2026-04/license_keys/rotate-license-key): Rotate a license key. Generates a new key string for the same license key record. The previous key string immediately stops validating. Status, usage, limits, expiry, and activations are preserved. - [Update License Key](https://docs.ourpay.dev/api-reference/2026-04/license_keys/update-license-key): Update a license key. - [Validate License Key](https://docs.ourpay.dev/api-reference/2026-04/license_keys/validate-license-key): Validate a license key. - [member.created](https://docs.ourpay.dev/api-reference/2026-04/member_created): Sent when a new member is created. A member represents an individual within a customer (team). This event is triggered when a member is added to a customer, either programmatically via the API or when an owner is automatically created for a new customer. **Discord & Slack support:** Basic - [member.deleted](https://docs.ourpay.dev/api-reference/2026-04/member_deleted): Sent when a member is deleted. This event is triggered when a member is removed from a customer. Any active seats assigned to the member will be automatically revoked. **Discord & Slack support:** Basic - [member.updated](https://docs.ourpay.dev/api-reference/2026-04/member_updated): Sent when a member is updated. This event is triggered when member details are updated, such as their name or role within the customer. **Discord & Slack support:** Basic - [List Members](https://docs.ourpay.dev/api-reference/2026-04/members/list-members): List members with optional customer ID filter. - [Create Meter](https://docs.ourpay.dev/api-reference/2026-04/meters/create-meter): Create a meter. - [Get Meter](https://docs.ourpay.dev/api-reference/2026-04/meters/get-meter): Get a meter by ID. - [Get Meter Quantities](https://docs.ourpay.dev/api-reference/2026-04/meters/get-meter-quantities): Get quantities of a meter over a time period. - [List Meters](https://docs.ourpay.dev/api-reference/2026-04/meters/list-meters): List meters. - [Update Meter](https://docs.ourpay.dev/api-reference/2026-04/meters/update-meter): Update a meter. - [Create Metric Dashboard](https://docs.ourpay.dev/api-reference/2026-04/metrics/create-metric-dashboard): Create a user-defined metric dashboard. - [Delete Metric Dashboard](https://docs.ourpay.dev/api-reference/2026-04/metrics/delete-metric-dashboard): Delete a user-defined metric dashboard. - [Export Metrics](https://docs.ourpay.dev/api-reference/2026-04/metrics/export-metrics): Export metrics as a CSV file. - [Get Metric Dashboard](https://docs.ourpay.dev/api-reference/2026-04/metrics/get-metric-dashboard): Get a user-defined metric dashboard by ID. - [Get Metrics](https://docs.ourpay.dev/api-reference/2026-04/metrics/get-metrics): Get metrics about your orders and subscriptions. Currency values are output in cents. - [Get Metrics Limits](https://docs.ourpay.dev/api-reference/2026-04/metrics/get-metrics-limits): Get the interval limits for the metrics endpoint. - [List Metric Dashboards](https://docs.ourpay.dev/api-reference/2026-04/metrics/list-metric-dashboards): List user-defined metric dashboards. - [Update Metric Dashboard](https://docs.ourpay.dev/api-reference/2026-04/metrics/update-metric-dashboard): Update a user-defined metric dashboard. - [Authorize](https://docs.ourpay.dev/api-reference/2026-04/oauth2/authorize) - [Create Client](https://docs.ourpay.dev/api-reference/2026-04/oauth2/create-client): Create an OAuth2 client. - [Delete Client](https://docs.ourpay.dev/api-reference/2026-04/oauth2/delete-client): Delete an OAuth2 client. - [Get Client](https://docs.ourpay.dev/api-reference/2026-04/oauth2/get-client): Get an OAuth2 client by Client ID. - [Get User Info](https://docs.ourpay.dev/api-reference/2026-04/oauth2/get-user-info): Get information about the authenticated user. - [Introspect Token](https://docs.ourpay.dev/api-reference/2026-04/oauth2/introspect-token): Get information about an access token. - [Request Token](https://docs.ourpay.dev/api-reference/2026-04/oauth2/request-token): Request an access token using a valid grant. - [Revoke Token](https://docs.ourpay.dev/api-reference/2026-04/oauth2/revoke-token): Revoke an access token or a refresh token. - [Update Client](https://docs.ourpay.dev/api-reference/2026-04/oauth2/update-client): Update an OAuth2 client. - [order.created](https://docs.ourpay.dev/api-reference/2026-04/order_created): Sent when a new order is created. A new order is created when: * A customer purchases a one-time product. In this case, `billing_reason` is set to `purchase`. * A customer starts a subscription. In this case, `billing_reason` is set to `subscription_create`. * A subscription is renewed. In this case, `billing_reason` is set to `subscription_cycle`. * A subscription is upgraded or downgraded with an immediate proration invoice. In this case, `billing_reason` is set to `subscription_update`. > [!WARNING] > The order might not be paid yet, so the `status` field might be `pending`. **Discord & Slack support:** Full - [order.paid](https://docs.ourpay.dev/api-reference/2026-04/order_paid): Sent when an order is paid. When you receive this event, the order is fully processed and payment has been received. **Discord & Slack support:** Full - [order.refunded](https://docs.ourpay.dev/api-reference/2026-04/order_refunded): Sent when an order is fully or partially refunded. **Discord & Slack support:** Full - [order.updated](https://docs.ourpay.dev/api-reference/2026-04/order_updated): Sent when an order is updated. An order is updated when: * Its status changes, e.g. from `pending` to `paid`. * It's refunded, partially or fully. **Discord & Slack support:** Full - [Create Order](https://docs.ourpay.dev/api-reference/2026-04/orders/create-order): Create a draft order for an off-session charge against a saved payment method. The order is created with `status=draft` and no invoice number; call `POST /v1/orders/{id}/finalize` to attempt the charge. The organization must have the `off_session_charges_enabled` feature flag. - [Export Orders](https://docs.ourpay.dev/api-reference/2026-04/orders/export-orders): Export orders as a CSV file. - [Finalize Order](https://docs.ourpay.dev/api-reference/2026-04/orders/finalize-order): Finalize a draft order and synchronously attempt an off-session charge. On success, the order transitions to `paid` and benefit grants fire before the response returns. On failure (decline, missing payment method, SCA challenge), the order stays in `draft` and a 4xx error is returned. The request fails with 412 if the order is not in `draft` status. - [Generate Order Invoice](https://docs.ourpay.dev/api-reference/2026-04/orders/generate-order-invoice): Trigger generation of an order's invoice. - [Get Order](https://docs.ourpay.dev/api-reference/2026-04/orders/get-order): Get an order by ID. - [Get Order Invoice](https://docs.ourpay.dev/api-reference/2026-04/orders/get-order-invoice): Get an order's invoice data. - [Get Order Receipt](https://docs.ourpay.dev/api-reference/2026-04/orders/get-order-receipt): Get a presigned URL to download an order's receipt PDF. - [List Orders](https://docs.ourpay.dev/api-reference/2026-04/orders/list-orders): List orders. - [Update Order](https://docs.ourpay.dev/api-reference/2026-04/orders/update-order): Update an order. - [organization.updated](https://docs.ourpay.dev/api-reference/2026-04/organization_updated): Sent when a organization is updated. **Discord & Slack support:** Basic - [Create Organization](https://docs.ourpay.dev/api-reference/2026-04/organizations/create-organization): Create an organization. - [Get Organization](https://docs.ourpay.dev/api-reference/2026-04/organizations/get-organization): Get an organization by ID. - [List Organizations](https://docs.ourpay.dev/api-reference/2026-04/organizations/list-organizations): List organizations. - [Update Organization](https://docs.ourpay.dev/api-reference/2026-04/organizations/update-organization): Update an organization. - [Get Payment](https://docs.ourpay.dev/api-reference/2026-04/payments/get-payment): Get a payment by ID. - [List Payments](https://docs.ourpay.dev/api-reference/2026-04/payments/list-payments): List payments. - [product.created](https://docs.ourpay.dev/api-reference/2026-04/product_created): Sent when a new product is created. **Discord & Slack support:** Basic - [product.updated](https://docs.ourpay.dev/api-reference/2026-04/product_updated): Sent when a product is updated. **Discord & Slack support:** Basic - [Create Product](https://docs.ourpay.dev/api-reference/2026-04/products/create-product): Create a product. - [Get Product](https://docs.ourpay.dev/api-reference/2026-04/products/get-product): Get a product by ID. - [List Products](https://docs.ourpay.dev/api-reference/2026-04/products/list-products): List products. - [Update Product](https://docs.ourpay.dev/api-reference/2026-04/products/update-product): Update a product. - [Update Product Benefits](https://docs.ourpay.dev/api-reference/2026-04/products/update-product-benefits): Update benefits granted by a product. - [refund.created](https://docs.ourpay.dev/api-reference/2026-04/refund_created): Sent when a refund is created regardless of status. **Discord & Slack support:** Full - [refund.updated](https://docs.ourpay.dev/api-reference/2026-04/refund_updated): Sent when a refund is updated. **Discord & Slack support:** Full - [Create Refund](https://docs.ourpay.dev/api-reference/2026-04/refunds/create-refund): Create a refund. - [List Refunds](https://docs.ourpay.dev/api-reference/2026-04/refunds/list-refunds): List refunds. - [subscription.active](https://docs.ourpay.dev/api-reference/2026-04/subscription_active): Sent when a subscription becomes active, whether because it's a new paid subscription or because payment was recovered. **Discord & Slack support:** Full - [subscription.canceled](https://docs.ourpay.dev/api-reference/2026-04/subscription_canceled): Sent when a subscription is canceled. Customers might still have access until the end of the current period. **Discord & Slack support:** Full - [subscription.created](https://docs.ourpay.dev/api-reference/2026-04/subscription_created): Sent when a new subscription is created. When this event occurs, the subscription `status` might not be `active` yet, as we can still have to wait for the first payment to be processed. **Discord & Slack support:** Full - [subscription.cycled](https://docs.ourpay.dev/api-reference/2026-04/subscription_cycled): Sent when a subscription enters a new billing period. The payload carries the new `current_period_start` and `current_period_end`. It fires when the period rolls over, before the renewal order exists and regardless of whether the renewal payment succeeds — listen to `order.paid` if you need the payment. A trial converting to a paid subscription starts a new period, so it fires there too. Read `status` to tell the two apart. **Discord & Slack support:** Basic - [subscription.past_due](https://docs.ourpay.dev/api-reference/2026-04/subscription_past_due): Sent when a subscription payment fails and the subscription enters `past_due` status. This is a recoverable state - the customer can update their payment method to restore the subscription. Benefits may be revoked depending on the organization's grace period settings. If payment retries are exhausted, a `subscription.revoked` event will be sent. **Discord & Slack support:** Full - [subscription.paused](https://docs.ourpay.dev/api-reference/2026-04/subscription_paused): Sent when a subscription is paused and the customer temporarily loses access. No order is created while paused. The subscription resumes either on its scheduled resume date or when resumed manually, starting a new billing period. **Discord & Slack support:** Full - [subscription.resumed](https://docs.ourpay.dev/api-reference/2026-04/subscription_resumed): Sent when a paused subscription resumes, restoring the customer's access. Resuming starts a new billing period and charges the customer immediately. **Discord & Slack support:** Full - [subscription.revoked](https://docs.ourpay.dev/api-reference/2026-04/subscription_revoked): 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`). For payment failures that can still be recovered, see `subscription.past_due`. **Discord & Slack support:** Full - [subscription.uncanceled](https://docs.ourpay.dev/api-reference/2026-04/subscription_uncanceled): Sent when a customer revokes a pending cancellation. When a customer cancels with "at period end", they retain access until the subscription would renew. During this time, they can change their mind and undo the cancellation. This event is triggered when they do so. **Discord & Slack support:** Full - [subscription.updated](https://docs.ourpay.dev/api-reference/2026-04/subscription_updated): Sent when a subscription is updated. This event fires for all changes to the subscription, including renewals. If you want more specific events, you can listen to `subscription.active`, `subscription.canceled`, `subscription.past_due`, and `subscription.revoked`. To listen specifically for renewals, listen to `subscription.cycled`. **Discord & Slack support:** On cancellation, past due, and revocation. Renewals are skipped. - [Create Subscription](https://docs.ourpay.dev/api-reference/2026-04/subscriptions/create-subscription): Create a subscription programmatically. This endpoint only allows to create subscription on free products. For paid products, use the checkout flow. No initial order will be created and no confirmation email will be sent. - [Export Subscriptions](https://docs.ourpay.dev/api-reference/2026-04/subscriptions/export-subscriptions): Export subscriptions as a CSV file. - [Get Subscription](https://docs.ourpay.dev/api-reference/2026-04/subscriptions/get-subscription): Get a subscription by ID. - [List Subscriptions](https://docs.ourpay.dev/api-reference/2026-04/subscriptions/list-subscriptions): List subscriptions. - [Revoke Subscription](https://docs.ourpay.dev/api-reference/2026-04/subscriptions/revoke-subscription): Revoke a subscription, i.e cancel immediately. - [Update Subscription](https://docs.ourpay.dev/api-reference/2026-04/subscriptions/update-subscription): Update a subscription. - [Create Webhook Endpoint](https://docs.ourpay.dev/api-reference/2026-04/webhooks/create-webhook-endpoint): Create a webhook endpoint. - [Delete Webhook Endpoint](https://docs.ourpay.dev/api-reference/2026-04/webhooks/delete-webhook-endpoint): Delete a webhook endpoint. - [Get Webhook Endpoint](https://docs.ourpay.dev/api-reference/2026-04/webhooks/get-webhook-endpoint): Get a webhook endpoint by ID. - [List Webhook Deliveries](https://docs.ourpay.dev/api-reference/2026-04/webhooks/list-webhook-deliveries): List webhook deliveries. Deliveries are all the attempts to deliver a webhook event to an endpoint. - [List Webhook Endpoints](https://docs.ourpay.dev/api-reference/2026-04/webhooks/list-webhook-endpoints): List webhook endpoints. - [Redeliver Webhook Event](https://docs.ourpay.dev/api-reference/2026-04/webhooks/redeliver-webhook-event): Schedule the re-delivery of a webhook event. - [Reset Webhook Endpoint Secret](https://docs.ourpay.dev/api-reference/2026-04/webhooks/reset-webhook-endpoint-secret): Regenerate a webhook endpoint secret. - [Update Webhook Endpoint](https://docs.ourpay.dev/api-reference/2026-04/webhooks/update-webhook-endpoint): Update a webhook endpoint. - [benefit.created](https://docs.ourpay.dev/api-reference/2026-10/benefit_created): Sent when a new benefit is created. **Discord & Slack support:** Basic - [benefit_grant.created](https://docs.ourpay.dev/api-reference/2026-10/benefit_grant_created): Sent when a new benefit grant is created. **Discord & Slack support:** Basic - [benefit_grant.cycled](https://docs.ourpay.dev/api-reference/2026-10/benefit_grant_cycled): Sent when a benefit grant is cycled, meaning the related subscription has been renewed for another period. **Discord & Slack support:** Basic - [benefit_grant.revoked](https://docs.ourpay.dev/api-reference/2026-10/benefit_grant_revoked): Sent when a benefit grant is revoked. **Discord & Slack support:** Basic - [benefit_grant.updated](https://docs.ourpay.dev/api-reference/2026-10/benefit_grant_updated): Sent when a benefit grant is updated. **Discord & Slack support:** Basic - [benefit.updated](https://docs.ourpay.dev/api-reference/2026-10/benefit_updated): Sent when a benefit is updated. **Discord & Slack support:** Basic - [List Benefit Grants](https://docs.ourpay.dev/api-reference/2026-10/benefit-grants/list-benefit-grants): List benefit grants across all benefits accessible to the authenticated subject. - [Create Benefit](https://docs.ourpay.dev/api-reference/2026-10/benefits/create-benefit): Create a benefit. - [Delete Benefit](https://docs.ourpay.dev/api-reference/2026-10/benefits/delete-benefit): Delete a benefit. > [!WARNING] > Every grants associated with the benefit will be revoked. > Users will lose access to the benefit. - [Get Benefit](https://docs.ourpay.dev/api-reference/2026-10/benefits/get-benefit): Get a benefit by ID. - [List Benefit Files](https://docs.ourpay.dev/api-reference/2026-10/benefits/list-benefit-files): List the downloadable files for a benefit with their download statistics. - [List Benefit Grants](https://docs.ourpay.dev/api-reference/2026-10/benefits/list-benefit-grants): List the individual grants for a benefit. It's especially useful to check if a user has been granted a benefit. - [List Benefits](https://docs.ourpay.dev/api-reference/2026-10/benefits/list-benefits): List benefits. - [Update Benefit](https://docs.ourpay.dev/api-reference/2026-10/benefits/update-benefit): Update a benefit. - [checkout.created](https://docs.ourpay.dev/api-reference/2026-10/checkout_created): Sent when a new checkout is created. **Discord & Slack support:** Basic - [checkout.expired](https://docs.ourpay.dev/api-reference/2026-10/checkout_expired): Sent when a checkout expires. This event fires when a checkout reaches its expiration time without being completed. Developers can use this to send reminder emails or track checkout abandonment. **Discord & Slack support:** Basic - [checkout.updated](https://docs.ourpay.dev/api-reference/2026-10/checkout_updated): Sent when a checkout is updated. **Discord & Slack support:** Basic - [Create Checkout Link](https://docs.ourpay.dev/api-reference/2026-10/checkout-links/create-checkout-link): Create a checkout link. - [Delete Checkout Link](https://docs.ourpay.dev/api-reference/2026-10/checkout-links/delete-checkout-link): Delete a checkout link. - [Get Checkout Link](https://docs.ourpay.dev/api-reference/2026-10/checkout-links/get-checkout-link): Get a checkout link by ID. - [List Checkout Links](https://docs.ourpay.dev/api-reference/2026-10/checkout-links/list-checkout-links): List checkout links. - [Update Checkout Link](https://docs.ourpay.dev/api-reference/2026-10/checkout-links/update-checkout-link): Update a checkout link. - [Confirm Checkout Session from Client](https://docs.ourpay.dev/api-reference/2026-10/checkouts/confirm-checkout-session-from-client): Confirm a checkout session by client secret. Orders and subscriptions will be processed. - [Create Checkout Session](https://docs.ourpay.dev/api-reference/2026-10/checkouts/create-checkout-session): Create a checkout session. - [Get Checkout Session](https://docs.ourpay.dev/api-reference/2026-10/checkouts/get-checkout-session): Get a checkout session by ID. - [Get Checkout Session from Client](https://docs.ourpay.dev/api-reference/2026-10/checkouts/get-checkout-session-from-client): Get a checkout session by client secret. - [List Checkout Sessions](https://docs.ourpay.dev/api-reference/2026-10/checkouts/list-checkout-sessions): List checkout sessions. - [Update Checkout Session](https://docs.ourpay.dev/api-reference/2026-10/checkouts/update-checkout-session): Update a checkout session. - [Update Checkout Session from Client](https://docs.ourpay.dev/api-reference/2026-10/checkouts/update-checkout-session-from-client): Update a checkout session by client secret. - [Create Custom Field](https://docs.ourpay.dev/api-reference/2026-10/custom-fields/create-custom-field): Create a custom field. - [Delete Custom Field](https://docs.ourpay.dev/api-reference/2026-10/custom-fields/delete-custom-field): Delete a custom field. - [Get Custom Field](https://docs.ourpay.dev/api-reference/2026-10/custom-fields/get-custom-field): Get a custom field by ID. - [List Custom Fields](https://docs.ourpay.dev/api-reference/2026-10/custom-fields/list-custom-fields): List custom fields. - [Update Custom Field](https://docs.ourpay.dev/api-reference/2026-10/custom-fields/update-custom-field): Update a custom field. - [customer.created](https://docs.ourpay.dev/api-reference/2026-10/customer_created): Sent when a new customer is created. A customer can be created: * After a successful checkout. * Programmatically via the API. **Discord & Slack support:** Basic - [customer.deleted](https://docs.ourpay.dev/api-reference/2026-10/customer_deleted): Sent when a customer is deleted. **Discord & Slack support:** Basic - [Get Customer Meter](https://docs.ourpay.dev/api-reference/2026-10/customer_meters/get-customer-meter): Get a customer meter by ID. - [List Customer Meters](https://docs.ourpay.dev/api-reference/2026-10/customer_meters/list-customer-meters): List customer meters. - [Activate License Key](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/activate-license-key): Activate a license key instance. > This endpoint doesn't require authentication and can be safely used on a public > client, like a desktop application or a mobile app. > If you plan to validate a license key on a server, use the `/v1/license-keys/activate` > endpoint instead. - [Add Customer Payment Method](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/add-customer-payment-method): Add a payment method to the authenticated customer. - [Add Member](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/add-member): Add a new member to the customer's team. Only available to owners and billing managers of team customers. Rules: - Cannot add a member with the owner role (there must be exactly one owner) - If a member with this email already exists, the existing member is returned - [Assign Seat](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/assign-seat) - [Cancel Subscription](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/cancel-subscription): Cancel a subscription of the authenticated customer. - [Check Email Change Token](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/check-email-change-token): Check if an email change verification token is still valid. - [Confirm Customer Payment Method](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/confirm-customer-payment-method): Confirm a payment method for the authenticated customer. - [Confirm Retry Payment](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/confirm-retry-payment): Confirm a retry payment using a Stripe confirmation token. - [Deactivate License Key](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/deactivate-license-key): Deactivate a license key instance. > This endpoint doesn't require authentication and can be safely used on a public > client, like a desktop application or a mobile app. > If you plan to validate a license key on a server, use the `/v1/license-keys/deactivate` > endpoint instead. - [Delete Customer Payment Method](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/delete-customer-payment-method): Delete a payment method from the authenticated customer. - [Generate Order Invoice](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/generate-order-invoice): Trigger generation of an order's invoice. - [Get Authenticated Portal User](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-authenticated-portal-user): Get information about the currently authenticated portal user. - [Get Benefit Grant](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-benefit-grant): Get a benefit grant by ID for the authenticated customer. - [Get Customer](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-customer): Get authenticated customer. - [Get Customer Meter](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-customer-meter): Get a meter by ID for the authenticated customer. - [Get License Key](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-license-key): Get a license key. - [Get Order](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-order): Get an order by ID for the authenticated customer. - [Get Order Invoice](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-order-invoice): Get an order's invoice data. - [Get Order Payment Status](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-order-payment-status): Get the current payment status for an order. - [Get Order Receipt](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-order-receipt): Get a presigned URL to download an order's receipt PDF. - [Get Organization](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-organization): Get a customer portal's organization by slug. - [Get Subscription](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-subscription): Get a subscription for the authenticated customer. - [Get Wallet](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/get-wallet): Get a wallet by ID for the authenticated customer. - [Introspect Customer Session](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/introspect-customer-session): Introspect the current session and return its information. - [List Benefit Grants](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-benefit-grants): List benefits grants of the authenticated customer. - [List Claimed Subscriptions](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-claimed-subscriptions): List all subscriptions where the authenticated customer has claimed a seat. - [List Customer Payment Methods](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-customer-payment-methods): Get saved payment methods of the authenticated customer. - [List Downloadables](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-downloadables) - [List License Keys](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-license-keys) - [List Members](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-members): List all members of the customer's team. Only available to owners and billing managers of team customers. - [List Meters](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-meters): List meters of the authenticated customer. - [List Orders](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-orders): List orders of the authenticated customer. - [List Seats](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-seats) - [List Subscriptions](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-subscriptions): List subscriptions of the authenticated customer. - [List Wallets](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/list-wallets): List wallets of the authenticated customer. - [Remove Member](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/remove-member): Remove a member from the team. Only available to owners and billing managers of team customers. Rules: - Cannot remove yourself - Cannot remove the only owner - [Request Email Change](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/request-email-change): Request an email change for the authenticated customer. - [Resend Invitation](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/resend-invitation) - [Revoke Seat](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/revoke-seat) - [Rotate License Key](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/rotate-license-key): Rotate a license key. Generates a new key string for the same license key record. The previous key string immediately stops validating. Status, usage, limits, expiry, and activations are preserved. - [Update Benefit Grant](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/update-benefit-grant): Update a benefit grant for the authenticated customer. - [Update Customer](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/update-customer): Update authenticated customer. - [Update Member](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/update-member): Update a member's name or role. Only available to owners and billing managers of team customers. Rules: - Cannot modify your own role (to prevent self-demotion) - Customer must have exactly one owner at all times - [Update Order](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/update-order): Update an order for the authenticated customer. - [Update Subscription](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/update-subscription): Update a subscription of the authenticated customer. - [Validate License Key](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/validate-license-key): Validate a license key. > This endpoint doesn't require authentication and can be safely used on a public > client, like a desktop application or a mobile app. > If you plan to validate a license key on a server, use the `/v1/license-keys/validate` > endpoint instead. - [Verify Email Change](https://docs.ourpay.dev/api-reference/2026-10/customer_portal/verify-email-change): Verify an email change using the token from the verification email. - [customer_seat.assigned](https://docs.ourpay.dev/api-reference/2026-10/customer_seat_assigned): Sent when a new customer seat is assigned. This event is triggered when a seat is assigned to a customer by the organization. The customer will receive an invitation email to claim the seat. - [customer_seat.claimed](https://docs.ourpay.dev/api-reference/2026-10/customer_seat_claimed): Sent when a customer seat is claimed. This event is triggered when a customer accepts the seat invitation and claims their access. - [customer_seat.revoked](https://docs.ourpay.dev/api-reference/2026-10/customer_seat_revoked): Sent when a customer seat is revoked. This event is triggered when access to a seat is revoked, either manually by the organization or automatically when a subscription is canceled. - [customer.state_changed](https://docs.ourpay.dev/api-reference/2026-10/customer_state_changed): Sent when a customer state has changed. It's triggered when: * Customer is created, updated or deleted. * A subscription is created or updated. * A benefit is granted or revoked. **Discord & Slack support:** Basic - [customer.updated](https://docs.ourpay.dev/api-reference/2026-10/customer_updated): Sent when a customer is updated. This event is fired when the customer details are updated. If you want to be notified when a customer subscription or benefit state changes, you should listen to the `customer_state_changed` event. **Discord & Slack support:** Basic - [Assign Seat](https://docs.ourpay.dev/api-reference/2026-10/customer-seats/assign-seat) - [Claim Seat](https://docs.ourpay.dev/api-reference/2026-10/customer-seats/claim-seat) - [Get Claim Info](https://docs.ourpay.dev/api-reference/2026-10/customer-seats/get-claim-info) - [List Seats](https://docs.ourpay.dev/api-reference/2026-10/customer-seats/list-seats) - [Resend Invitation](https://docs.ourpay.dev/api-reference/2026-10/customer-seats/resend-invitation) - [Revoke Seat](https://docs.ourpay.dev/api-reference/2026-10/customer-seats/revoke-seat) - [Create Customer Session](https://docs.ourpay.dev/api-reference/2026-10/customer-sessions/create-customer-session): Create a customer session. For organizations with `member_model_enabled`, this will automatically create a member session for the owner member of the customer. - [Create Customer](https://docs.ourpay.dev/api-reference/2026-10/customers/create-customer): Create a customer. - [Create Member](https://docs.ourpay.dev/api-reference/2026-10/customers/create-member): Create a new member for a customer. Only B2B customers with the member management feature enabled can add members. The authenticated user or organization must have access to the customer's organization. - [Create Member by Customer External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/create-member-by-customer-external-id): Create a new member for a customer identified by its external ID. - [Delete Customer](https://docs.ourpay.dev/api-reference/2026-10/customers/delete-customer): Delete a customer. This action cannot be undone and will immediately: - Cancel any active subscriptions for the customer - Revoke all their benefits - Clear any `external_id` Use it only in the context of deleting a user within your own service. Otherwise, use more granular API endpoints to cancel a specific subscription or revoke certain benefits. Note: The customers information will nonetheless be retained for historic orders and subscriptions. Set `anonymize=true` to also anonymize PII for GDPR compliance. - [Delete Customer by External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/delete-customer-by-external-id): Delete a customer by external ID. Immediately cancels any active subscriptions and revokes any active benefits. Set `anonymize=true` to also anonymize PII for GDPR compliance. - [Delete Member](https://docs.ourpay.dev/api-reference/2026-10/customers/delete-member): Delete a member of a customer. - [Delete Member by External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/delete-member-by-external-id): Delete a member by external ID for a customer identified by its external ID. - [Export Customers](https://docs.ourpay.dev/api-reference/2026-10/customers/export-customers): Export customers as a CSV file. - [Get Customer](https://docs.ourpay.dev/api-reference/2026-10/customers/get-customer): Get a customer by ID. - [Get Customer by External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/get-customer-by-external-id): Get a customer by external ID. - [Get Customer State](https://docs.ourpay.dev/api-reference/2026-10/customers/get-customer-state): Get a customer state by ID. The customer state includes information about the customer's active subscriptions and benefits. It's the ideal endpoint to use when you need to get a full overview of a customer's status. - [Get Customer State by External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/get-customer-state-by-external-id): Get a customer state by external ID. The customer state includes information about the customer's active subscriptions and benefits. It's the ideal endpoint to use when you need to get a full overview of a customer's status. - [Get Member](https://docs.ourpay.dev/api-reference/2026-10/customers/get-member): Get a member of a customer by its ID. - [Get Member by External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/get-member-by-external-id): Get a member by external ID for a customer identified by its external ID. - [List Customer Payment Methods](https://docs.ourpay.dev/api-reference/2026-10/customers/list-customer-payment-methods): Get saved payment methods of a customer. - [List Customer Payment Methods by External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/list-customer-payment-methods-by-external-id): Get saved payment methods of a customer by external ID. - [List Customers](https://docs.ourpay.dev/api-reference/2026-10/customers/list-customers): List customers. - [Update Customer](https://docs.ourpay.dev/api-reference/2026-10/customers/update-customer): Update a customer. - [Update Customer by External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/update-customer-by-external-id): Update a customer by external ID. - [Update Member](https://docs.ourpay.dev/api-reference/2026-10/customers/update-member): Update a member of a customer. Only name, email and role can be updated. - [Update Member by External ID](https://docs.ourpay.dev/api-reference/2026-10/customers/update-member-by-external-id): Update a member by external ID for a customer identified by its external ID. - [discount.created](https://docs.ourpay.dev/api-reference/2026-10/discount_created): Sent when a new discount is created. **Discord & Slack support:** Basic - [discount.deleted](https://docs.ourpay.dev/api-reference/2026-10/discount_deleted): Sent when a discount is deleted. **Discord & Slack support:** Basic - [discount.updated](https://docs.ourpay.dev/api-reference/2026-10/discount_updated): Sent when a discount is updated. **Discord & Slack support:** Basic - [Create Discount](https://docs.ourpay.dev/api-reference/2026-10/discounts/create-discount): Create a discount. - [Delete Discount](https://docs.ourpay.dev/api-reference/2026-10/discounts/delete-discount): Delete a discount. - [Get Discount](https://docs.ourpay.dev/api-reference/2026-10/discounts/get-discount): Get a discount by ID. - [List Discounts](https://docs.ourpay.dev/api-reference/2026-10/discounts/list-discounts): List discounts. - [Update Discount](https://docs.ourpay.dev/api-reference/2026-10/discounts/update-discount): Update a discount. - [Accept Dispute](https://docs.ourpay.dev/api-reference/2026-10/disputes/accept-dispute): Accept a dispute, conceding the chargeback. Closes the dispute with the processor (settling it as `lost`) and records the merchant's decision on the dispute's support case. - [Get Dispute](https://docs.ourpay.dev/api-reference/2026-10/disputes/get-dispute): Get a dispute by ID. - [List Disputes](https://docs.ourpay.dev/api-reference/2026-10/disputes/list-disputes): List disputes. - [List Event Types](https://docs.ourpay.dev/api-reference/2026-10/event-types/list-event-types): List event types with aggregated statistics. - [Update Event Type](https://docs.ourpay.dev/api-reference/2026-10/event-types/update-event-type): Update an event type's label. - [Get Event](https://docs.ourpay.dev/api-reference/2026-10/events/get-event): Get an event by ID. - [Ingest Events](https://docs.ourpay.dev/api-reference/2026-10/events/ingest-events): Ingest batch of events. - [List Event Names](https://docs.ourpay.dev/api-reference/2026-10/events/list-event-names): List event names. - [List Events](https://docs.ourpay.dev/api-reference/2026-10/events/list-events): List events. - [Complete File Upload](https://docs.ourpay.dev/api-reference/2026-10/files/complete-file-upload): Complete a file upload. - [Create File](https://docs.ourpay.dev/api-reference/2026-10/files/create-file): Create a file. - [Delete File](https://docs.ourpay.dev/api-reference/2026-10/files/delete-file): Delete a file. - [List Files](https://docs.ourpay.dev/api-reference/2026-10/files/list-files): List files. - [Update File](https://docs.ourpay.dev/api-reference/2026-10/files/update-file): Update a file. - [Activate License Key](https://docs.ourpay.dev/api-reference/2026-10/license_keys/activate-license-key): Activate a license key instance. - [Deactivate License Key](https://docs.ourpay.dev/api-reference/2026-10/license_keys/deactivate-license-key): Deactivate a license key instance. - [Get Activation](https://docs.ourpay.dev/api-reference/2026-10/license_keys/get-activation): Get a license key activation. - [Get License Key](https://docs.ourpay.dev/api-reference/2026-10/license_keys/get-license-key): Get a license key. - [List License Keys](https://docs.ourpay.dev/api-reference/2026-10/license_keys/list-license-keys): Get license keys connected to the given organization & filters. - [Rotate License Key](https://docs.ourpay.dev/api-reference/2026-10/license_keys/rotate-license-key): Rotate a license key. Generates a new key string for the same license key record. The previous key string immediately stops validating. Status, usage, limits, expiry, and activations are preserved. - [Update License Key](https://docs.ourpay.dev/api-reference/2026-10/license_keys/update-license-key): Update a license key. - [Validate License Key](https://docs.ourpay.dev/api-reference/2026-10/license_keys/validate-license-key): Validate a license key. - [member.created](https://docs.ourpay.dev/api-reference/2026-10/member_created): Sent when a new member is created. A member represents an individual within a customer (team). This event is triggered when a member is added to a customer, either programmatically via the API or when an owner is automatically created for a new customer. **Discord & Slack support:** Basic - [member.deleted](https://docs.ourpay.dev/api-reference/2026-10/member_deleted): Sent when a member is deleted. This event is triggered when a member is removed from a customer. Any active seats assigned to the member will be automatically revoked. **Discord & Slack support:** Basic - [member.updated](https://docs.ourpay.dev/api-reference/2026-10/member_updated): Sent when a member is updated. This event is triggered when member details are updated, such as their name or role within the customer. **Discord & Slack support:** Basic - [List Members](https://docs.ourpay.dev/api-reference/2026-10/members/list-members): List members with optional customer ID filter. - [Create Meter](https://docs.ourpay.dev/api-reference/2026-10/meters/create-meter): Create a meter. - [Get Meter](https://docs.ourpay.dev/api-reference/2026-10/meters/get-meter): Get a meter by ID. - [Get Meter Quantities](https://docs.ourpay.dev/api-reference/2026-10/meters/get-meter-quantities): Get quantities of a meter over a time period. - [List Meters](https://docs.ourpay.dev/api-reference/2026-10/meters/list-meters): List meters. - [Update Meter](https://docs.ourpay.dev/api-reference/2026-10/meters/update-meter): Update a meter. - [Create Metric Dashboard](https://docs.ourpay.dev/api-reference/2026-10/metrics/create-metric-dashboard): Create a user-defined metric dashboard. - [Delete Metric Dashboard](https://docs.ourpay.dev/api-reference/2026-10/metrics/delete-metric-dashboard): Delete a user-defined metric dashboard. - [Export Metrics](https://docs.ourpay.dev/api-reference/2026-10/metrics/export-metrics): Export metrics as a CSV file. - [Get Metric Dashboard](https://docs.ourpay.dev/api-reference/2026-10/metrics/get-metric-dashboard): Get a user-defined metric dashboard by ID. - [Get Metrics](https://docs.ourpay.dev/api-reference/2026-10/metrics/get-metrics): Get metrics about your orders and subscriptions. Currency values are output in cents. - [Get Metrics Limits](https://docs.ourpay.dev/api-reference/2026-10/metrics/get-metrics-limits): Get the interval limits for the metrics endpoint. - [List Metric Dashboards](https://docs.ourpay.dev/api-reference/2026-10/metrics/list-metric-dashboards): List user-defined metric dashboards. - [Update Metric Dashboard](https://docs.ourpay.dev/api-reference/2026-10/metrics/update-metric-dashboard): Update a user-defined metric dashboard. - [Authorize](https://docs.ourpay.dev/api-reference/2026-10/oauth2/authorize) - [Create Client](https://docs.ourpay.dev/api-reference/2026-10/oauth2/create-client): Create an OAuth2 client. - [Delete Client](https://docs.ourpay.dev/api-reference/2026-10/oauth2/delete-client): Delete an OAuth2 client. - [Get Client](https://docs.ourpay.dev/api-reference/2026-10/oauth2/get-client): Get an OAuth2 client by Client ID. - [Get User Info](https://docs.ourpay.dev/api-reference/2026-10/oauth2/get-user-info): Get information about the authenticated user. - [Introspect Token](https://docs.ourpay.dev/api-reference/2026-10/oauth2/introspect-token): Get information about an access token. - [Request Token](https://docs.ourpay.dev/api-reference/2026-10/oauth2/request-token): Request an access token using a valid grant. - [Revoke Token](https://docs.ourpay.dev/api-reference/2026-10/oauth2/revoke-token): Revoke an access token or a refresh token. - [Update Client](https://docs.ourpay.dev/api-reference/2026-10/oauth2/update-client): Update an OAuth2 client. - [order.created](https://docs.ourpay.dev/api-reference/2026-10/order_created): Sent when a new order is created. A new order is created when: * A customer purchases a one-time product. In this case, `billing_reason` is set to `purchase`. * A customer starts a subscription. In this case, `billing_reason` is set to `subscription_create`. * A subscription is renewed. In this case, `billing_reason` is set to `subscription_cycle`. * A subscription is upgraded or downgraded with an immediate proration invoice. In this case, `billing_reason` is set to `subscription_update`. > [!WARNING] > The order might not be paid yet, so the `status` field might be `pending`. **Discord & Slack support:** Full - [order.paid](https://docs.ourpay.dev/api-reference/2026-10/order_paid): Sent when an order is paid. When you receive this event, the order is fully processed and payment has been received. **Discord & Slack support:** Full - [order.refunded](https://docs.ourpay.dev/api-reference/2026-10/order_refunded): Sent when an order is fully or partially refunded. **Discord & Slack support:** Full - [order.updated](https://docs.ourpay.dev/api-reference/2026-10/order_updated): Sent when an order is updated. An order is updated when: * Its status changes, e.g. from `pending` to `paid`. * It's refunded, partially or fully. **Discord & Slack support:** Full - [Create Order](https://docs.ourpay.dev/api-reference/2026-10/orders/create-order): Create a draft order for an off-session charge against a saved payment method. The order is created with `status=draft` and no invoice number; call `POST /v1/orders/{id}/finalize` to attempt the charge. The organization must have the `off_session_charges_enabled` feature flag. - [Export Orders](https://docs.ourpay.dev/api-reference/2026-10/orders/export-orders): Export orders as a CSV file. - [Finalize Order](https://docs.ourpay.dev/api-reference/2026-10/orders/finalize-order): Finalize a draft order and synchronously attempt an off-session charge. On success, the order transitions to `paid` and benefit grants fire before the response returns. On failure (decline, missing payment method, SCA challenge), the order stays in `draft` and a 4xx error is returned. The request fails with 412 if the order is not in `draft` status. - [Generate Order Invoice](https://docs.ourpay.dev/api-reference/2026-10/orders/generate-order-invoice): Trigger generation of an order's invoice. - [Get Order](https://docs.ourpay.dev/api-reference/2026-10/orders/get-order): Get an order by ID. - [Get Order Invoice](https://docs.ourpay.dev/api-reference/2026-10/orders/get-order-invoice): Get an order's invoice data. - [Get Order Receipt](https://docs.ourpay.dev/api-reference/2026-10/orders/get-order-receipt): Get a presigned URL to download an order's receipt PDF. - [List Orders](https://docs.ourpay.dev/api-reference/2026-10/orders/list-orders): List orders. - [Update Order](https://docs.ourpay.dev/api-reference/2026-10/orders/update-order): Update an order. - [organization.updated](https://docs.ourpay.dev/api-reference/2026-10/organization_updated): Sent when a organization is updated. **Discord & Slack support:** Basic - [Create Organization](https://docs.ourpay.dev/api-reference/2026-10/organizations/create-organization): Create an organization. - [Get Organization](https://docs.ourpay.dev/api-reference/2026-10/organizations/get-organization): Get an organization by ID. - [List Organizations](https://docs.ourpay.dev/api-reference/2026-10/organizations/list-organizations): List organizations. - [Update Organization](https://docs.ourpay.dev/api-reference/2026-10/organizations/update-organization): Update an organization. - [Get Payment](https://docs.ourpay.dev/api-reference/2026-10/payments/get-payment): Get a payment by ID. - [List Payments](https://docs.ourpay.dev/api-reference/2026-10/payments/list-payments): List payments. - [product.created](https://docs.ourpay.dev/api-reference/2026-10/product_created): Sent when a new product is created. **Discord & Slack support:** Basic - [product.updated](https://docs.ourpay.dev/api-reference/2026-10/product_updated): Sent when a product is updated. **Discord & Slack support:** Basic - [Create Product](https://docs.ourpay.dev/api-reference/2026-10/products/create-product): Create a product. - [Get Product](https://docs.ourpay.dev/api-reference/2026-10/products/get-product): Get a product by ID. - [List Products](https://docs.ourpay.dev/api-reference/2026-10/products/list-products): List products. - [Update Product](https://docs.ourpay.dev/api-reference/2026-10/products/update-product): Update a product. - [Update Product Benefits](https://docs.ourpay.dev/api-reference/2026-10/products/update-product-benefits): Update benefits granted by a product. - [refund.created](https://docs.ourpay.dev/api-reference/2026-10/refund_created): Sent when a refund is created regardless of status. **Discord & Slack support:** Full - [refund.updated](https://docs.ourpay.dev/api-reference/2026-10/refund_updated): Sent when a refund is updated. **Discord & Slack support:** Full - [Create Refund](https://docs.ourpay.dev/api-reference/2026-10/refunds/create-refund): Create a refund. - [List Refunds](https://docs.ourpay.dev/api-reference/2026-10/refunds/list-refunds): List refunds. - [subscription.active](https://docs.ourpay.dev/api-reference/2026-10/subscription_active): Sent when a subscription becomes active, whether because it's a new paid subscription or because payment was recovered. **Discord & Slack support:** Full - [subscription.canceled](https://docs.ourpay.dev/api-reference/2026-10/subscription_canceled): Sent when a subscription is canceled. Customers might still have access until the end of the current period. **Discord & Slack support:** Full - [subscription.created](https://docs.ourpay.dev/api-reference/2026-10/subscription_created): Sent when a new subscription is created. When this event occurs, the subscription `status` might not be `active` yet, as we can still have to wait for the first payment to be processed. **Discord & Slack support:** Full - [subscription.cycled](https://docs.ourpay.dev/api-reference/2026-10/subscription_cycled): Sent when a subscription enters a new billing period. The payload carries the new `current_period_start` and `current_period_end`. It fires when the period rolls over, before the renewal order exists and regardless of whether the renewal payment succeeds — listen to `order.paid` if you need the payment. A trial converting to a paid subscription starts a new period, so it fires there too. Read `status` to tell the two apart. **Discord & Slack support:** Basic - [subscription.past_due](https://docs.ourpay.dev/api-reference/2026-10/subscription_past_due): Sent when a subscription payment fails and the subscription enters `past_due` status. This is a recoverable state - the customer can update their payment method to restore the subscription. Benefits may be revoked depending on the organization's grace period settings. If payment retries are exhausted, a `subscription.revoked` event will be sent. **Discord & Slack support:** Full - [subscription.paused](https://docs.ourpay.dev/api-reference/2026-10/subscription_paused): Sent when a subscription is paused and the customer temporarily loses access. No order is created while paused. The subscription resumes either on its scheduled resume date or when resumed manually, starting a new billing period. **Discord & Slack support:** Full - [subscription.resumed](https://docs.ourpay.dev/api-reference/2026-10/subscription_resumed): Sent when a paused subscription resumes, restoring the customer's access. Resuming starts a new billing period and charges the customer immediately. **Discord & Slack support:** Full - [subscription.revoked](https://docs.ourpay.dev/api-reference/2026-10/subscription_revoked): 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`). For payment failures that can still be recovered, see `subscription.past_due`. **Discord & Slack support:** Full - [subscription.uncanceled](https://docs.ourpay.dev/api-reference/2026-10/subscription_uncanceled): Sent when a customer revokes a pending cancellation. When a customer cancels with "at period end", they retain access until the subscription would renew. During this time, they can change their mind and undo the cancellation. This event is triggered when they do so. **Discord & Slack support:** Full - [subscription.updated](https://docs.ourpay.dev/api-reference/2026-10/subscription_updated): Sent when a subscription is updated. This event fires for all changes to the subscription, including renewals. If you want more specific events, you can listen to `subscription.active`, `subscription.canceled`, `subscription.past_due`, and `subscription.revoked`. To listen specifically for renewals, listen to `subscription.cycled`. **Discord & Slack support:** On cancellation, past due, and revocation. Renewals are skipped. - [Create Subscription](https://docs.ourpay.dev/api-reference/2026-10/subscriptions/create-subscription): Create a subscription programmatically. This endpoint only allows to create subscription on free products. For paid products, use the checkout flow. No initial order will be created and no confirmation email will be sent. - [Export Subscriptions](https://docs.ourpay.dev/api-reference/2026-10/subscriptions/export-subscriptions): Export subscriptions as a CSV file. - [Get Subscription](https://docs.ourpay.dev/api-reference/2026-10/subscriptions/get-subscription): Get a subscription by ID. - [List Subscriptions](https://docs.ourpay.dev/api-reference/2026-10/subscriptions/list-subscriptions): List subscriptions. - [Revoke Subscription](https://docs.ourpay.dev/api-reference/2026-10/subscriptions/revoke-subscription): Revoke a subscription, i.e cancel immediately. - [Update Subscription](https://docs.ourpay.dev/api-reference/2026-10/subscriptions/update-subscription): Update a subscription. - [Create Webhook Endpoint](https://docs.ourpay.dev/api-reference/2026-10/webhooks/create-webhook-endpoint): Create a webhook endpoint. - [Delete Webhook Endpoint](https://docs.ourpay.dev/api-reference/2026-10/webhooks/delete-webhook-endpoint): Delete a webhook endpoint. - [Get Webhook Endpoint](https://docs.ourpay.dev/api-reference/2026-10/webhooks/get-webhook-endpoint): Get a webhook endpoint by ID. - [List Webhook Deliveries](https://docs.ourpay.dev/api-reference/2026-10/webhooks/list-webhook-deliveries): List webhook deliveries. Deliveries are all the attempts to deliver a webhook event to an endpoint. - [List Webhook Endpoints](https://docs.ourpay.dev/api-reference/2026-10/webhooks/list-webhook-endpoints): List webhook endpoints. - [Redeliver Webhook Event](https://docs.ourpay.dev/api-reference/2026-10/webhooks/redeliver-webhook-event): Schedule the re-delivery of a webhook event. - [Reset Webhook Endpoint Secret](https://docs.ourpay.dev/api-reference/2026-10/webhooks/reset-webhook-endpoint-secret): Regenerate a webhook endpoint secret. - [Update Webhook Endpoint](https://docs.ourpay.dev/api-reference/2026-10/webhooks/update-webhook-endpoint): Update a webhook endpoint.