Sort specification in field:order format. Order is either asc (ascending) or desc (descending).Sortable fields: name, account_name, status, activated_at, ended_at, updated_at, contract_start_date, contract_end_date.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Alguna Docs","colors":{"primary":"#00BA61","light":"#FFFFFF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/alguna-20/hip-SL42XieIK0Ru/logo/light.svg?fit=max\u0026auto=format\u0026n=hip-SL42XieIK0Ru\u0026q=85\u0026s=71436010713272c2db3828c5275207a3","dark":"https://mintcdn.com/alguna-20/hip-SL42XieIK0Ru/logo/dark.svg?fit=max\u0026auto=format\u0026n=hip-SL42XieIK0Ru\u0026q=85\u0026s=9e7341031c0b41384603cf6dcc500e70"},"favicon":"https://mintcdn.com/alguna-20/vTO84Dvkxt4l7dcX/logo/favicon.png?fit=max\u0026auto=format\u0026n=vTO84Dvkxt4l7dcX\u0026q=85\u0026s=e8976e8afe662327a08b9cff93c75acc","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","python","javascript"],"prefill":true},"mdx":{"auth":{"method":"bearer"}}},"appearance":{"default":"dark","strict":false},"background":{"decoration":"windows"},"navbar":{"links":[{"href":"mailto:support@alguna.io","label":"Support"},{"href":"https://app.alguna.io","label":"Login"}],"primary":{"type":"button","label":"Get Started","href":"https://cal.com/alguna/demo"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/algunahq","x":"https://x.com/algunahq"}},"seo":{"metatags":{"canonical":"https://alguna.com/docs"},"organization":{"id":"https://alguna.com/#organization","name":"Alguna","legalName":"Alguna Inc","url":"https://alguna.com/","logo":"https://alguna.com/alguna-logo-black.svg"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alguna-20","hasAudioNarration":false,"actualSubdomain":"alguna-20","customDomains":["alguna.com"],"gitSource":{"type":"github","owner":"alguna-io","repo":"monorepo","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae5cddd9a829c0049d62ee4","collectionId":"6ca5574d-2579-441e-bef4-d4ba2c252ae7","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae5cddd9a829c0049d62ee4"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae5cddd9a829c0049d62ee4","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API References","count":179},{"language":"default","tag":"API Reference","count":146},{"language":"default","tag":"Documentation","count":81},{"language":"default","tag":"Subscriptions","count":31},{"language":"default","tag":"Webhooks","count":25},{"language":"default","tag":"Invoices","count":22},{"language":"default","tag":"Integrations","count":21},{"language":"default","tag":"Quotes","count":16},{"language":"default","tag":"Insights","count":15},{"language":"default","tag":"Customers","count":14}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@alguna.io"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/subscriptions/getSubscriptions","slug":"/api-reference/subscriptions/getSubscriptions","pageMetadata":{"noindex":true,"title":"List Subscriptions","api":"GET https://api.alguna.io/subscriptions","description":"Retrieve a paginated list of subscriptions with optional filtering and sorting","href":"/api-reference/subscriptions/getSubscriptions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve a paginated list of subscriptions with optional filtering and sorting\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieves a paginated list of all subscriptions. You can filter and sort the results using query parameters.`}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`1`,id:`param-page`,children:_jsx(_components.p,{children:`The page number to retrieve (1-indexed).`})}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`10`,id:`param-limit`,children:_jsxs(_components.p,{children:[`The number of subscriptions to return per page. Must be one of: `,_jsx(_components.code,{children:`5`}),`, `,_jsx(_components.code,{children:`10`}),`, `,_jsx(_components.code,{children:`25`}),`, `,_jsx(_components.code,{children:`50`}),`, or `,_jsx(_components.code,{children:`100`}),`. Values exceeding `,_jsx(_components.code,{children:`100`}),` are capped automatically.`]})}),`\n`,_jsxs(ParamField,{query:`filters`,type:`string`,id:`param-filters`,children:[_jsx(_components.p,{children:`A JSON-encoded array of filter objects. Each filter object has the following properties:`}),_jsxs(Expandable,{title:`Filter Object`,children:[_jsxs(ParamField,{body:`field`,type:`string`,required:true,id:`param-field`,children:[_jsx(_components.p,{children:`The field to filter on. Supported fields:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{children:[`Subscription status (`,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`sent`}),`, `,_jsx(_components.code,{children:`accepted`}),`, `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`canceled`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`account_id`})}),_jsx(_components.td,{children:`The account/customer ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsxs(_components.td,{children:[`Metadata key-value pairs (use dot notation, e.g. `,_jsx(_components.code,{children:`metadata.custom_key`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tag_ids`})}),_jsx(_components.td,{children:`Tag IDs associated with the subscription`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`owner_id`})}),_jsx(_components.td,{children:`The owner/assignee user ID`})]})]})]})]}),_jsxs(ParamField,{body:`operator`,type:`string`,required:true,id:`param-operator`,children:[_jsx(_components.p,{children:`The comparison operator. Supported operators:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsx(_components.td,{children:`Exact match`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"value\": \"active\"`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`in`})}),_jsx(_components.td,{children:`Matches any value in a comma-separated list`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"value\": \"active,canceled\"`})})]})]})]})]}),_jsx(ParamField,{body:`value`,type:`string`,required:true,id:`param-value`,children:_jsxs(_components.p,{children:[`The value to match against. For the `,_jsx(_components.code,{children:`in`}),` operator, use comma-separated values.`]})})]})]}),`\n`,_jsxs(ParamField,{query:`sort`,type:`string`,id:`param-sort`,children:[_jsxs(_components.p,{children:[`Sort specification in `,_jsx(_components.code,{children:`field:order`}),` format. Order is either `,_jsx(_components.code,{children:`asc`}),` (ascending) or `,_jsx(_components.code,{children:`desc`}),` (descending).`]}),_jsxs(_components.p,{children:[`Sortable fields: `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`account_name`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`activated_at`}),`, `,_jsx(_components.code,{children:`ended_at`}),`, `,_jsx(_components.code,{children:`updated_at`}),`, `,_jsx(_components.code,{children:`contract_start_date`}),`, `,_jsx(_components.code,{children:`contract_end_date`}),`.`]})]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,`\n`,_jsxs(ResponseField,{name:`items`,type:`array`,id:`param-items`,children:[_jsx(_components.p,{children:`List of subscription objects.`}),_jsxs(Expandable,{title:`Subscription Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the subscription`})}),_jsx(ResponseField,{name:`createdAt`,type:`datetime`,id:`param-created-at`,children:_jsx(_components.p,{children:`When the subscription was created in ISO 8601 format`})}),_jsx(ResponseField,{name:`updatedAt`,type:`datetime`,id:`param-updated-at`,children:_jsx(_components.p,{children:`When the subscription was last updated in ISO 8601 format`})}),_jsx(ResponseField,{name:`organizationId`,type:`string`,id:`param-organization-id`,children:_jsx(_components.p,{children:`The organization ID that owns this subscription`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the subscription, e.g., \"Enterprise Plan - 2024\"`})}),_jsx(ResponseField,{name:`accountId`,type:`string`,id:`param-account-id`,children:_jsx(_components.p,{children:`The customer account ID associated with this subscription. This is typically\nan Alguna customer ID`})}),_jsx(ResponseField,{name:`purchaseOrderNumber`,type:`string`,id:`param-purchase-order-number`,children:_jsx(_components.p,{children:`The purchase order number provided by the customer for this subscription`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`A brief description of the subscription, such as \"Annual enterprise\nsubscription\"`})}),_jsx(ResponseField,{name:`trialPeriodDays`,type:`integer`,id:`param-trial-period-days`,children:_jsx(_components.p,{children:`Number of trial days before billing begins`})}),_jsx(ResponseField,{name:`additionalTerms`,type:`string`,id:`param-additional-terms`,children:_jsx(_components.p,{children:`Any additional contract terms specific to this subscription`})}),_jsxs(ResponseField,{name:`termsOfServiceLinks`,type:`array`,id:`param-terms-of-service-links`,children:[_jsx(_components.p,{children:`Links to terms of service documents that apply to this subscription`}),_jsxs(Expandable,{title:`Terms of Service Link`,children:[_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`The title of the document`})}),_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`The URL to the document`})})]})]}),_jsxs(ResponseField,{name:`termsOfServiceFiles`,type:`array`,id:`param-terms-of-service-files`,children:[_jsx(_components.p,{children:`Files containing terms of service that apply to this subscription`}),_jsxs(Expandable,{title:`Terms of Service File`,children:[_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title-1`,children:_jsx(_components.p,{children:`The title of the file`})}),_jsx(ResponseField,{name:`fileURL`,type:`string`,id:`param-file-url`,children:_jsx(_components.p,{children:`The URL to the file`})})]})]}),_jsxs(ResponseField,{name:`minimumSpend`,type:`object`,id:`param-minimum-spend`,children:[_jsx(_components.p,{children:`Minimum spending threshold for the subscription`}),_jsxs(Expandable,{title:`Spending Threshold`,children:[_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount`,children:_jsx(_components.p,{children:`The monetary amount for the threshold`})}),_jsx(ResponseField,{name:`period`,type:`string`,id:`param-period`,children:_jsx(_components.p,{children:`The period for the threshold (e.g., \"month\", \"year\")`})})]})]}),_jsxs(ResponseField,{name:`maximumSpend`,type:`object`,id:`param-maximum-spend`,children:[_jsx(_components.p,{children:`Maximum spending threshold for the subscription`}),_jsxs(Expandable,{title:`Spending Threshold`,children:[_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount-1`,children:_jsx(_components.p,{children:`The monetary amount for the threshold`})}),_jsx(ResponseField,{name:`period`,type:`string`,id:`param-period-1`,children:_jsx(_components.p,{children:`The period for the threshold (e.g., \"month\", \"year\")`})})]})]}),_jsx(ResponseField,{name:`contractStartDate`,type:`datetime`,id:`param-contract-start-date`,children:_jsx(_components.p,{children:`When the contract begins in ISO 8601 format`})}),_jsx(ResponseField,{name:`contractEndDate`,type:`datetime`,id:`param-contract-end-date`,children:_jsx(_components.p,{children:`When the contract ends in ISO 8601 format. Only set if contractPeriodType is\nfixed`})}),_jsx(ResponseField,{name:`contractDuration`,type:`integer`,id:`param-contract-duration`,children:_jsx(_components.p,{children:`The duration of the contract in the units specified by contractPeriodType`})}),_jsx(ResponseField,{name:`contractPeriodType`,type:`string`,id:`param-contract-period-type`,children:_jsxs(_components.p,{children:[`The period type for the contract. Possible values: `,_jsx(_components.code,{children:`monthly_rolling`}),`, `,_jsx(_components.code,{children:`fixed`})]})}),_jsxs(ResponseField,{name:`discount`,type:`object`,id:`param-discount`,children:[_jsx(_components.p,{children:`Discount applied to the subscription`}),_jsxs(Expandable,{title:`Discount`,children:[_jsx(ResponseField,{name:`discountType`,type:`string`,id:`param-discount-type`,children:_jsxs(_components.p,{children:[`The type of discount. Possible values: `,_jsx(_components.code,{children:`percentage`}),`, `,_jsx(_components.code,{children:`fixed`})]})}),_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount-2`,children:_jsx(_components.p,{children:`The amount of the discount - for percentage discounts, this is a\npercentage (e.g., \"10.00\" for 10%)`})}),_jsx(ResponseField,{name:`durationType`,type:`string`,id:`param-duration-type`,children:_jsxs(_components.p,{children:[`How long the discount applies. Possible values: `,_jsx(_components.code,{children:`monthly_rolling`}),`, `,_jsx(_components.code,{children:`fixed`})]})}),_jsx(ResponseField,{name:`durationValue`,type:`integer`,id:`param-duration-value`,children:_jsx(_components.p,{children:`The duration value, required if durationType is fixed`})}),_jsx(ResponseField,{name:`durationUnit`,type:`string`,id:`param-duration-unit`,children:_jsxs(_components.p,{children:[`The unit of the duration. Possible values: `,_jsx(_components.code,{children:`days`}),`, `,_jsx(_components.code,{children:`weeks`}),`, `,_jsx(_components.code,{children:`months`}),`,\n`,_jsx(_components.code,{children:`years`})]})}),_jsx(ResponseField,{name:`endDate`,type:`datetime`,id:`param-end-date`,children:_jsx(_components.p,{children:`When the discount ends (deprecated, use calculated value)`})})]})]}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`The currency for the subscription (e.g., \"USD\")`})}),_jsx(ResponseField,{name:`sourceCurrency`,type:`string`,id:`param-source-currency`,children:_jsx(_components.p,{children:`The original currency if the subscription was converted from another currency`})}),_jsx(ResponseField,{name:`conversionRate`,type:`string`,id:`param-conversion-rate`,children:_jsx(_components.p,{children:`The rate used for currency conversion, if applicable`})}),_jsx(ResponseField,{name:`conversionRateDate`,type:`datetime`,id:`param-conversion-rate-date`,children:_jsx(_components.p,{children:`When the conversion rate was determined`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Current status of the subscription. Possible values: `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`sent`}),`,\n`,_jsx(_components.code,{children:`accepted`}),`, `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`canceled`})]})}),_jsx(ResponseField,{name:`planId`,type:`string`,id:`param-plan-id`,children:_jsx(_components.p,{children:`ID of the plan this subscription was created from, if applicable`})}),_jsx(ResponseField,{name:`signerName`,type:`string`,id:`param-signer-name`,children:_jsx(_components.p,{children:`Name of the person who signed the subscription`})}),_jsx(ResponseField,{name:`signerEmail`,type:`string`,id:`param-signer-email`,children:_jsx(_components.p,{children:`Email of the person who signed the subscription`})}),_jsx(ResponseField,{name:`signerJobTitle`,type:`string`,id:`param-signer-job-title`,children:_jsx(_components.p,{children:`Job title of the person who signed the subscription`})}),_jsx(ResponseField,{name:`cancelationReason`,type:`string`,id:`param-cancelation-reason`,children:_jsxs(_components.p,{children:[`Reason for cancellation if the subscription was canceled. Possible values:\n`,_jsx(_components.code,{children:`no_longer_required`}),`, `,_jsx(_components.code,{children:`moving_provider`}),`, `,_jsx(_components.code,{children:`pricing`}),`, `,_jsx(_components.code,{children:`support`}),`, `,_jsx(_components.code,{children:`features`}),`,\n`,_jsx(_components.code,{children:`other`})]})}),_jsx(ResponseField,{name:`cancelationReasonDescription`,type:`string`,id:`param-cancelation-reason-description`,children:_jsx(_components.p,{children:`Additional details about the cancellation reason`})}),_jsx(ResponseField,{name:`activatedAt`,type:`datetime`,id:`param-activated-at`,children:_jsx(_components.p,{children:`When the subscription was activated`})}),_jsx(ResponseField,{name:`endedAt`,type:`datetime`,id:`param-ended-at`,children:_jsx(_components.p,{children:`When the subscription ended`})}),_jsx(ResponseField,{name:`autoIssueInvoices`,type:`boolean`,id:`param-auto-issue-invoices`,children:_jsx(_components.p,{children:`Whether invoices are automatically issued for this subscription`})}),_jsx(ResponseField,{name:`autoPayInvoices`,type:`boolean`,id:`param-auto-pay-invoices`,children:_jsx(_components.p,{children:`Whether invoices are automatically paid for this subscription`})}),_jsx(ResponseField,{name:`sendInvoicesToCustomer`,type:`boolean`,id:`param-send-invoices-to-customer`,children:_jsx(_components.p,{children:`Whether invoices are sent to the customer`})}),_jsx(ResponseField,{name:`sendReceiptsToCustomer`,type:`boolean`,id:`param-send-receipts-to-customer`,children:_jsx(_components.p,{children:`Whether receipts are sent to the customer`})}),_jsx(ResponseField,{name:`invoiceGenerationStartDate`,type:`datetime`,id:`param-invoice-generation-start-date`,children:_jsx(_components.p,{children:`When invoice generation begins in ISO 8601 format. This can differ from the\ncontract start date`})}),_jsx(ResponseField,{name:`autoRenew`,type:`boolean`,id:`param-auto-renew`,children:_jsx(_components.p,{children:`Whether the subscription automatically renews`})}),_jsx(ResponseField,{name:`renewalPeriodType`,type:`string`,id:`param-renewal-period-type`,children:_jsxs(_components.p,{children:[`The period type for renewals. Possible values: `,_jsx(_components.code,{children:`monthly_rolling`}),`, `,_jsx(_components.code,{children:`fixed`})]})}),_jsx(ResponseField,{name:`renewalDuration`,type:`integer`,id:`param-renewal-duration`,children:_jsx(_components.p,{children:`The duration for renewals if renewalPeriodType is fixed`})}),_jsx(ResponseField,{name:`renewalHistory`,type:`array`,id:`param-renewal-history`,children:_jsx(_components.p,{children:`History of subscription renewals, with details about each renewal event`})}),_jsx(ResponseField,{name:`firstBillingDate`,type:`datetime`,id:`param-first-billing-date`,children:_jsx(_components.p,{children:`The initial billing date in ISO 8601 format`})}),_jsx(ResponseField,{name:`lastBillingDate`,type:`datetime`,id:`param-last-billing-date`,children:_jsx(_components.p,{children:`The most recent billing date in ISO 8601 format`})}),_jsx(ResponseField,{name:`chargeOneoffPricesOnContractStart`,type:`boolean`,id:`param-charge-oneoff-prices-on-contract-start`,children:_jsx(_components.p,{children:`Whether one-off prices are charged at contract start rather than on the first\nbilling date`})}),_jsx(ResponseField,{name:`hasPDF`,type:`boolean`,id:`param-has-pdf`,children:_jsx(_components.p,{children:`Whether the subscription has a generated PDF document`})}),_jsx(ResponseField,{name:`invoicePaymentTerms`,type:`string`,id:`param-invoice-payment-terms`,children:_jsxs(_components.p,{children:[`Payment terms for invoices. Possible values: `,_jsx(_components.code,{children:`on_issue`}),`, `,_jsx(_components.code,{children:`net_7`}),`, `,_jsx(_components.code,{children:`net_15`}),`, `,_jsx(_components.code,{children:`net_21`}),`,\n`,_jsx(_components.code,{children:`net_30`}),`, `,_jsx(_components.code,{children:`net_60`}),`, `,_jsx(_components.code,{children:`net_75`}),`, `,_jsx(_components.code,{children:`net_90`}),`, `,_jsx(_components.code,{children:`indefinite`})]})}),_jsx(ResponseField,{name:`invoiceMemoTemplate`,type:`string`,id:`param-invoice-memo-template`,children:_jsx(_components.p,{children:`Template for invoice memos`})}),_jsx(ResponseField,{name:`invoiceFooterText`,type:`string`,id:`param-invoice-footer-text`,children:_jsx(_components.p,{children:`Text displayed in the footer of invoices for this subscription`})}),_jsx(ResponseField,{name:`sendActivationEmail`,type:`boolean`,id:`param-send-activation-email`,children:_jsx(_components.p,{children:`Whether an activation email is sent when the subscription is activated`})})]})]}),`\n`,_jsx(ResponseField,{name:`pageCount`,type:`integer`,id:`param-page-count`,children:_jsx(_components.p,{children:`Total number of pages available based on the current limit.`})}),`\n`,_jsx(ResponseField,{name:`limit`,type:`integer`,id:`param-limit-1`,children:_jsx(_components.p,{children:`The number of items per page used for this request.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"noindex":true,"title":"List Subscriptions","api":"GET https://api.alguna.io/subscriptions","description":"Retrieve a paginated list of subscriptions with optional filtering and sorting","href":"/api-reference/subscriptions/getSubscriptions"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieves a paginated list of all subscriptions. You can filter and sort the results using query parameters.`}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`1`,id:`param-page`,children:_jsx(_components.p,{children:`The page number to retrieve (1-indexed).`})}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`10`,id:`param-limit`,children:_jsxs(_components.p,{children:[`The number of subscriptions to return per page. Must be one of: `,_jsx(_components.code,{children:`5`}),`, `,_jsx(_components.code,{children:`10`}),`, `,_jsx(_components.code,{children:`25`}),`, `,_jsx(_components.code,{children:`50`}),`, or `,_jsx(_components.code,{children:`100`}),`. Values exceeding `,_jsx(_components.code,{children:`100`}),` are capped automatically.`]})}),`\n`,_jsxs(ParamField,{query:`filters`,type:`string`,id:`param-filters`,children:[_jsx(_components.p,{children:`A JSON-encoded array of filter objects. Each filter object has the following properties:`}),_jsxs(Expandable,{title:`Filter Object`,children:[_jsxs(ParamField,{body:`field`,type:`string`,required:true,id:`param-field`,children:[_jsx(_components.p,{children:`The field to filter on. Supported fields:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{children:[`Subscription status (`,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`sent`}),`, `,_jsx(_components.code,{children:`accepted`}),`, `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`canceled`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`account_id`})}),_jsx(_components.td,{children:`The account/customer ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsxs(_components.td,{children:[`Metadata key-value pairs (use dot notation, e.g. `,_jsx(_components.code,{children:`metadata.custom_key`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tag_ids`})}),_jsx(_components.td,{children:`Tag IDs associated with the subscription`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`owner_id`})}),_jsx(_components.td,{children:`The owner/assignee user ID`})]})]})]})]}),_jsxs(ParamField,{body:`operator`,type:`string`,required:true,id:`param-operator`,children:[_jsx(_components.p,{children:`The comparison operator. Supported operators:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsx(_components.td,{children:`Exact match`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"value\": \"active\"`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`in`})}),_jsx(_components.td,{children:`Matches any value in a comma-separated list`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"value\": \"active,canceled\"`})})]})]})]})]}),_jsx(ParamField,{body:`value`,type:`string`,required:true,id:`param-value`,children:_jsxs(_components.p,{children:[`The value to match against. For the `,_jsx(_components.code,{children:`in`}),` operator, use comma-separated values.`]})})]})]}),`\n`,_jsxs(ParamField,{query:`sort`,type:`string`,id:`param-sort`,children:[_jsxs(_components.p,{children:[`Sort specification in `,_jsx(_components.code,{children:`field:order`}),` format. Order is either `,_jsx(_components.code,{children:`asc`}),` (ascending) or `,_jsx(_components.code,{children:`desc`}),` (descending).`]}),_jsxs(_components.p,{children:[`Sortable fields: `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`account_name`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`activated_at`}),`, `,_jsx(_components.code,{children:`ended_at`}),`, `,_jsx(_components.code,{children:`updated_at`}),`, `,_jsx(_components.code,{children:`contract_start_date`}),`, `,_jsx(_components.code,{children:`contract_end_date`}),`.`]})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.alguna.io/subscriptions?page=1\u0026limit=25\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL (with filters and sort)`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.alguna.io/subscriptions\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'page=1'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'limit=10'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'filters=[{\"field\":\"status\",\"operator\":\"in\",\"value\":\"active,canceled\"}]'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'sort=updated_at:desc'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`9`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` subscriptions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` alguna`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`subscriptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`list`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` page:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` limit:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` filters:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`field:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`operator:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"in\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"active,canceled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`field:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`operator:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eq\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"acc_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sort:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"updated_at:desc\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`83`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`83`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub_0000000000000001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T12:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T12:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"organizationId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"org_0000000000000001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Enterprise Plan - 2024\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accountId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acc_0000000000000001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"purchaseOrderNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PO-12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Annual enterprise subscription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trialPeriodDays\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additionalTerms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Custom terms for this enterprise client\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"termsOfServiceLinks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Terms of Service\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/terms\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Privacy Policy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/privacy\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"termsOfServiceFiles\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MSA Agreement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fileURL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/files/msa.pdf\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minimumSpend\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"month\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maximumSpend\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"50000.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"month\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contractStartDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contractEndDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-12-31T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contractDuration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contractPeriodType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discountType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"percentage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"durationType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"durationValue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"durationUnit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"months\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sourceCurrency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversionRate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversionRateDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"planId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pln_0000000000000001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"signerName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"signerEmail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"john.doe@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"signerJobTitle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CEO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cancelationReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no_longer_required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cancelationReasonDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"We no longer have a need for this subscription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"activatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"endedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-12-31T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"autoIssueInvoices\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"autoPayInvoices\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sendInvoicesToCustomer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sendReceiptsToCustomer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoiceGenerationStartDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"autoRenew\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"renewalPeriodType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"renewalDuration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"renewalHistory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"firstBillingDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastBillingDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-12-31T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chargeOneoffPricesOnContractStart\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hasPDF\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoicePaymentTerms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"net_30\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoiceMemoTemplate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Thank you for your business with us\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoiceFooterText\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Please contact billing@example.com with any questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sendActivationEmail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pageCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsxs(ResponseField,{name:`items`,type:`array`,id:`param-items`,children:[_jsx(_components.p,{children:`List of subscription objects.`}),_jsxs(Expandable,{title:`Subscription Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the subscription`})}),_jsx(ResponseField,{name:`createdAt`,type:`datetime`,id:`param-created-at`,children:_jsx(_components.p,{children:`When the subscription was created in ISO 8601 format`})}),_jsx(ResponseField,{name:`updatedAt`,type:`datetime`,id:`param-updated-at`,children:_jsx(_components.p,{children:`When the subscription was last updated in ISO 8601 format`})}),_jsx(ResponseField,{name:`organizationId`,type:`string`,id:`param-organization-id`,children:_jsx(_components.p,{children:`The organization ID that owns this subscription`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the subscription, e.g., \"Enterprise Plan - 2024\"`})}),_jsx(ResponseField,{name:`accountId`,type:`string`,id:`param-account-id`,children:_jsx(_components.p,{children:`The customer account ID associated with this subscription. This is typically\nan Alguna customer ID`})}),_jsx(ResponseField,{name:`purchaseOrderNumber`,type:`string`,id:`param-purchase-order-number`,children:_jsx(_components.p,{children:`The purchase order number provided by the customer for this subscription`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`A brief description of the subscription, such as \"Annual enterprise\nsubscription\"`})}),_jsx(ResponseField,{name:`trialPeriodDays`,type:`integer`,id:`param-trial-period-days`,children:_jsx(_components.p,{children:`Number of trial days before billing begins`})}),_jsx(ResponseField,{name:`additionalTerms`,type:`string`,id:`param-additional-terms`,children:_jsx(_components.p,{children:`Any additional contract terms specific to this subscription`})}),_jsxs(ResponseField,{name:`termsOfServiceLinks`,type:`array`,id:`param-terms-of-service-links`,children:[_jsx(_components.p,{children:`Links to terms of service documents that apply to this subscription`}),_jsxs(Expandable,{title:`Terms of Service Link`,children:[_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`The title of the document`})}),_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`The URL to the document`})})]})]}),_jsxs(ResponseField,{name:`termsOfServiceFiles`,type:`array`,id:`param-terms-of-service-files`,children:[_jsx(_components.p,{children:`Files containing terms of service that apply to this subscription`}),_jsxs(Expandable,{title:`Terms of Service File`,children:[_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title-1`,children:_jsx(_components.p,{children:`The title of the file`})}),_jsx(ResponseField,{name:`fileURL`,type:`string`,id:`param-file-url`,children:_jsx(_components.p,{children:`The URL to the file`})})]})]}),_jsxs(ResponseField,{name:`minimumSpend`,type:`object`,id:`param-minimum-spend`,children:[_jsx(_components.p,{children:`Minimum spending threshold for the subscription`}),_jsxs(Expandable,{title:`Spending Threshold`,children:[_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount`,children:_jsx(_components.p,{children:`The monetary amount for the threshold`})}),_jsx(ResponseField,{name:`period`,type:`string`,id:`param-period`,children:_jsx(_components.p,{children:`The period for the threshold (e.g., \"month\", \"year\")`})})]})]}),_jsxs(ResponseField,{name:`maximumSpend`,type:`object`,id:`param-maximum-spend`,children:[_jsx(_components.p,{children:`Maximum spending threshold for the subscription`}),_jsxs(Expandable,{title:`Spending Threshold`,children:[_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount-1`,children:_jsx(_components.p,{children:`The monetary amount for the threshold`})}),_jsx(ResponseField,{name:`period`,type:`string`,id:`param-period-1`,children:_jsx(_components.p,{children:`The period for the threshold (e.g., \"month\", \"year\")`})})]})]}),_jsx(ResponseField,{name:`contractStartDate`,type:`datetime`,id:`param-contract-start-date`,children:_jsx(_components.p,{children:`When the contract begins in ISO 8601 format`})}),_jsx(ResponseField,{name:`contractEndDate`,type:`datetime`,id:`param-contract-end-date`,children:_jsx(_components.p,{children:`When the contract ends in ISO 8601 format. Only set if contractPeriodType is\nfixed`})}),_jsx(ResponseField,{name:`contractDuration`,type:`integer`,id:`param-contract-duration`,children:_jsx(_components.p,{children:`The duration of the contract in the units specified by contractPeriodType`})}),_jsx(ResponseField,{name:`contractPeriodType`,type:`string`,id:`param-contract-period-type`,children:_jsxs(_components.p,{children:[`The period type for the contract. Possible values: `,_jsx(_components.code,{children:`monthly_rolling`}),`, `,_jsx(_components.code,{children:`fixed`})]})}),_jsxs(ResponseField,{name:`discount`,type:`object`,id:`param-discount`,children:[_jsx(_components.p,{children:`Discount applied to the subscription`}),_jsxs(Expandable,{title:`Discount`,children:[_jsx(ResponseField,{name:`discountType`,type:`string`,id:`param-discount-type`,children:_jsxs(_components.p,{children:[`The type of discount. Possible values: `,_jsx(_components.code,{children:`percentage`}),`, `,_jsx(_components.code,{children:`fixed`})]})}),_jsx(ResponseField,{name:`amount`,type:`string`,id:`param-amount-2`,children:_jsx(_components.p,{children:`The amount of the discount - for percentage discounts, this is a\npercentage (e.g., \"10.00\" for 10%)`})}),_jsx(ResponseField,{name:`durationType`,type:`string`,id:`param-duration-type`,children:_jsxs(_components.p,{children:[`How long the discount applies. Possible values: `,_jsx(_components.code,{children:`monthly_rolling`}),`, `,_jsx(_components.code,{children:`fixed`})]})}),_jsx(ResponseField,{name:`durationValue`,type:`integer`,id:`param-duration-value`,children:_jsx(_components.p,{children:`The duration value, required if durationType is fixed`})}),_jsx(ResponseField,{name:`durationUnit`,type:`string`,id:`param-duration-unit`,children:_jsxs(_components.p,{children:[`The unit of the duration. Possible values: `,_jsx(_components.code,{children:`days`}),`, `,_jsx(_components.code,{children:`weeks`}),`, `,_jsx(_components.code,{children:`months`}),`,\n`,_jsx(_components.code,{children:`years`})]})}),_jsx(ResponseField,{name:`endDate`,type:`datetime`,id:`param-end-date`,children:_jsx(_components.p,{children:`When the discount ends (deprecated, use calculated value)`})})]})]}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`The currency for the subscription (e.g., \"USD\")`})}),_jsx(ResponseField,{name:`sourceCurrency`,type:`string`,id:`param-source-currency`,children:_jsx(_components.p,{children:`The original currency if the subscription was converted from another currency`})}),_jsx(ResponseField,{name:`conversionRate`,type:`string`,id:`param-conversion-rate`,children:_jsx(_components.p,{children:`The rate used for currency conversion, if applicable`})}),_jsx(ResponseField,{name:`conversionRateDate`,type:`datetime`,id:`param-conversion-rate-date`,children:_jsx(_components.p,{children:`When the conversion rate was determined`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Current status of the subscription. Possible values: `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`sent`}),`,\n`,_jsx(_components.code,{children:`accepted`}),`, `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`canceled`})]})}),_jsx(ResponseField,{name:`planId`,type:`string`,id:`param-plan-id`,children:_jsx(_components.p,{children:`ID of the plan this subscription was created from, if applicable`})}),_jsx(ResponseField,{name:`signerName`,type:`string`,id:`param-signer-name`,children:_jsx(_components.p,{children:`Name of the person who signed the subscription`})}),_jsx(ResponseField,{name:`signerEmail`,type:`string`,id:`param-signer-email`,children:_jsx(_components.p,{children:`Email of the person who signed the subscription`})}),_jsx(ResponseField,{name:`signerJobTitle`,type:`string`,id:`param-signer-job-title`,children:_jsx(_components.p,{children:`Job title of the person who signed the subscription`})}),_jsx(ResponseField,{name:`cancelationReason`,type:`string`,id:`param-cancelation-reason`,children:_jsxs(_components.p,{children:[`Reason for cancellation if the subscription was canceled. Possible values:\n`,_jsx(_components.code,{children:`no_longer_required`}),`, `,_jsx(_components.code,{children:`moving_provider`}),`, `,_jsx(_components.code,{children:`pricing`}),`, `,_jsx(_components.code,{children:`support`}),`, `,_jsx(_components.code,{children:`features`}),`,\n`,_jsx(_components.code,{children:`other`})]})}),_jsx(ResponseField,{name:`cancelationReasonDescription`,type:`string`,id:`param-cancelation-reason-description`,children:_jsx(_components.p,{children:`Additional details about the cancellation reason`})}),_jsx(ResponseField,{name:`activatedAt`,type:`datetime`,id:`param-activated-at`,children:_jsx(_components.p,{children:`When the subscription was activated`})}),_jsx(ResponseField,{name:`endedAt`,type:`datetime`,id:`param-ended-at`,children:_jsx(_components.p,{children:`When the subscription ended`})}),_jsx(ResponseField,{name:`autoIssueInvoices`,type:`boolean`,id:`param-auto-issue-invoices`,children:_jsx(_components.p,{children:`Whether invoices are automatically issued for this subscription`})}),_jsx(ResponseField,{name:`autoPayInvoices`,type:`boolean`,id:`param-auto-pay-invoices`,children:_jsx(_components.p,{children:`Whether invoices are automatically paid for this subscription`})}),_jsx(ResponseField,{name:`sendInvoicesToCustomer`,type:`boolean`,id:`param-send-invoices-to-customer`,children:_jsx(_components.p,{children:`Whether invoices are sent to the customer`})}),_jsx(ResponseField,{name:`sendReceiptsToCustomer`,type:`boolean`,id:`param-send-receipts-to-customer`,children:_jsx(_components.p,{children:`Whether receipts are sent to the customer`})}),_jsx(ResponseField,{name:`invoiceGenerationStartDate`,type:`datetime`,id:`param-invoice-generation-start-date`,children:_jsx(_components.p,{children:`When invoice generation begins in ISO 8601 format. This can differ from the\ncontract start date`})}),_jsx(ResponseField,{name:`autoRenew`,type:`boolean`,id:`param-auto-renew`,children:_jsx(_components.p,{children:`Whether the subscription automatically renews`})}),_jsx(ResponseField,{name:`renewalPeriodType`,type:`string`,id:`param-renewal-period-type`,children:_jsxs(_components.p,{children:[`The period type for renewals. Possible values: `,_jsx(_components.code,{children:`monthly_rolling`}),`, `,_jsx(_components.code,{children:`fixed`})]})}),_jsx(ResponseField,{name:`renewalDuration`,type:`integer`,id:`param-renewal-duration`,children:_jsx(_components.p,{children:`The duration for renewals if renewalPeriodType is fixed`})}),_jsx(ResponseField,{name:`renewalHistory`,type:`array`,id:`param-renewal-history`,children:_jsx(_components.p,{children:`History of subscription renewals, with details about each renewal event`})}),_jsx(ResponseField,{name:`firstBillingDate`,type:`datetime`,id:`param-first-billing-date`,children:_jsx(_components.p,{children:`The initial billing date in ISO 8601 format`})}),_jsx(ResponseField,{name:`lastBillingDate`,type:`datetime`,id:`param-last-billing-date`,children:_jsx(_components.p,{children:`The most recent billing date in ISO 8601 format`})}),_jsx(ResponseField,{name:`chargeOneoffPricesOnContractStart`,type:`boolean`,id:`param-charge-oneoff-prices-on-contract-start`,children:_jsx(_components.p,{children:`Whether one-off prices are charged at contract start rather than on the first\nbilling date`})}),_jsx(ResponseField,{name:`hasPDF`,type:`boolean`,id:`param-has-pdf`,children:_jsx(_components.p,{children:`Whether the subscription has a generated PDF document`})}),_jsx(ResponseField,{name:`invoicePaymentTerms`,type:`string`,id:`param-invoice-payment-terms`,children:_jsxs(_components.p,{children:[`Payment terms for invoices. Possible values: `,_jsx(_components.code,{children:`on_issue`}),`, `,_jsx(_components.code,{children:`net_7`}),`, `,_jsx(_components.code,{children:`net_15`}),`, `,_jsx(_components.code,{children:`net_21`}),`,\n`,_jsx(_components.code,{children:`net_30`}),`, `,_jsx(_components.code,{children:`net_60`}),`, `,_jsx(_components.code,{children:`net_75`}),`, `,_jsx(_components.code,{children:`net_90`}),`, `,_jsx(_components.code,{children:`indefinite`})]})}),_jsx(ResponseField,{name:`invoiceMemoTemplate`,type:`string`,id:`param-invoice-memo-template`,children:_jsx(_components.p,{children:`Template for invoice memos`})}),_jsx(ResponseField,{name:`invoiceFooterText`,type:`string`,id:`param-invoice-footer-text`,children:_jsx(_components.p,{children:`Text displayed in the footer of invoices for this subscription`})}),_jsx(ResponseField,{name:`sendActivationEmail`,type:`boolean`,id:`param-send-activation-email`,children:_jsx(_components.p,{children:`Whether an activation email is sent when the subscription is activated`})})]})]}),`\n`,_jsx(ResponseField,{name:`pageCount`,type:`integer`,id:`param-page-count`,children:_jsx(_components.p,{children:`Total number of pages available based on the current limit.`})}),`\n`,_jsx(ResponseField,{name:`limit`,type:`integer`,id:`param-limit-1`,children:_jsx(_components.p,{children:`The number of items per page used for this request.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"noindex":true,"title":"List Subscriptions","api":"GET https://api.alguna.io/subscriptions","description":"Retrieve a paginated list of subscriptions with optional filtering and sorting","href":"/api-reference/subscriptions/getSubscriptions"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.alguna.io/subscriptions?page=1\u0026#x26;limit=25\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer YOUR_API_KEY\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL (with filters and sort)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -G\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.alguna.io/subscriptions\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'page=1'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'limit=10'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'filters=[{\"field\":\"status\",\"operator\":\"in\",\"value\":\"active,canceled\"}]'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'sort=updated_at:desc'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Node.js","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> subscriptions\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> alguna\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">subscriptions\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">list\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> page:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> limit:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 25\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> filters:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">field:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">operator:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"in\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">value:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"active,canceled\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">field:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">operator:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"eq\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">value:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"acc_abc123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> sort:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"updated_at:desc\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"83\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"items\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"sub_0000000000000001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T12:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T12:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"organizationId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"org_0000000000000001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Enterprise Plan - 2024\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"accountId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"acc_0000000000000001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"purchaseOrderNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PO-12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Annual enterprise subscription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"trialPeriodDays\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">30\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"additionalTerms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Custom terms for this enterprise client\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"termsOfServiceLinks\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Terms of Service\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://example.com/terms\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Privacy Policy\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://example.com/privacy\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"termsOfServiceFiles\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"MSA Agreement\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fileURL\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://example.com/files/msa.pdf\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"minimumSpend\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"10000.00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"period\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"month\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"maximumSpend\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"50000.00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"period\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"month\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"contractStartDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"contractEndDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-12-31T23:59:59Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"contractDuration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"contractPeriodType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"fixed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"discount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"discountType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"percentage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"10.00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"durationType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"fixed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"durationValue\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"durationUnit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"months\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sourceCurrency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"conversionRate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"conversionRateDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"draft\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"planId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pln_0000000000000001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"signerName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"John Doe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"signerEmail\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"john.doe@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"signerJobTitle\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CEO\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cancelationReason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"no_longer_required\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cancelationReasonDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"We no longer have a need for this subscription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"activatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"endedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-12-31T23:59:59Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"autoIssueInvoices\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"autoPayInvoices\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sendInvoicesToCustomer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sendReceiptsToCustomer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoiceGenerationStartDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"autoRenew\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"renewalPeriodType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"fixed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"renewalDuration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"renewalHistory\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"firstBillingDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lastBillingDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-12-31T23:59:59Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"chargeOneoffPricesOnContractStart\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hasPDF\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoicePaymentTerms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"net_30\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoiceMemoTemplate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Thank you for your business with us\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoiceFooterText\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Please contact billing@example.com with any questions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sendActivationEmail\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pageCount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"List Subscriptions","path":"/subscriptions","servers":[{"url":"https://api.alguna.io"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{"page":{"schema":[{"type":"integer","description":"The page number to retrieve (1-indexed)."}]},"limit":{"schema":[{"type":"integer","description":"The number of subscriptions to return per page. Must be one of: `5` , `10` , `25` , `50` , or `100` . Values exceeding `100` are capped automatically."}]},"filters":{"schema":[{"type":"string","description":"A JSON-encoded array of filter objects. Each filter object has the following properties:"}]},"sort":{"schema":[{"type":"string","description":"Sort specification in `field:order` format. Order is either `asc` (ascending) or `desc` (descending). Sortable fields: `name` , `account_name` , `status` , `activated_at` , `ended_at` , `updated_at` , `contract_start_date` , `contract_end_date` ."}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"items":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the subscription"}],"createdAt":[{"type":"object","properties":{},"description":"When the subscription was created in ISO 8601 format"}],"updatedAt":[{"type":"object","properties":{},"description":"When the subscription was last updated in ISO 8601 format"}],"organizationId":[{"type":"string","description":"The organization ID that owns this subscription"}],"name":[{"type":"string","description":"The name of the subscription, e.g., \"Enterprise Plan - 2024\""}],"accountId":[{"type":"string","description":"The customer account ID associated with this subscription. This is typically an Alguna customer ID"}],"purchaseOrderNumber":[{"type":"string","description":"The purchase order number provided by the customer for this subscription"}],"description":[{"type":"string","description":"A brief description of the subscription, such as \"Annual enterprise subscription\""}],"trialPeriodDays":[{"type":"integer","description":"Number of trial days before billing begins"}],"additionalTerms":[{"type":"string","description":"Any additional contract terms specific to this subscription"}],"termsOfServiceLinks":[{"type":"array","items":[{"type":"object","properties":{"title":[{"type":"string","description":"The title of the document"}],"url":[{"type":"string","description":"The URL to the document"}]}}],"description":"Links to terms of service documents that apply to this subscription"}],"termsOfServiceFiles":[{"type":"array","items":[{"type":"object","properties":{"title":[{"type":"string","description":"The title of the file"}],"fileURL":[{"type":"string","description":"The URL to the file"}]}}],"description":"Files containing terms of service that apply to this subscription"}],"minimumSpend":[{"type":"object","properties":{"amount":[{"type":"string","description":"The monetary amount for the threshold"}],"period":[{"type":"string","description":"The period for the threshold (e.g., \"month\", \"year\")"}]},"description":"Minimum spending threshold for the subscription"}],"maximumSpend":[{"type":"object","properties":{"amount":[{"type":"string","description":"The monetary amount for the threshold"}],"period":[{"type":"string","description":"The period for the threshold (e.g., \"month\", \"year\")"}]},"description":"Maximum spending threshold for the subscription"}],"contractStartDate":[{"type":"object","properties":{},"description":"When the contract begins in ISO 8601 format"}],"contractEndDate":[{"type":"object","properties":{},"description":"When the contract ends in ISO 8601 format. Only set if contractPeriodType is fixed"}],"contractDuration":[{"type":"integer","description":"The duration of the contract in the units specified by contractPeriodType"}],"contractPeriodType":[{"type":"string","description":"The period type for the contract. Possible values: `monthly_rolling` , `fixed`"}],"discount":[{"type":"object","properties":{"discountType":[{"type":"string","description":"The type of discount. Possible values: `percentage` , `fixed`"}],"amount":[{"type":"string","description":"The amount of the discount - for percentage discounts, this is a percentage (e.g., \"10.00\" for 10%)"}],"durationType":[{"type":"string","description":"How long the discount applies. Possible values: `monthly_rolling` , `fixed`"}],"durationValue":[{"type":"integer","description":"The duration value, required if durationType is fixed"}],"durationUnit":[{"type":"string","description":"The unit of the duration. Possible values: `days` , `weeks` , `months` , `years`"}],"endDate":[{"type":"object","properties":{},"description":"When the discount ends (deprecated, use calculated value)"}]},"description":"Discount applied to the subscription"}],"currency":[{"type":"string","description":"The currency for the subscription (e.g., \"USD\")"}],"sourceCurrency":[{"type":"string","description":"The original currency if the subscription was converted from another currency"}],"conversionRate":[{"type":"string","description":"The rate used for currency conversion, if applicable"}],"conversionRateDate":[{"type":"object","properties":{},"description":"When the conversion rate was determined"}],"status":[{"type":"string","description":"Current status of the subscription. Possible values: `draft` , `sent` , `accepted` , `active` , `canceled`"}],"planId":[{"type":"string","description":"ID of the plan this subscription was created from, if applicable"}],"signerName":[{"type":"string","description":"Name of the person who signed the subscription"}],"signerEmail":[{"type":"string","description":"Email of the person who signed the subscription"}],"signerJobTitle":[{"type":"string","description":"Job title of the person who signed the subscription"}],"cancelationReason":[{"type":"string","description":"Reason for cancellation if the subscription was canceled. Possible values: `no_longer_required` , `moving_provider` , `pricing` , `support` , `features` , `other`"}],"cancelationReasonDescription":[{"type":"string","description":"Additional details about the cancellation reason"}],"activatedAt":[{"type":"object","properties":{},"description":"When the subscription was activated"}],"endedAt":[{"type":"object","properties":{},"description":"When the subscription ended"}],"autoIssueInvoices":[{"type":"boolean","description":"Whether invoices are automatically issued for this subscription"}],"autoPayInvoices":[{"type":"boolean","description":"Whether invoices are automatically paid for this subscription"}],"sendInvoicesToCustomer":[{"type":"boolean","description":"Whether invoices are sent to the customer"}],"sendReceiptsToCustomer":[{"type":"boolean","description":"Whether receipts are sent to the customer"}],"invoiceGenerationStartDate":[{"type":"object","properties":{},"description":"When invoice generation begins in ISO 8601 format. This can differ from the contract start date"}],"autoRenew":[{"type":"boolean","description":"Whether the subscription automatically renews"}],"renewalPeriodType":[{"type":"string","description":"The period type for renewals. Possible values: `monthly_rolling` , `fixed`"}],"renewalDuration":[{"type":"integer","description":"The duration for renewals if renewalPeriodType is fixed"}],"renewalHistory":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"History of subscription renewals, with details about each renewal event"}],"firstBillingDate":[{"type":"object","properties":{},"description":"The initial billing date in ISO 8601 format"}],"lastBillingDate":[{"type":"object","properties":{},"description":"The most recent billing date in ISO 8601 format"}],"chargeOneoffPricesOnContractStart":[{"type":"boolean","description":"Whether one-off prices are charged at contract start rather than on the first billing date"}],"hasPDF":[{"type":"boolean","description":"Whether the subscription has a generated PDF document"}],"invoicePaymentTerms":[{"type":"string","description":"Payment terms for invoices. Possible values: `on_issue` , `net_7` , `net_15` , `net_21` , `net_30` , `net_60` , `net_75` , `net_90` , `indefinite`"}],"invoiceMemoTemplate":[{"type":"string","description":"Template for invoice memos"}],"invoiceFooterText":[{"type":"string","description":"Text displayed in the footer of invoices for this subscription"}],"sendActivationEmail":[{"type":"boolean","description":"Whether an activation email is sent when the subscription is activated"}]}}],"description":"List of subscription objects."}],"pageCount":[{"type":"integer","description":"Total number of pages available based on the current limit."}],"limit":[{"type":"integer","description":"The number of items per page used for this request."}]}}],"examples":{"example":{"value":{"items":[{"id":"\u003cstring>","createdAt":{},"updatedAt":{},"organizationId":"\u003cstring>","name":"\u003cstring>","accountId":"\u003cstring>","purchaseOrderNumber":"\u003cstring>","description":"\u003cstring>","trialPeriodDays":123,"additionalTerms":"\u003cstring>","termsOfServiceLinks":[{"title":"\u003cstring>","url":"\u003cstring>"}],"termsOfServiceFiles":[{"title":"\u003cstring>","fileURL":"\u003cstring>"}],"minimumSpend":{"amount":"\u003cstring>","period":"\u003cstring>"},"maximumSpend":{"amount":"\u003cstring>","period":"\u003cstring>"},"contractStartDate":{},"contractEndDate":{},"contractDuration":123,"contractPeriodType":"\u003cstring>","discount":{"discountType":"\u003cstring>","amount":"\u003cstring>","durationType":"\u003cstring>","durationValue":123,"durationUnit":"\u003cstring>","endDate":{}},"currency":"\u003cstring>","sourceCurrency":"\u003cstring>","conversionRate":"\u003cstring>","conversionRateDate":{},"status":"\u003cstring>","planId":"\u003cstring>","signerName":"\u003cstring>","signerEmail":"\u003cstring>","signerJobTitle":"\u003cstring>","cancelationReason":"\u003cstring>","cancelationReasonDescription":"\u003cstring>","activatedAt":{},"endedAt":{},"autoIssueInvoices":true,"autoPayInvoices":true,"sendInvoicesToCustomer":true,"sendReceiptsToCustomer":true,"invoiceGenerationStartDate":{},"autoRenew":true,"renewalPeriodType":"\u003cstring>","renewalDuration":123,"renewalHistory":[{}],"firstBillingDate":{},"lastBillingDate":{},"chargeOneoffPricesOnContractStart":true,"hasPDF":true,"invoicePaymentTerms":"\u003cstring>","invoiceMemoTemplate":"\u003cstring>","invoiceFooterText":"\u003cstring>","sendActivationEmail":true}],"pageCount":123,"limit":123}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"alguna-20","siteName":"Alguna Docs","title":"List Subscriptions - Alguna Docs","navMaps":{"firstHrefInVersion":{"2026-04-01":{"href":"/api-reference/v2/overview","matchLevel":3},"v1":{"href":"/api-reference/subscriptions/getSubscriptions","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-03-18T12:39:48.950Z","originalFileLocation":"api-reference/subscriptions/getSubscriptions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve a paginated list of subscriptions with optional filtering and sorting\">\u003cmeta data-mint-head name=\"application-name\" content=\"Alguna Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Subscriptions - Alguna Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a paginated list of subscriptions with optional filtering and sorting\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Alguna Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://alguna.com/docs/api-reference/subscriptions/getSubscriptions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alguna-20.mintlify.app/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=List+Subscriptions\u0026amp;description=Retrieve+a+paginated+list+of+subscriptions+with+optional+filtering+and+sorting\u0026amp;theme=f6c1ec92a0e2bfb7a1fcd8d8\u0026amp;signature=eadb0e24205cbe83fef231338c9dfa5264b9317b1c38d9db1a834e73b5d40cc6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List Subscriptions - Alguna Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a paginated list of subscriptions with optional filtering and sorting\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alguna-20.mintlify.app/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=List+Subscriptions\u0026amp;description=Retrieve+a+paginated+list+of+subscriptions+with+optional+filtering+and+sorting\u0026amp;theme=f6c1ec92a0e2bfb7a1fcd8d8\u0026amp;signature=eadb0e24205cbe83fef231338c9dfa5264b9317b1c38d9db1a834e73b5d40cc6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Alguna Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00BA61\">\u003clink data-mint-head rel=\"canonical\" href=\"https://alguna.com/docs/api-reference/subscriptions/getSubscriptions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/subscriptions/getSubscriptions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Alguna Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Alguna Docs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/overview"}]},{"anchor":"Quick Starts","icon":"rocket","pages":[{"title":"Quick Starts","href":"/quickstarts/overview"}]},{"anchor":"API References","icon":"code","versions":[{"version":"2026-04-01","pages":[{"title":"2026-04-01","href":"/api-reference/v2/overview"}]},{"version":"v1","tag":"Deprecated","groups":[{"group":"API Reference","pages":[{"title":"Overview","icon":"plug","href":"/api-reference/overview"}]},{"group":"Billing Events \u0026 Usage Metering","pages":[{"title":"Ingest Billable Events","api":"POST https://api.alguna.io/events","href":"/api-reference/events/ingest"},{"title":"Create Billable Metric","api":"POST https://api.alguna.io/metrics","href":"/api-reference/events/createMetric"},{"title":"Get Billable Metric","api":"GET https://api.alguna.io/metrics/{id}","href":"/api-reference/events/getMetric"},{"title":"List Billable Metrics","api":"GET https://api.alguna.io/metrics","href":"/api-reference/events/listMetrics"},{"title":"Update Billable Metric","api":"PUT https://api.alguna.io/metrics/{id}","href":"/api-reference/events/updateMetric"}]},{"group":"Bundles","pages":[{"title":"Create Bundle","api":"POST https://api.alguna.io/price-bundles","href":"/api-reference/bundles/createBundles"},{"title":"Update Bundle","api":"PUT https://api.alguna.io/price-bundles/{id}","href":"/api-reference/bundles/updateBundles"},{"title":"Get Bundle","api":"GET https://api.alguna.io/price-bundles/{id}","href":"/api-reference/bundles/getBundles"},{"title":"List Bundles","api":"GET https://api.alguna.io/price-bundles","href":"/api-reference/bundles/listBundles"}]},{"group":"Credit Grants","pages":[{"title":"Create Credit Grant","api":"POST https://api.alguna.io/credit-grants","href":"/api-reference/credit-grants/create"},{"title":"Get Credit Grant","api":"GET https://api.alguna.io/credit-grants/{id}","href":"/api-reference/credit-grants/get"},{"title":"List Credit Grants","api":"GET https://api.alguna.io/credit-grants","href":"/api-reference/credit-grants/list"},{"title":"List Grants by Wallet","api":"GET https://api.alguna.io/wallets/{id}/credit-grants","href":"/api-reference/credit-grants/list-by-wallet"}]},{"group":"Credit Notes","pages":[{"title":"Create Credit Note","api":"POST https://api.alguna.io/credit-notes","href":"/api-reference/credit-notes/create"},{"title":"Get Credit Note","api":"GET https://api.alguna.io/credit-notes/{id}","href":"/api-reference/credit-notes/get"},{"title":"List Credit Notes by Account","api":"GET https://api.alguna.io/account/{id}/credit-notes","href":"/api-reference/credit-notes/list"}]},{"group":"Customers","pages":[{"title":"Create Account","api":"POST https://api.alguna.io/accounts","href":"/api-reference/customers/create"},{"title":"Get Customer","api":"GET https://api.alguna.io/accounts/{id}","href":"/api-reference/customers/getByID"},{"title":"Lookup Customer by Alias","api":"GET https://api.alguna.io/account-lookup","href":"/api-reference/customers/accountLookup"},{"title":"List Customers","api":"GET https://api.alguna.io/accounts","href":"/api-reference/customers/list"},{"title":"Update Customers","api":"PATCH https://api.alguna.io/accounts/{id}","href":"/api-reference/customers/update"}]},{"group":"Invoices","pages":[{"title":"List Invoices","api":"GET https://api.alguna.io/invoices","href":"/api-reference/invoices/list"},{"title":"Get Invoice","api":"GET https://api.alguna.io/invoices/{id}","href":"/api-reference/invoices/getByID"},{"title":"Lookup Invoice by Reference","api":"GET https://api.alguna.io/invoice-lookup","href":"/api-reference/invoices/invoiceLookup"},{"title":"Mark Invoice as Paid","api":"PUT https://api.alguna.io/invoices/{id}/mark-as-paid","href":"/api-reference/invoices/markAsPaid"},{"title":"Create invoice","api":"POST https://api.alguna.io/invoices","href":"/api-reference/invoices/create"},{"title":"Create Invoice Line Item","api":"POST https://api.alguna.io/invoices/{id}/line-items","href":"/api-reference/invoices/createLineItem"},{"title":"Update Invoice Line Item","api":"PUT https://api.alguna.io/invoices/{id}/line-items/{itemID}","href":"/api-reference/invoices/updateLineItem"},{"title":"Delete Invoice Line Item","api":"DELETE https://api.alguna.io/invoices/{id}/line-items/{itemID}","href":"/api-reference/invoices/deleteLineItem"},{"title":"Generate PDF","api":"GET https://api.alguna.io/dashboard/invoices/{id}/pdf","href":"/api-reference/invoices/generatePDFs"}]},{"group":"Plans","pages":[{"title":"Get Plan","api":"GET https://api.alguna.io/plans/{id}","href":"/api-reference/plans/getPlan"},{"title":"List Plans","api":"GET https://api.alguna.io/plans/","href":"/api-reference/plans/listPlans"}]},{"group":"Products","pages":[{"title":"Create Product","api":"POST https://api.alguna.io/products","href":"/api-reference/products/createProduct"},{"title":"Get Product","api":"GET https://api.alguna.io/products/{id}","href":"/api-reference/products/getProduct"},{"title":"Update Product","api":"PATCH https://api.alguna.io/products/{id}","href":"/api-reference/products/updateProduct"},{"title":"List Products","api":"GET https://api.alguna.io/products","href":"/api-reference/products/listProducts"}]},{"group":"Refunds","pages":[{"title":"Get Refund","api":"GET https://api.alguna.io/refunds/{id}","description":null,"href":"/api-reference/refunds/get"}]},{"group":"Subscriptions","pages":[{"title":"List Subscriptions","api":"GET https://api.alguna.io/subscriptions","href":"/api-reference/subscriptions/getSubscriptions"},{"title":"Get Subscription","api":"GET https://api.alguna.io/subscriptions/{id}","description":"Retrieve details of a specific subscription","href":"/api-reference/subscriptions/getSubscription"},{"title":"Create Subscription","api":"POST https://api.alguna.io/subscriptions","href":"/api-reference/subscriptions/createSubscription"},{"title":"Activate Subscription","api":"POST https://api.alguna.io/subscriptions/{id}/activate","href":"/api-reference/subscriptions/activateSubscription"},{"title":"Update Subscription","api":"PATCH https://api.alguna.io/subscriptions/{id}","href":"/api-reference/subscriptions/updateSubscription"},{"title":"Cancel Subscription","api":"POST https://api.alguna.io/subscriptions/{id}/cancel","href":"/api-reference/subscriptions/cancelSubscription"},{"title":"Delete Subscription","api":"DELETE https://api.alguna.io/subscriptions/{id}","href":"/api-reference/subscriptions/deleteSubscription"}]},{"group":"Subscription Versions","pages":[{"title":"Get Subscription Version","api":"GET https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/getSubscriptionVersion"},{"title":"List Subscription Versions","api":"GET https://api.alguna.io/subscriptions/{id}/versions","href":"/api-reference/subscription-versions/getSubscriptionVersions"},{"title":"Create Subscription Version","api":"POST https://api.alguna.io/subscriptions/{id}/versions","href":"/api-reference/subscription-versions/createSubscriptionVersion"},{"title":"Update Subscription Version","api":"PATCH https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/updateSubscriptionVersion"},{"title":"Publish Subscription Version","api":"POST https://api.alguna.io/subscriptions/{id}/versions/{versionId}/publish","href":"/api-reference/subscription-versions/publishSubscriptionVersion"},{"title":"Delete Subscription Version","api":"DELETE https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/deleteSubscriptionVersion"},{"title":"Pricing Models API Reference","href":"/api-reference/subscription-versions/pricingModels"}]},{"group":"Wallets","pages":[{"title":"Create Wallet","api":"POST https://api.alguna.io/wallets","href":"/api-reference/wallets/create"},{"title":"Get Wallet","api":"GET https://api.alguna.io/wallets/{id}","href":"/api-reference/wallets/get"},{"title":"List Wallets","api":"GET https://api.alguna.io/wallets","href":"/api-reference/wallets/list"},{"title":"Get Wallet Balance","api":"GET https://api.alguna.io/wallets/{id}/balance","href":"/api-reference/wallets/get-balance"},{"title":"Credit Wallet","api":"POST https://api.alguna.io/wallets/{id}/credit","href":"/api-reference/wallets/credit"}]}]}]},{"anchor":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/marketplace"}]},{"anchor":"Migrations","icon":"plane","pages":[{"title":"Migrations","href":"/migrations/migrations"}]},{"anchor":"Contact us","icon":"envelope","href":"https://alguna.io"}]},"basePath":"","title":"List Subscriptions - Alguna Docs","buildId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","deploymentId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-CLz2_Z5D.js","utils-7A5jZhOT.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BVWmkKuv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-4SOfrh0F.js","snippetPresets-CMc8KicP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-DeQN5MDd.js","ApiExamples-Ba9tX7z3.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Be8krXvv.js","shallow-CBC3K1uB.js","getApiPlaygroundDisplay-4tKcUAYo.js","CodeSnippet-C1Xa06ft.js","CodeSnippets-vqiz27A_.js","getPastedJson-NUwRfM32.js","icon-DkIVqWh9.js","MethodPill-qmhT7_wz.js","DuplicateIcon-_gWp1vhn.js","createIcon-NA1p_TVA.js","DynamicMarkdown-Bas9A7wq.js","SectionHeading-a1cS-24U.js","axios-vUo_bRtp.js"]}