[{"data":1,"prerenderedAt":1843},["ShallowReactive",2],{"navigation":3,"/integrations/controllers/prices":310,"/integrations/controllers/prices-surround":1707,"/types/pagination-query.type":1716,"T8X8wEDTTq":1733,"RlQfeeH749":1743,"/types/pagination-response.type":1753,"R6VCIDBMAK":1765,"wYpKjgCnmI":1793},[4,13,161,197,211,236,290,300],{"title":5,"_path":6,"children":7,"_id":12,"description":11},"Getting Started","/getting-started",[8],{"title":9,"_path":6,"_id":10,"description":11},"Overview","content:1.getting-started:1.index.md","Everything you need to know about integrating Churnkey with your product and billing stack.","content:1.getting-started:_dir.yml",{"title":14,"_path":15,"children":16,"_id":160},"Cancel Flows","/cancel-flows",[17,22,27,32,37,42,47,52,57,62,67,72,116,130],{"title":18,"_path":19,"_id":20,"description":21},"Quick Start Guide","/cancel-flows/quick-start-guide","content:2.cancel-flows:1.quick-start-guide.md","A 3-step guide on how to implement Cancel Flows in your website",{"title":23,"_path":24,"_id":25,"description":26},"Cancel Flow Structure","/cancel-flows/flow-configuration","content:2.cancel-flows:2.flow configuration.md","Learn about the available components that make up a Cancel Flow, from initial offers to cancellation confirmation, and how each step contributes to the overall flow.",{"title":28,"_path":29,"_id":30,"description":31},"Configuration Options","/cancel-flows/further-configuration","content:2.cancel-flows:3.further-configuration.md","Additional details for all of the following options are included below.",{"title":33,"_path":34,"_id":35,"description":36},"Custom Styling","/cancel-flows/custom-styling","content:2.cancel-flows:4.custom-styling.md","Brand your Churnkey Cancel Flow with your own CSS",{"title":38,"_path":39,"_id":40,"description":41},"Managed Email Flow","/cancel-flows/email-verified-cancel-flow","content:2.cancel-flows:6.email-verified-cancel-flow.md","Our managed email based setup takes care of customer verification for you with an email verification code.",{"title":43,"_path":44,"_id":45,"description":46},"A/B Testing","/cancel-flows/a-b-testing","content:2.cancel-flows:7.a-b-testing.md","Run controlled experiments to optimize your Cancel Flows and maximize customer retention.",{"title":48,"_path":49,"_id":50,"description":51},"Testing","/cancel-flows/cancel-flow-testing","content:2.cancel-flows:8.cancel-flow-testing.md","Ensure that your Cancel Flow is working as intended before going live.",{"title":53,"_path":54,"_id":55,"description":56},"Pause Wall","/cancel-flows/pause-wall","content:2.cancel-flows:9.pause-wall.md","Block access to your application during subscription pauses",{"title":58,"_path":59,"_id":60,"description":61},"Click-to-Cancel Compliance","/cancel-flows/click-to-cancel","content:2.cancel-flows:10.click-to-cancel.md","Implement automatic compliance with global subscription cancellation requirements",{"title":63,"_path":64,"_id":65,"description":66},"Structured Follow-Up Questions","/cancel-flows/structured-follow-up-questions","content:2.cancel-flows:11.structured-follow-up-questions.md","Collect deeper cancellation insights and deliver targeted retention offers with a second layer of predefined follow-up options in your cancel flow survey.",{"title":68,"_path":69,"_id":70,"description":71},"Adaptive Offers","/cancel-flows/adaptive-offers","content:2.cancel-flows:adaptive-offers.md","AI-powered discount optimization that automatically finds the perfect offer for each customer",{"title":73,"_path":74,"children":75},"Analytics","/cancel-flows/analytics",[76,81,86,91,96,101,106,111],{"title":77,"_path":78,"_id":79,"description":80},"Boosted Revenue","/cancel-flows/analytics/average-boosted-revenue","content:2.cancel-flows:analytics:1.average-boosted-revenue.md","Measure the long-term value of retained subscribers",{"title":82,"_path":83,"_id":84,"description":85},"Save Rate","/cancel-flows/analytics/save-rate","content:2.cancel-flows:analytics:2.save-rate.md","The percentage of customers that your Cancel Flows saved from cancellation",{"title":87,"_path":88,"_id":89,"description":90},"Reactivation Rate","/cancel-flows/analytics/reactivation-rate","content:2.cancel-flows:analytics:3.reactivation-rate.md","The percentage of customers who pay at least one invoice after being saved",{"title":92,"_path":93,"_id":94,"description":95},"Sessions","/cancel-flows/analytics/session-outcomes","content:2.cancel-flows:analytics:4.session-outcomes.md","Track each interaction that a customer has with your Cancel Flows",{"title":97,"_path":98,"_id":99,"description":100},"Cancellation Trends","/cancel-flows/analytics/cancellation-trends","content:2.cancel-flows:analytics:5.cancellation-trends.md","Analyze and interpret the selection rates and trends for cancellation reasons in your Cancel Flows.",{"title":102,"_path":103,"_id":104,"description":105},"Feedback AI","/cancel-flows/analytics/feedback-ai","content:2.cancel-flows:analytics:6.feedback-ai.md","Transform customer feedback into actionable insights with AI-powered categorization and analysis",{"title":107,"_path":108,"_id":109,"description":110},"Response Flow","/cancel-flows/analytics/response-flow","content:2.cancel-flows:analytics:7.response-flow.md","Visualize how customers move from primary cancellation reasons to specific follow-up selections with the Sankey diagram",{"title":112,"_path":113,"_id":114,"description":115},"Response Explorer","/cancel-flows/analytics/response-explorer","content:2.cancel-flows:analytics:8.response-explorer.md","Drill into individual follow-up responses with the Treemap visualization, search, trend analysis, and MRR impact sorting",{"title":117,"_path":118,"children":119},"Multi Language Support","/cancel-flows/multi-language-support",[120,125],{"title":121,"_path":122,"_id":123,"description":124},"Manual Translations","/cancel-flows/multi-language-support/multi-language-support","content:2.cancel-flows:multi-language-support:5.multi-language-support.md","Support multiple languages.",{"title":126,"_path":127,"_id":128,"description":129},"Automatic Translations","/cancel-flows/multi-language-support/automatic-translation","content:2.cancel-flows:multi-language-support:automatic-translation.md","Enable AI-powered multilingual support for your Cancel Flows with a single toggle.",{"title":131,"_path":132,"children":133,"_id":159},"Offers","/cancel-flows/offers",[134,139,144,149,154],{"title":135,"_path":136,"_id":137,"description":138},"Discount","/cancel-flows/offers/discounts","content:2.cancel-flows:offers:discounts.md","Offer targeted subscription discounts to reduce churn and increase customer retention",{"title":140,"_path":141,"_id":142,"description":143},"Hidden Plans","/cancel-flows/offers/hidden-plans","content:2.cancel-flows:offers:hidden-plans.md","Use the Switch Subscription Plan offer to present exclusive, non-public plans to customers during cancellation",{"title":145,"_path":146,"_id":147,"description":148},"Pause Subscription","/cancel-flows/offers/pause-subscription","content:2.cancel-flows:offers:pause-subscription.md","Temporarily suspend subscription payments without canceling the service",{"title":150,"_path":151,"_id":152,"description":153},"Switch Subscription Plan","/cancel-flows/offers/switch-subscription","content:2.cancel-flows:offers:switch-subscription.md","Allow customers to change to a different subscription plan during the cancellation flow to retain them with a more suitable option",{"title":155,"_path":156,"_id":157,"description":158},"Trial Extension","/cancel-flows/offers/trial-extension","content:2.cancel-flows:offers:trial-extension.md","Extend customer trial periods to reduce churn and increase conversion rates during the critical trial-to-paid transition","content:2.cancel-flows:offers:_dir.yml","content:2.cancel-flows:_dir.yml",{"title":162,"_path":163,"children":164,"_id":196},"Payment Recovery","/failed-payment-recovery",[165,169,174,179,184,188],{"title":5,"_path":166,"_id":167,"description":168},"/failed-payment-recovery/payment-recovery","content:3.failed-payment-recovery:1.payment-recovery.md","Recover failed payment revenue, automatically.",{"title":170,"_path":171,"_id":172,"description":173},"Customize your Campaigns","/failed-payment-recovery/campaign-customization","content:3.failed-payment-recovery:2.campaign-customization.md","Customize your Payment Recovery Campaigns to match the unique needs of your individual customers.",{"title":175,"_path":176,"_id":177,"description":178},"Failed Payment Wall","/failed-payment-recovery/failed-payment-wall","content:3.failed-payment-recovery:3.failed-payment-wall.md","Block access to your application when payments fail",{"title":180,"_path":181,"_id":182,"description":183},"Billing Contact API","/failed-payment-recovery/billing-contact-api","content:3.failed-payment-recovery:4.billing-contact-api.md","Send Payment Recovery emails to multiple billing contacts",{"title":43,"_path":185,"_id":186,"description":187},"/failed-payment-recovery/ab-testing","content:3.failed-payment-recovery:5.ab-testing.md","Optimize your payment recovery campaigns through controlled experiments that maximize revenue recovery.",{"title":73,"_path":189,"children":190},"/failed-payment-recovery/analytics",[191],{"title":192,"_path":193,"_id":194,"description":195},"Overall Performance","/failed-payment-recovery/analytics/overview","content:3.failed-payment-recovery:analytics:1.overview.md","Key performance metrics for your Payment Recovery campaigns","content:3.failed-payment-recovery:_dir.yml",{"title":198,"_path":199,"children":200,"_id":210},"Reactivations","/reactivations",[201,205],{"title":5,"_path":202,"_id":203,"description":204},"/reactivations/reactivations","content:4.reactivations:1.reactivations.md","Churnkey helps you to recover unsubscribed customers with easy, customizable Reactivation Email Campaigns.",{"title":206,"_path":207,"_id":208,"description":209},"Customization","/reactivations/campaign-customization-guide","content:4.reactivations:2.campaign-customization-guide.md","Customize your Reactivation Campaigns to match the individual needs of your customers.","content:4.reactivations:_dir.yml",{"title":212,"_path":213,"children":214,"_id":235},"Data Integrations","/data-integrations",[215,220,225,230],{"title":216,"_path":217,"_id":218,"description":219},"Data API","/data-integrations/data-api","content:6.data-integrations:1.data-api.md","Access your data through our API.",{"title":221,"_path":222,"_id":223,"description":224},"Slack notifications","/data-integrations/slack","content:6.data-integrations:2.slack.md","Connect Churnkey with your organization's Slack and to send session notifications to a specific channel.",{"title":226,"_path":227,"_id":228,"description":229},"Webhooks","/data-integrations/webhooks","content:6.data-integrations:2.webhooks.md","Churnkey can send webhooks to automatically notify your application whenever a customer completes a session.",{"title":231,"_path":232,"_id":233,"description":234},"Event Tracking","/data-integrations/event-tracking","content:6.data-integrations:3.event-tracking.md","Track your customers' key-value metrics on a per customer basis.","content:6.data-integrations:_dir.yml",{"title":237,"_path":238,"children":239,"_id":289},"Billing Providers","/billing-providers",[240,245,250,255,260,265,270,275],{"title":241,"_path":242,"_id":243,"description":244},"Payment Providers","/billing-providers/payment-provider-overview","content:7.billing-providers:1.payment-provider-overview.md","Feature support for Stripe, Chargebee, Paddle, and Braintree",{"title":246,"_path":247,"_id":248,"description":249},"Stripe","/billing-providers/stripe","content:7.billing-providers:3.stripe.md","Integrate Churnkey with your Stripe account",{"title":251,"_path":252,"_id":253,"description":254},"Chargebee","/billing-providers/chargebee","content:7.billing-providers:4.chargebee.md","Integrate Churnkey with your Chargebee account",{"title":256,"_path":257,"_id":258,"description":259},"Paddle Classic","/billing-providers/paddle-classic","content:7.billing-providers:5.paddle-classic.md","Integrate Churnkey with your Paddle Classic account",{"title":261,"_path":262,"_id":263,"description":264},"Paddle Billing","/billing-providers/paddle-billing","content:7.billing-providers:6.paddle-billing.md","Integrate Churnkey with your Paddle Billing account",{"title":266,"_path":267,"_id":268,"description":269},"Braintree","/billing-providers/braintree","content:7.billing-providers:7.braintree.md","Integrate Churnkey with your Braintree account",{"title":271,"_path":272,"_id":273,"description":274},"Maxio","/billing-providers/maxio","content:7.billing-providers:8.maxio.md","Integrate Churnkey with your Maxio (formerly Chargify) account",{"title":276,"_path":277,"children":278},"Direct Connect","/billing-providers/direct-connect",[279,284],{"title":280,"_path":281,"_id":282,"description":283},"Churnkey Direct","/billing-providers/direct-connect/direct","content:7.billing-providers:9.direct-connect:1.direct.md","Integrate Churnkey with any billing system using Direct mode",{"title":285,"_path":286,"_id":287,"description":288},"Direct Mode Examples","/billing-providers/direct-connect/direct-examples","content:7.billing-providers:9.direct-connect:2.direct-examples.md","Real-world examples for common subscription scenarios","content:7.billing-providers:_dir.yml",{"title":291,"_path":292,"children":293,"_id":299},"Account","/account",[294],{"title":295,"_path":296,"_id":297,"description":298},"Multi-Workspace Support","/account/multi-workspace-support","content:8.account:1.multi-workspace-support.md","Use one email address to access multiple Churnkey workspaces and switch between them instantly.","content:8.account:_dir.yml",{"title":301,"_path":302,"children":303,"_id":309},"Support","/support",[304],{"title":305,"_path":306,"_id":307,"description":308},"Frequently Asked Questions","/support/faqs","content:9.support:1.faqs.md","We want setting up Churnkey to be a breeze.","content:9.support:_dir.yml",{"_path":311,"_dir":312,"_draft":313,"_partial":313,"_locale":314,"title":315,"description":316,"body":317,"_type":1700,"_id":1701,"_source":1702,"_file":1703,"_stem":1704,"_extension":1705,"sitemap":1706},"/integrations/controllers/prices","controllers",false,"","Prices - Controller","List and retrieve `Price` models.",{"type":318,"children":319,"toc":1692},"root",[320,337,344,404,410,422,960,966,976,985,1014,1062,1329,1338,1347,1359,1369,1378,1385,1686],{"type":321,"tag":322,"props":323,"children":324},"element","p",{},[325,328,335],{"type":326,"value":327},"text","To implement the ",{"type":321,"tag":329,"props":330,"children":332},"code",{"className":331},[],[333],{"type":326,"value":334},"Prices",{"type":326,"value":336}," controller, you need to implement 2 API endpoints, we will use these endpoints to fetch prices from your system.",{"type":321,"tag":338,"props":339,"children":341},"h2",{"id":340},"prerequisites",[342],{"type":326,"value":343},"Prerequisites",{"type":321,"tag":345,"props":346,"children":348},"grid",{"cols":347},2,[349,375],{"type":321,"tag":350,"props":351,"children":354},"card-baseline",{"title":352,"to":353},"Price Model","/integrations/models/price",[355],{"type":321,"tag":322,"props":356,"children":357},{},[358,360,364,367,369],{"type":326,"value":359},"A price for a product or service.\n",{"type":321,"tag":361,"props":362,"children":363},"br",{},[],{"type":321,"tag":361,"props":365,"children":366},{},[],{"type":326,"value":368}," ",{"type":321,"tag":370,"props":371,"children":374},"badge",{"label":372,"color":373},"Required","green",[],{"type":321,"tag":350,"props":376,"children":379},{"title":377,"to":378},"Products - Controller","/integrations/controllers/products",[380],{"type":321,"tag":322,"props":381,"children":382},{},[383,385,391,393,396,399,400],{"type":326,"value":384},"If you chose to implement prices with products, you must implement a ",{"type":321,"tag":329,"props":386,"children":388},{"className":387},[],[389],{"type":326,"value":390},"Products",{"type":326,"value":392}," controller first.\n",{"type":321,"tag":361,"props":394,"children":395},{},[],{"type":321,"tag":361,"props":397,"children":398},{},[],{"type":326,"value":368},{"type":321,"tag":370,"props":401,"children":403},{"label":402},"Optional",[],{"type":321,"tag":338,"props":405,"children":407},{"id":406},"sdk",[408],{"type":326,"value":409},"SDK",{"type":321,"tag":322,"props":411,"children":412},{},[413,415,420],{"type":326,"value":414},"If you are using the SDK, you can implement the ",{"type":321,"tag":329,"props":416,"children":418},{"className":417},[],[419],{"type":326,"value":334},{"type":326,"value":421}," controller by following the code example below. You don't need to get into the details of the API endpoints, the SDK will take care of that for you.",{"type":321,"tag":423,"props":424,"children":425},"code-group",{},[426],{"type":321,"tag":427,"props":428,"children":433},"pre",{"className":429,"code":430,"filename":431,"language":432,"meta":314,"style":314},"language-typescript shiki shiki-themes github-light-default github-light-default github-dark-default","import { Integrator } from '@churnkey/sdk'\nimport { Context } from '../Context'\nimport { Price } from '../models/Price'\n// import { Products } from './Products'\n\nexport const Prices = Integrator.Prices.config({\n    ctx: Context,\n    type: Integrator.Price.Type.Standalone,\n    // type: Integrator.Price.Type.Product,\n    // Products: Products, \n    async retrieve(ctx, options) {\n        const yourPrice = await ctx.db.findPrice(options.id)\n        return new Price(yourPrice)\n    },\n    async list(ctx, options) {\n        const yourPrices = await ctx.db.listPrices({\n            limit: options.limit,\n            offset: options.cursor // the value you pass as `next` below\n        })\n        return {\n            data: yourPrices.map(price => new Price(price)),\n            // pass the next cursor if there are more items\n            next: yourPrices.length === options.limit ? offset + limit : undefined\n        }\n    }\n})\n","Typescript","typescript",[434],{"type":321,"tag":329,"props":435,"children":436},{"__ignoreMap":314},[437,466,487,509,519,529,570,579,588,597,606,646,684,708,717,750,784,793,807,816,829,870,879,933,942,951],{"type":321,"tag":438,"props":439,"children":442},"span",{"class":440,"line":441},"line",1,[443,449,455,460],{"type":321,"tag":438,"props":444,"children":446},{"style":445},"--shiki-light:#CF222E;--shiki-default:#CF222E;--shiki-dark:#FF7B72",[447],{"type":326,"value":448},"import",{"type":321,"tag":438,"props":450,"children":452},{"style":451},"--shiki-light:#1F2328;--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[453],{"type":326,"value":454}," { Integrator } ",{"type":321,"tag":438,"props":456,"children":457},{"style":445},[458],{"type":326,"value":459},"from",{"type":321,"tag":438,"props":461,"children":463},{"style":462},"--shiki-light:#0A3069;--shiki-default:#0A3069;--shiki-dark:#A5D6FF",[464],{"type":326,"value":465}," '@churnkey/sdk'\n",{"type":321,"tag":438,"props":467,"children":468},{"class":440,"line":347},[469,473,478,482],{"type":321,"tag":438,"props":470,"children":471},{"style":445},[472],{"type":326,"value":448},{"type":321,"tag":438,"props":474,"children":475},{"style":451},[476],{"type":326,"value":477}," { Context } ",{"type":321,"tag":438,"props":479,"children":480},{"style":445},[481],{"type":326,"value":459},{"type":321,"tag":438,"props":483,"children":484},{"style":462},[485],{"type":326,"value":486}," '../Context'\n",{"type":321,"tag":438,"props":488,"children":490},{"class":440,"line":489},3,[491,495,500,504],{"type":321,"tag":438,"props":492,"children":493},{"style":445},[494],{"type":326,"value":448},{"type":321,"tag":438,"props":496,"children":497},{"style":451},[498],{"type":326,"value":499}," { Price } ",{"type":321,"tag":438,"props":501,"children":502},{"style":445},[503],{"type":326,"value":459},{"type":321,"tag":438,"props":505,"children":506},{"style":462},[507],{"type":326,"value":508}," '../models/Price'\n",{"type":321,"tag":438,"props":510,"children":512},{"class":440,"line":511},4,[513],{"type":321,"tag":438,"props":514,"children":516},{"style":515},"--shiki-light:#6E7781;--shiki-default:#6E7781;--shiki-dark:#8B949E",[517],{"type":326,"value":518},"// import { Products } from './Products'\n",{"type":321,"tag":438,"props":520,"children":522},{"class":440,"line":521},5,[523],{"type":321,"tag":438,"props":524,"children":526},{"emptyLinePlaceholder":525},true,[527],{"type":326,"value":528},"\n",{"type":321,"tag":438,"props":530,"children":532},{"class":440,"line":531},6,[533,538,543,549,554,559,565],{"type":321,"tag":438,"props":534,"children":535},{"style":445},[536],{"type":326,"value":537},"export",{"type":321,"tag":438,"props":539,"children":540},{"style":445},[541],{"type":326,"value":542}," const",{"type":321,"tag":438,"props":544,"children":546},{"style":545},"--shiki-light:#0550AE;--shiki-default:#0550AE;--shiki-dark:#79C0FF",[547],{"type":326,"value":548}," Prices",{"type":321,"tag":438,"props":550,"children":551},{"style":445},[552],{"type":326,"value":553}," =",{"type":321,"tag":438,"props":555,"children":556},{"style":451},[557],{"type":326,"value":558}," Integrator.Prices.",{"type":321,"tag":438,"props":560,"children":562},{"style":561},"--shiki-light:#8250DF;--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[563],{"type":326,"value":564},"config",{"type":321,"tag":438,"props":566,"children":567},{"style":451},[568],{"type":326,"value":569},"({\n",{"type":321,"tag":438,"props":571,"children":573},{"class":440,"line":572},7,[574],{"type":321,"tag":438,"props":575,"children":576},{"style":451},[577],{"type":326,"value":578},"    ctx: Context,\n",{"type":321,"tag":438,"props":580,"children":582},{"class":440,"line":581},8,[583],{"type":321,"tag":438,"props":584,"children":585},{"style":451},[586],{"type":326,"value":587},"    type: Integrator.Price.Type.Standalone,\n",{"type":321,"tag":438,"props":589,"children":591},{"class":440,"line":590},9,[592],{"type":321,"tag":438,"props":593,"children":594},{"style":515},[595],{"type":326,"value":596},"    // type: Integrator.Price.Type.Product,\n",{"type":321,"tag":438,"props":598,"children":600},{"class":440,"line":599},10,[601],{"type":321,"tag":438,"props":602,"children":603},{"style":515},[604],{"type":326,"value":605},"    // Products: Products, \n",{"type":321,"tag":438,"props":607,"children":609},{"class":440,"line":608},11,[610,615,620,625,631,636,641],{"type":321,"tag":438,"props":611,"children":612},{"style":445},[613],{"type":326,"value":614},"    async",{"type":321,"tag":438,"props":616,"children":617},{"style":561},[618],{"type":326,"value":619}," retrieve",{"type":321,"tag":438,"props":621,"children":622},{"style":451},[623],{"type":326,"value":624},"(",{"type":321,"tag":438,"props":626,"children":628},{"style":627},"--shiki-light:#953800;--shiki-default:#953800;--shiki-dark:#FFA657",[629],{"type":326,"value":630},"ctx",{"type":321,"tag":438,"props":632,"children":633},{"style":451},[634],{"type":326,"value":635},", ",{"type":321,"tag":438,"props":637,"children":638},{"style":627},[639],{"type":326,"value":640},"options",{"type":321,"tag":438,"props":642,"children":643},{"style":451},[644],{"type":326,"value":645},") {\n",{"type":321,"tag":438,"props":647,"children":649},{"class":440,"line":648},12,[650,655,660,664,669,674,679],{"type":321,"tag":438,"props":651,"children":652},{"style":445},[653],{"type":326,"value":654},"        const",{"type":321,"tag":438,"props":656,"children":657},{"style":545},[658],{"type":326,"value":659}," yourPrice",{"type":321,"tag":438,"props":661,"children":662},{"style":445},[663],{"type":326,"value":553},{"type":321,"tag":438,"props":665,"children":666},{"style":445},[667],{"type":326,"value":668}," await",{"type":321,"tag":438,"props":670,"children":671},{"style":451},[672],{"type":326,"value":673}," ctx.db.",{"type":321,"tag":438,"props":675,"children":676},{"style":561},[677],{"type":326,"value":678},"findPrice",{"type":321,"tag":438,"props":680,"children":681},{"style":451},[682],{"type":326,"value":683},"(options.id)\n",{"type":321,"tag":438,"props":685,"children":687},{"class":440,"line":686},13,[688,693,698,703],{"type":321,"tag":438,"props":689,"children":690},{"style":445},[691],{"type":326,"value":692},"        return",{"type":321,"tag":438,"props":694,"children":695},{"style":445},[696],{"type":326,"value":697}," new",{"type":321,"tag":438,"props":699,"children":700},{"style":561},[701],{"type":326,"value":702}," Price",{"type":321,"tag":438,"props":704,"children":705},{"style":451},[706],{"type":326,"value":707},"(yourPrice)\n",{"type":321,"tag":438,"props":709,"children":711},{"class":440,"line":710},14,[712],{"type":321,"tag":438,"props":713,"children":714},{"style":451},[715],{"type":326,"value":716},"    },\n",{"type":321,"tag":438,"props":718,"children":720},{"class":440,"line":719},15,[721,725,730,734,738,742,746],{"type":321,"tag":438,"props":722,"children":723},{"style":445},[724],{"type":326,"value":614},{"type":321,"tag":438,"props":726,"children":727},{"style":561},[728],{"type":326,"value":729}," list",{"type":321,"tag":438,"props":731,"children":732},{"style":451},[733],{"type":326,"value":624},{"type":321,"tag":438,"props":735,"children":736},{"style":627},[737],{"type":326,"value":630},{"type":321,"tag":438,"props":739,"children":740},{"style":451},[741],{"type":326,"value":635},{"type":321,"tag":438,"props":743,"children":744},{"style":627},[745],{"type":326,"value":640},{"type":321,"tag":438,"props":747,"children":748},{"style":451},[749],{"type":326,"value":645},{"type":321,"tag":438,"props":751,"children":753},{"class":440,"line":752},16,[754,758,763,767,771,775,780],{"type":321,"tag":438,"props":755,"children":756},{"style":445},[757],{"type":326,"value":654},{"type":321,"tag":438,"props":759,"children":760},{"style":545},[761],{"type":326,"value":762}," yourPrices",{"type":321,"tag":438,"props":764,"children":765},{"style":445},[766],{"type":326,"value":553},{"type":321,"tag":438,"props":768,"children":769},{"style":445},[770],{"type":326,"value":668},{"type":321,"tag":438,"props":772,"children":773},{"style":451},[774],{"type":326,"value":673},{"type":321,"tag":438,"props":776,"children":777},{"style":561},[778],{"type":326,"value":779},"listPrices",{"type":321,"tag":438,"props":781,"children":782},{"style":451},[783],{"type":326,"value":569},{"type":321,"tag":438,"props":785,"children":787},{"class":440,"line":786},17,[788],{"type":321,"tag":438,"props":789,"children":790},{"style":451},[791],{"type":326,"value":792},"            limit: options.limit,\n",{"type":321,"tag":438,"props":794,"children":796},{"class":440,"line":795},18,[797,802],{"type":321,"tag":438,"props":798,"children":799},{"style":451},[800],{"type":326,"value":801},"            offset: options.cursor ",{"type":321,"tag":438,"props":803,"children":804},{"style":515},[805],{"type":326,"value":806},"// the value you pass as `next` below\n",{"type":321,"tag":438,"props":808,"children":810},{"class":440,"line":809},19,[811],{"type":321,"tag":438,"props":812,"children":813},{"style":451},[814],{"type":326,"value":815},"        })\n",{"type":321,"tag":438,"props":817,"children":819},{"class":440,"line":818},20,[820,824],{"type":321,"tag":438,"props":821,"children":822},{"style":445},[823],{"type":326,"value":692},{"type":321,"tag":438,"props":825,"children":826},{"style":451},[827],{"type":326,"value":828}," {\n",{"type":321,"tag":438,"props":830,"children":832},{"class":440,"line":831},21,[833,838,843,847,852,857,861,865],{"type":321,"tag":438,"props":834,"children":835},{"style":451},[836],{"type":326,"value":837},"            data: yourPrices.",{"type":321,"tag":438,"props":839,"children":840},{"style":561},[841],{"type":326,"value":842},"map",{"type":321,"tag":438,"props":844,"children":845},{"style":451},[846],{"type":326,"value":624},{"type":321,"tag":438,"props":848,"children":849},{"style":627},[850],{"type":326,"value":851},"price",{"type":321,"tag":438,"props":853,"children":854},{"style":445},[855],{"type":326,"value":856}," =>",{"type":321,"tag":438,"props":858,"children":859},{"style":445},[860],{"type":326,"value":697},{"type":321,"tag":438,"props":862,"children":863},{"style":561},[864],{"type":326,"value":702},{"type":321,"tag":438,"props":866,"children":867},{"style":451},[868],{"type":326,"value":869},"(price)),\n",{"type":321,"tag":438,"props":871,"children":873},{"class":440,"line":872},22,[874],{"type":321,"tag":438,"props":875,"children":876},{"style":515},[877],{"type":326,"value":878},"            // pass the next cursor if there are more items\n",{"type":321,"tag":438,"props":880,"children":882},{"class":440,"line":881},23,[883,888,893,898,903,908,913,918,923,928],{"type":321,"tag":438,"props":884,"children":885},{"style":451},[886],{"type":326,"value":887},"            next: yourPrices.",{"type":321,"tag":438,"props":889,"children":890},{"style":545},[891],{"type":326,"value":892},"length",{"type":321,"tag":438,"props":894,"children":895},{"style":445},[896],{"type":326,"value":897}," ===",{"type":321,"tag":438,"props":899,"children":900},{"style":451},[901],{"type":326,"value":902}," options.limit ",{"type":321,"tag":438,"props":904,"children":905},{"style":445},[906],{"type":326,"value":907},"?",{"type":321,"tag":438,"props":909,"children":910},{"style":451},[911],{"type":326,"value":912}," offset ",{"type":321,"tag":438,"props":914,"children":915},{"style":445},[916],{"type":326,"value":917},"+",{"type":321,"tag":438,"props":919,"children":920},{"style":451},[921],{"type":326,"value":922}," limit ",{"type":321,"tag":438,"props":924,"children":925},{"style":445},[926],{"type":326,"value":927},":",{"type":321,"tag":438,"props":929,"children":930},{"style":545},[931],{"type":326,"value":932}," undefined\n",{"type":321,"tag":438,"props":934,"children":936},{"class":440,"line":935},24,[937],{"type":321,"tag":438,"props":938,"children":939},{"style":451},[940],{"type":326,"value":941},"        }\n",{"type":321,"tag":438,"props":943,"children":945},{"class":440,"line":944},25,[946],{"type":321,"tag":438,"props":947,"children":948},{"style":451},[949],{"type":326,"value":950},"    }\n",{"type":321,"tag":438,"props":952,"children":954},{"class":440,"line":953},26,[955],{"type":321,"tag":438,"props":956,"children":957},{"style":451},[958],{"type":326,"value":959},"})\n",{"type":321,"tag":338,"props":961,"children":963},{"id":962},"endpoints",[964],{"type":326,"value":965},"Endpoints",{"type":321,"tag":967,"props":968,"children":970},"h3",{"id":969},"retrieve",[971,973],{"type":326,"value":972},"Retrieve ",{"type":321,"tag":370,"props":974,"children":975},{"label":372,"color":373},[],{"type":321,"tag":322,"props":977,"children":978},{},[979],{"type":321,"tag":329,"props":980,"children":982},{"className":981},[],[983],{"type":326,"value":984},"GET /churnkey/prices/:id",{"type":321,"tag":322,"props":986,"children":987},{},[988,990,996,998,1004,1006,1012],{"type":326,"value":989},"This endpoint fetches ",{"type":321,"tag":329,"props":991,"children":993},{"className":992},[],[994],{"type":326,"value":995},"Price",{"type":326,"value":997}," by its ",{"type":321,"tag":329,"props":999,"children":1001},{"className":1000},[],[1002],{"type":326,"value":1003},"id",{"type":326,"value":1005},". Usually, implementation will include finding a price in your database and mapping it to the ",{"type":321,"tag":1007,"props":1008,"children":1009},"a",{"href":353},[1010],{"type":326,"value":1011},"Price model",{"type":326,"value":1013},".",{"type":321,"tag":1015,"props":1016,"children":1018},"collapsible",{"name":1017},"response",[1019],{"type":321,"tag":1020,"props":1021,"children":1022},"tabs",{},[1023,1046],{"type":321,"tag":1024,"props":1025,"children":1027},"div",{"label":1026},"200",[1028],{"type":321,"tag":322,"props":1029,"children":1030},{},[1031,1033,1038,1040,1045],{"type":326,"value":1032},"Must return ",{"type":321,"tag":329,"props":1034,"children":1036},{"className":1035},[],[1037],{"type":326,"value":995},{"type":326,"value":1039}," model. See ",{"type":321,"tag":1007,"props":1041,"children":1042},{"href":353},[1043],{"type":326,"value":1044},"Price model documentation",{"type":326,"value":1013},{"type":321,"tag":1024,"props":1047,"children":1049},{"label":1048},"Error",[1050],{"type":321,"tag":322,"props":1051,"children":1052},{},[1053,1055,1061],{"type":326,"value":1054},"See ",{"type":321,"tag":1007,"props":1056,"children":1058},{"href":1057},"/integrations/general#error-responses",[1059],{"type":326,"value":1060},"Error Responses",{"type":326,"value":1013},{"type":321,"tag":1015,"props":1063,"children":1065},{"name":1064},"code example",[1066],{"type":321,"tag":423,"props":1067,"children":1068},{},[1069],{"type":321,"tag":427,"props":1070,"children":1073},{"className":429,"code":1071,"filename":1072,"language":432,"meta":314,"style":314},"import { Price } from '../models/Price'\n\napp.get('/churnkey/prices/:id', async (req, res) => {\n    const price = await db.findPriceById(req.params.id)\n    if (!price) {\n        return res.status(404).send({ code: 404, message: 'Price not found' })\n    }\n    res.send(new Price(price))\n})\n","Typescript Express",[1074],{"type":321,"tag":329,"props":1075,"children":1076},{"__ignoreMap":314},[1077,1096,1103,1167,1203,1225,1285,1292,1322],{"type":321,"tag":438,"props":1078,"children":1079},{"class":440,"line":441},[1080,1084,1088,1092],{"type":321,"tag":438,"props":1081,"children":1082},{"style":445},[1083],{"type":326,"value":448},{"type":321,"tag":438,"props":1085,"children":1086},{"style":451},[1087],{"type":326,"value":499},{"type":321,"tag":438,"props":1089,"children":1090},{"style":445},[1091],{"type":326,"value":459},{"type":321,"tag":438,"props":1093,"children":1094},{"style":462},[1095],{"type":326,"value":508},{"type":321,"tag":438,"props":1097,"children":1098},{"class":440,"line":347},[1099],{"type":321,"tag":438,"props":1100,"children":1101},{"emptyLinePlaceholder":525},[1102],{"type":326,"value":528},{"type":321,"tag":438,"props":1104,"children":1105},{"class":440,"line":489},[1106,1111,1116,1120,1125,1129,1134,1139,1144,1148,1153,1158,1163],{"type":321,"tag":438,"props":1107,"children":1108},{"style":451},[1109],{"type":326,"value":1110},"app.",{"type":321,"tag":438,"props":1112,"children":1113},{"style":561},[1114],{"type":326,"value":1115},"get",{"type":321,"tag":438,"props":1117,"children":1118},{"style":451},[1119],{"type":326,"value":624},{"type":321,"tag":438,"props":1121,"children":1122},{"style":462},[1123],{"type":326,"value":1124},"'/churnkey/prices/:id'",{"type":321,"tag":438,"props":1126,"children":1127},{"style":451},[1128],{"type":326,"value":635},{"type":321,"tag":438,"props":1130,"children":1131},{"style":445},[1132],{"type":326,"value":1133},"async",{"type":321,"tag":438,"props":1135,"children":1136},{"style":451},[1137],{"type":326,"value":1138}," (",{"type":321,"tag":438,"props":1140,"children":1141},{"style":627},[1142],{"type":326,"value":1143},"req",{"type":321,"tag":438,"props":1145,"children":1146},{"style":451},[1147],{"type":326,"value":635},{"type":321,"tag":438,"props":1149,"children":1150},{"style":627},[1151],{"type":326,"value":1152},"res",{"type":321,"tag":438,"props":1154,"children":1155},{"style":451},[1156],{"type":326,"value":1157},") ",{"type":321,"tag":438,"props":1159,"children":1160},{"style":445},[1161],{"type":326,"value":1162},"=>",{"type":321,"tag":438,"props":1164,"children":1165},{"style":451},[1166],{"type":326,"value":828},{"type":321,"tag":438,"props":1168,"children":1169},{"class":440,"line":511},[1170,1175,1180,1184,1188,1193,1198],{"type":321,"tag":438,"props":1171,"children":1172},{"style":445},[1173],{"type":326,"value":1174},"    const",{"type":321,"tag":438,"props":1176,"children":1177},{"style":545},[1178],{"type":326,"value":1179}," price",{"type":321,"tag":438,"props":1181,"children":1182},{"style":445},[1183],{"type":326,"value":553},{"type":321,"tag":438,"props":1185,"children":1186},{"style":445},[1187],{"type":326,"value":668},{"type":321,"tag":438,"props":1189,"children":1190},{"style":451},[1191],{"type":326,"value":1192}," db.",{"type":321,"tag":438,"props":1194,"children":1195},{"style":561},[1196],{"type":326,"value":1197},"findPriceById",{"type":321,"tag":438,"props":1199,"children":1200},{"style":451},[1201],{"type":326,"value":1202},"(req.params.id)\n",{"type":321,"tag":438,"props":1204,"children":1205},{"class":440,"line":521},[1206,1211,1215,1220],{"type":321,"tag":438,"props":1207,"children":1208},{"style":445},[1209],{"type":326,"value":1210},"    if",{"type":321,"tag":438,"props":1212,"children":1213},{"style":451},[1214],{"type":326,"value":1138},{"type":321,"tag":438,"props":1216,"children":1217},{"style":445},[1218],{"type":326,"value":1219},"!",{"type":321,"tag":438,"props":1221,"children":1222},{"style":451},[1223],{"type":326,"value":1224},"price) {\n",{"type":321,"tag":438,"props":1226,"children":1227},{"class":440,"line":531},[1228,1232,1237,1242,1246,1251,1256,1261,1266,1270,1275,1280],{"type":321,"tag":438,"props":1229,"children":1230},{"style":445},[1231],{"type":326,"value":692},{"type":321,"tag":438,"props":1233,"children":1234},{"style":451},[1235],{"type":326,"value":1236}," res.",{"type":321,"tag":438,"props":1238,"children":1239},{"style":561},[1240],{"type":326,"value":1241},"status",{"type":321,"tag":438,"props":1243,"children":1244},{"style":451},[1245],{"type":326,"value":624},{"type":321,"tag":438,"props":1247,"children":1248},{"style":545},[1249],{"type":326,"value":1250},"404",{"type":321,"tag":438,"props":1252,"children":1253},{"style":451},[1254],{"type":326,"value":1255},").",{"type":321,"tag":438,"props":1257,"children":1258},{"style":561},[1259],{"type":326,"value":1260},"send",{"type":321,"tag":438,"props":1262,"children":1263},{"style":451},[1264],{"type":326,"value":1265},"({ code: ",{"type":321,"tag":438,"props":1267,"children":1268},{"style":545},[1269],{"type":326,"value":1250},{"type":321,"tag":438,"props":1271,"children":1272},{"style":451},[1273],{"type":326,"value":1274},", message: ",{"type":321,"tag":438,"props":1276,"children":1277},{"style":462},[1278],{"type":326,"value":1279},"'Price not found'",{"type":321,"tag":438,"props":1281,"children":1282},{"style":451},[1283],{"type":326,"value":1284}," })\n",{"type":321,"tag":438,"props":1286,"children":1287},{"class":440,"line":572},[1288],{"type":321,"tag":438,"props":1289,"children":1290},{"style":451},[1291],{"type":326,"value":950},{"type":321,"tag":438,"props":1293,"children":1294},{"class":440,"line":581},[1295,1300,1304,1308,1313,1317],{"type":321,"tag":438,"props":1296,"children":1297},{"style":451},[1298],{"type":326,"value":1299},"    res.",{"type":321,"tag":438,"props":1301,"children":1302},{"style":561},[1303],{"type":326,"value":1260},{"type":321,"tag":438,"props":1305,"children":1306},{"style":451},[1307],{"type":326,"value":624},{"type":321,"tag":438,"props":1309,"children":1310},{"style":445},[1311],{"type":326,"value":1312},"new",{"type":321,"tag":438,"props":1314,"children":1315},{"style":561},[1316],{"type":326,"value":702},{"type":321,"tag":438,"props":1318,"children":1319},{"style":451},[1320],{"type":326,"value":1321},"(price))\n",{"type":321,"tag":438,"props":1323,"children":1324},{"class":440,"line":590},[1325],{"type":321,"tag":438,"props":1326,"children":1327},{"style":451},[1328],{"type":326,"value":959},{"type":321,"tag":967,"props":1330,"children":1332},{"id":1331},"list",[1333,1335],{"type":326,"value":1334},"List ",{"type":321,"tag":370,"props":1336,"children":1337},{"label":372,"color":373},[],{"type":321,"tag":322,"props":1339,"children":1340},{},[1341],{"type":321,"tag":329,"props":1342,"children":1344},{"className":1343},[],[1345],{"type":326,"value":1346},"GET /churnkey/prices",{"type":321,"tag":322,"props":1348,"children":1349},{},[1350,1352,1357],{"type":326,"value":1351},"This endpoint fetches a list of prices from your database. You should find prices in your database (with pagination), map them to the ",{"type":321,"tag":329,"props":1353,"children":1355},{"className":1354},[],[1356],{"type":326,"value":995},{"type":326,"value":1358}," model and return a paginated list.",{"type":321,"tag":322,"props":1360,"children":1361},{},[1362,1368],{"type":321,"tag":1007,"props":1363,"children":1365},{"href":1364},"/integrations/general#pagination",[1366],{"type":326,"value":1367},"Learn more about pagination",{"type":326,"value":1013},{"type":321,"tag":1015,"props":1370,"children":1372},{"name":1371},"query parameters",[1373],{"type":321,"tag":1374,"props":1375,"children":1377},"field-schema",{"schema":1376},"/types/pagination-query.type",[],{"type":321,"tag":1015,"props":1379,"children":1380},{"name":1017},[1381],{"type":321,"tag":1374,"props":1382,"children":1384},{"schema":1383},"/types/pagination-response.type",[],{"type":321,"tag":1015,"props":1386,"children":1387},{"name":1064},[1388],{"type":321,"tag":423,"props":1389,"children":1390},{},[1391],{"type":321,"tag":427,"props":1392,"children":1394},{"className":429,"code":1393,"filename":1072,"language":432,"meta":314,"style":314},"import { Price } from '../models/Price'\n\napp.get('/churnkey/prices', async (req, res) => {\n    const limit = Number.parseInt(req.query.limit)\n    const offset = Number.parseInt(req.query.cursor) \n    const prices = await db.findPrices({ limit, offset })\n    res.send({\n        data: prices.map(c => new Price(c)),\n        next: prices.length === limit ? offset + limit : undefined\n    })\n})\n",[1395],{"type":321,"tag":329,"props":1396,"children":1397},{"__ignoreMap":314},[1398,1417,1424,1480,1511,1540,1574,1589,1627,1671,1679],{"type":321,"tag":438,"props":1399,"children":1400},{"class":440,"line":441},[1401,1405,1409,1413],{"type":321,"tag":438,"props":1402,"children":1403},{"style":445},[1404],{"type":326,"value":448},{"type":321,"tag":438,"props":1406,"children":1407},{"style":451},[1408],{"type":326,"value":499},{"type":321,"tag":438,"props":1410,"children":1411},{"style":445},[1412],{"type":326,"value":459},{"type":321,"tag":438,"props":1414,"children":1415},{"style":462},[1416],{"type":326,"value":508},{"type":321,"tag":438,"props":1418,"children":1419},{"class":440,"line":347},[1420],{"type":321,"tag":438,"props":1421,"children":1422},{"emptyLinePlaceholder":525},[1423],{"type":326,"value":528},{"type":321,"tag":438,"props":1425,"children":1426},{"class":440,"line":489},[1427,1431,1435,1439,1444,1448,1452,1456,1460,1464,1468,1472,1476],{"type":321,"tag":438,"props":1428,"children":1429},{"style":451},[1430],{"type":326,"value":1110},{"type":321,"tag":438,"props":1432,"children":1433},{"style":561},[1434],{"type":326,"value":1115},{"type":321,"tag":438,"props":1436,"children":1437},{"style":451},[1438],{"type":326,"value":624},{"type":321,"tag":438,"props":1440,"children":1441},{"style":462},[1442],{"type":326,"value":1443},"'/churnkey/prices'",{"type":321,"tag":438,"props":1445,"children":1446},{"style":451},[1447],{"type":326,"value":635},{"type":321,"tag":438,"props":1449,"children":1450},{"style":445},[1451],{"type":326,"value":1133},{"type":321,"tag":438,"props":1453,"children":1454},{"style":451},[1455],{"type":326,"value":1138},{"type":321,"tag":438,"props":1457,"children":1458},{"style":627},[1459],{"type":326,"value":1143},{"type":321,"tag":438,"props":1461,"children":1462},{"style":451},[1463],{"type":326,"value":635},{"type":321,"tag":438,"props":1465,"children":1466},{"style":627},[1467],{"type":326,"value":1152},{"type":321,"tag":438,"props":1469,"children":1470},{"style":451},[1471],{"type":326,"value":1157},{"type":321,"tag":438,"props":1473,"children":1474},{"style":445},[1475],{"type":326,"value":1162},{"type":321,"tag":438,"props":1477,"children":1478},{"style":451},[1479],{"type":326,"value":828},{"type":321,"tag":438,"props":1481,"children":1482},{"class":440,"line":511},[1483,1487,1492,1496,1501,1506],{"type":321,"tag":438,"props":1484,"children":1485},{"style":445},[1486],{"type":326,"value":1174},{"type":321,"tag":438,"props":1488,"children":1489},{"style":545},[1490],{"type":326,"value":1491}," limit",{"type":321,"tag":438,"props":1493,"children":1494},{"style":445},[1495],{"type":326,"value":553},{"type":321,"tag":438,"props":1497,"children":1498},{"style":451},[1499],{"type":326,"value":1500}," Number.",{"type":321,"tag":438,"props":1502,"children":1503},{"style":561},[1504],{"type":326,"value":1505},"parseInt",{"type":321,"tag":438,"props":1507,"children":1508},{"style":451},[1509],{"type":326,"value":1510},"(req.query.limit)\n",{"type":321,"tag":438,"props":1512,"children":1513},{"class":440,"line":521},[1514,1518,1523,1527,1531,1535],{"type":321,"tag":438,"props":1515,"children":1516},{"style":445},[1517],{"type":326,"value":1174},{"type":321,"tag":438,"props":1519,"children":1520},{"style":545},[1521],{"type":326,"value":1522}," offset",{"type":321,"tag":438,"props":1524,"children":1525},{"style":445},[1526],{"type":326,"value":553},{"type":321,"tag":438,"props":1528,"children":1529},{"style":451},[1530],{"type":326,"value":1500},{"type":321,"tag":438,"props":1532,"children":1533},{"style":561},[1534],{"type":326,"value":1505},{"type":321,"tag":438,"props":1536,"children":1537},{"style":451},[1538],{"type":326,"value":1539},"(req.query.cursor) \n",{"type":321,"tag":438,"props":1541,"children":1542},{"class":440,"line":531},[1543,1547,1552,1556,1560,1564,1569],{"type":321,"tag":438,"props":1544,"children":1545},{"style":445},[1546],{"type":326,"value":1174},{"type":321,"tag":438,"props":1548,"children":1549},{"style":545},[1550],{"type":326,"value":1551}," prices",{"type":321,"tag":438,"props":1553,"children":1554},{"style":445},[1555],{"type":326,"value":553},{"type":321,"tag":438,"props":1557,"children":1558},{"style":445},[1559],{"type":326,"value":668},{"type":321,"tag":438,"props":1561,"children":1562},{"style":451},[1563],{"type":326,"value":1192},{"type":321,"tag":438,"props":1565,"children":1566},{"style":561},[1567],{"type":326,"value":1568},"findPrices",{"type":321,"tag":438,"props":1570,"children":1571},{"style":451},[1572],{"type":326,"value":1573},"({ limit, offset })\n",{"type":321,"tag":438,"props":1575,"children":1576},{"class":440,"line":572},[1577,1581,1585],{"type":321,"tag":438,"props":1578,"children":1579},{"style":451},[1580],{"type":326,"value":1299},{"type":321,"tag":438,"props":1582,"children":1583},{"style":561},[1584],{"type":326,"value":1260},{"type":321,"tag":438,"props":1586,"children":1587},{"style":451},[1588],{"type":326,"value":569},{"type":321,"tag":438,"props":1590,"children":1591},{"class":440,"line":581},[1592,1597,1601,1605,1610,1614,1618,1622],{"type":321,"tag":438,"props":1593,"children":1594},{"style":451},[1595],{"type":326,"value":1596},"        data: prices.",{"type":321,"tag":438,"props":1598,"children":1599},{"style":561},[1600],{"type":326,"value":842},{"type":321,"tag":438,"props":1602,"children":1603},{"style":451},[1604],{"type":326,"value":624},{"type":321,"tag":438,"props":1606,"children":1607},{"style":627},[1608],{"type":326,"value":1609},"c",{"type":321,"tag":438,"props":1611,"children":1612},{"style":445},[1613],{"type":326,"value":856},{"type":321,"tag":438,"props":1615,"children":1616},{"style":445},[1617],{"type":326,"value":697},{"type":321,"tag":438,"props":1619,"children":1620},{"style":561},[1621],{"type":326,"value":702},{"type":321,"tag":438,"props":1623,"children":1624},{"style":451},[1625],{"type":326,"value":1626},"(c)),\n",{"type":321,"tag":438,"props":1628,"children":1629},{"class":440,"line":590},[1630,1635,1639,1643,1647,1651,1655,1659,1663,1667],{"type":321,"tag":438,"props":1631,"children":1632},{"style":451},[1633],{"type":326,"value":1634},"        next: prices.",{"type":321,"tag":438,"props":1636,"children":1637},{"style":545},[1638],{"type":326,"value":892},{"type":321,"tag":438,"props":1640,"children":1641},{"style":445},[1642],{"type":326,"value":897},{"type":321,"tag":438,"props":1644,"children":1645},{"style":451},[1646],{"type":326,"value":922},{"type":321,"tag":438,"props":1648,"children":1649},{"style":445},[1650],{"type":326,"value":907},{"type":321,"tag":438,"props":1652,"children":1653},{"style":451},[1654],{"type":326,"value":912},{"type":321,"tag":438,"props":1656,"children":1657},{"style":445},[1658],{"type":326,"value":917},{"type":321,"tag":438,"props":1660,"children":1661},{"style":451},[1662],{"type":326,"value":922},{"type":321,"tag":438,"props":1664,"children":1665},{"style":445},[1666],{"type":326,"value":927},{"type":321,"tag":438,"props":1668,"children":1669},{"style":545},[1670],{"type":326,"value":932},{"type":321,"tag":438,"props":1672,"children":1673},{"class":440,"line":599},[1674],{"type":321,"tag":438,"props":1675,"children":1676},{"style":451},[1677],{"type":326,"value":1678},"    })\n",{"type":321,"tag":438,"props":1680,"children":1681},{"class":440,"line":608},[1682],{"type":321,"tag":438,"props":1683,"children":1684},{"style":451},[1685],{"type":326,"value":959},{"type":321,"tag":1687,"props":1688,"children":1689},"style",{},[1690],{"type":326,"value":1691},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":314,"searchDepth":489,"depth":489,"links":1693},[1694,1695,1696],{"id":340,"depth":347,"text":343},{"id":406,"depth":347,"text":409},{"id":962,"depth":347,"text":965,"children":1697},[1698,1699],{"id":969,"depth":489,"text":972},{"id":1331,"depth":489,"text":1334},"markdown","content:99.integrations:3.controllers:3.prices.md","content","99.integrations/3.controllers/3.prices.md","99.integrations/3.controllers/3.prices","md",{"loc":311},[1708,1712],{"_path":1709,"title":1710,"description":1711},"/integrations/controllers/customers","Customers - Controller","List, retrieve and find `Customer` models.",{"_path":1713,"title":1714,"description":1715},"/integrations/controllers/subscriptions","Subscriptions - Controller","List and retrieve `Subscription` models.",{"_path":1376,"_dir":1717,"_draft":313,"_partial":313,"_locale":314,"type":1718,"title":1719,"properties":1720,"_id":1729,"_type":1730,"_source":1702,"_file":1731,"_stem":1732,"_extension":1730},"types","object","Pagination Query Params",{"limit":1721,"cursor":1725},{"type":1722,"severity":1723,"description":1724},"integer","required","Maximum number of items to return",{"type":1726,"severity":1727,"description":1728},"string","optional","Cursor for pagination. The actual value is whatever you decided to use as next in the response.","content:types:pagination-query.type.json","json","types/pagination-query.type.json","types/pagination-query.type",{"data":1734,"body":1735,"excerpt":-1,"toc":1741},{"title":314,"description":1724},{"type":318,"children":1736},[1737],{"type":321,"tag":322,"props":1738,"children":1739},{},[1740],{"type":326,"value":1724},{"title":314,"searchDepth":347,"depth":347,"links":1742},[],{"data":1744,"body":1745,"excerpt":-1,"toc":1751},{"title":314,"description":1728},{"type":318,"children":1746},[1747],{"type":321,"tag":322,"props":1748,"children":1749},{},[1750],{"type":326,"value":1728},{"title":314,"searchDepth":347,"depth":347,"links":1752},[],{"_path":1383,"_dir":1717,"_draft":313,"_partial":313,"_locale":314,"type":1718,"title":1754,"properties":1755,"_id":1762,"_type":1730,"_source":1702,"_file":1763,"_stem":1764,"_extension":1730},"Pagination Response",{"data":1756,"next":1760},{"type":1757,"severity":1723,"description":1758,"items":1759},"array","Array of items. The type of item is defined in the endpoint documentation, e.g. `Customer` for `/customers` endpoint",{"type":1718},{"type":1726,"severity":1727,"description":1761},"Either a next `id` or an `offset` for the next page. You decide what to use, we will send `next` value as a `cursor` query parameter back to you. If `next` is empty, there are no more pages","content:types:pagination-response.type.json","types/pagination-response.type.json","types/pagination-response.type",{"data":1766,"body":1768,"excerpt":-1,"toc":1791},{"title":314,"description":1767},"Array of items. The type of item is defined in the endpoint documentation, e.g. Customer for /customers endpoint",{"type":318,"children":1769},[1770],{"type":321,"tag":322,"props":1771,"children":1772},{},[1773,1775,1781,1783,1789],{"type":326,"value":1774},"Array of items. The type of item is defined in the endpoint documentation, e.g. ",{"type":321,"tag":329,"props":1776,"children":1778},{"className":1777},[],[1779],{"type":326,"value":1780},"Customer",{"type":326,"value":1782}," for ",{"type":321,"tag":329,"props":1784,"children":1786},{"className":1785},[],[1787],{"type":326,"value":1788},"/customers",{"type":326,"value":1790}," endpoint",{"title":314,"searchDepth":347,"depth":347,"links":1792},[],{"data":1794,"body":1796,"excerpt":-1,"toc":1841},{"title":314,"description":1795},"Either a next id or an offset for the next page. You decide what to use, we will send next value as a cursor query parameter back to you. If next is empty, there are no more pages",{"type":318,"children":1797},[1798],{"type":321,"tag":322,"props":1799,"children":1800},{},[1801,1803,1808,1810,1816,1818,1824,1826,1832,1834,1839],{"type":326,"value":1802},"Either a next ",{"type":321,"tag":329,"props":1804,"children":1806},{"className":1805},[],[1807],{"type":326,"value":1003},{"type":326,"value":1809}," or an ",{"type":321,"tag":329,"props":1811,"children":1813},{"className":1812},[],[1814],{"type":326,"value":1815},"offset",{"type":326,"value":1817}," for the next page. You decide what to use, we will send ",{"type":321,"tag":329,"props":1819,"children":1821},{"className":1820},[],[1822],{"type":326,"value":1823},"next",{"type":326,"value":1825}," value as a ",{"type":321,"tag":329,"props":1827,"children":1829},{"className":1828},[],[1830],{"type":326,"value":1831},"cursor",{"type":326,"value":1833}," query parameter back to you. If ",{"type":321,"tag":329,"props":1835,"children":1837},{"className":1836},[],[1838],{"type":326,"value":1823},{"type":326,"value":1840}," is empty, there are no more pages",{"title":314,"searchDepth":347,"depth":347,"links":1842},[],1775515592322]