[{"data":1,"prerenderedAt":1733},["ShallowReactive",2],{"navigation_docs":3,"-packages-javascript-orders":465,"-packages-javascript-orders-surround":1728},[4,8,62,115,450],{"title":5,"path":6,"stem":7},"Introduction","\u002Fintroduction","0.introduction",{"title":9,"path":10,"stem":11,"children":12,"page":61},"Guides","\u002Fguides","1.guides",[13,17,21,25,29,33,37,41,45,49,53,57],{"title":14,"path":15,"stem":16},"Quickstart","\u002Fguides\u002Fquickstart","1.guides\u002F1.quickstart",{"title":18,"path":19,"stem":20},"Payouts & Settlement","\u002Fguides\u002Fpayouts","1.guides\u002F10.payouts",{"title":22,"path":23,"stem":24},"Customer Emails","\u002Fguides\u002Fcustomer-emails","1.guides\u002F11.customer-emails",{"title":26,"path":27,"stem":28},"Build your own integration","\u002Fguides\u002Fbuild-your-own-integration","1.guides\u002F2.build-your-own-integration",{"title":30,"path":31,"stem":32},"Selling Workflow","\u002Fguides\u002Fselling-workflow","1.guides\u002F2.selling-workflow",{"title":34,"path":35,"stem":36},"Vatly SDKs","\u002Fguides\u002Fsdks","1.guides\u002F3.sdks",{"title":38,"path":39,"stem":40},"Authentication","\u002Fguides\u002Fauthentication","1.guides\u002F4.authentication",{"title":42,"path":43,"stem":44},"Pagination","\u002Fguides\u002Fpagination","1.guides\u002F5.pagination",{"title":46,"path":47,"stem":48},"Errors","\u002Fguides\u002Ferrors","1.guides\u002F6.errors",{"title":50,"path":51,"stem":52},"Webhooks","\u002Fguides\u002Fwebhooks","1.guides\u002F7.webhooks",{"title":54,"path":55,"stem":56},"Idempotency","\u002Fguides\u002Fidempotency","1.guides\u002F8.idempotency",{"title":58,"path":59,"stem":60},"Testing","\u002Fguides\u002Ftesting","1.guides\u002F9.testing",false,{"title":63,"path":64,"stem":65,"children":66,"page":61},"Api Reference","\u002Fapi-reference","2.api-reference",[67,71,75,79,83,87,91,95,99,103,107,111],{"title":68,"path":69,"stem":70},"Customers","\u002Fapi-reference\u002Fcustomers","2.api-reference\u002F1.customers",{"title":72,"path":73,"stem":74},"Webhook Endpoints","\u002Fapi-reference\u002Fwebhook-endpoints","2.api-reference\u002F10.webhook-endpoints",{"title":76,"path":77,"stem":78},"Test helpers","\u002Fapi-reference\u002Ftest-helpers","2.api-reference\u002F11.test-helpers",{"title":80,"path":81,"stem":82},"Checkouts","\u002Fapi-reference\u002Fcheckouts","2.api-reference\u002F2.checkouts",{"title":84,"path":85,"stem":86},"One-off Products","\u002Fapi-reference\u002Fone-off-products","2.api-reference\u002F3.one-off-products",{"title":88,"path":89,"stem":90},"Subscriptions","\u002Fapi-reference\u002Fsubscriptions","2.api-reference\u002F4.subscriptions",{"title":92,"path":93,"stem":94},"Subscription Plans","\u002Fapi-reference\u002Fsubscription-plans","2.api-reference\u002F5.subscription-plans",{"title":96,"path":97,"stem":98},"Orders","\u002Fapi-reference\u002Forders","2.api-reference\u002F6.orders",{"title":100,"path":101,"stem":102},"Order Refunds","\u002Fapi-reference\u002Frefunds","2.api-reference\u002F7.refunds",{"title":104,"path":105,"stem":106},"Refunds","\u002Fapi-reference\u002Fglobal-refunds","2.api-reference\u002F8.global-refunds",{"title":108,"path":109,"stem":110},"Chargebacks","\u002Fapi-reference\u002Fchargebacks","2.api-reference\u002F9.chargebacks",{"title":112,"path":113,"stem":114},"Webhook Events","\u002Fapi-reference\u002Fwebhook-events","2.api-reference\u002F99.webhook-events",{"title":116,"path":117,"stem":118,"children":119},"Packages","\u002Fpackages","3.packages",[120,122,164,210,244,283,318,366,408],{"title":116,"path":117,"stem":121},"3.packages\u002Findex",{"title":123,"path":124,"stem":125,"children":126,"page":61},"PHP SDK","\u002Fpackages\u002Fphp","3.packages\u002F1.php",[127,131,134,137,140,144,147,151,154,157,160],{"title":128,"path":129,"stem":130},"Getting started","\u002Fpackages\u002Fphp\u002Freadme","3.packages\u002F1.php\u002F00.readme",{"title":68,"path":132,"stem":133},"\u002Fpackages\u002Fphp\u002Fcustomers","3.packages\u002F1.php\u002F02.customers",{"title":80,"path":135,"stem":136},"\u002Fpackages\u002Fphp\u002Fcheckouts","3.packages\u002F1.php\u002F03.checkouts",{"title":88,"path":138,"stem":139},"\u002Fpackages\u002Fphp\u002Fsubscriptions","3.packages\u002F1.php\u002F04.subscriptions",{"title":141,"path":142,"stem":143},"Subscription plans","\u002Fpackages\u002Fphp\u002Fsubscriptionplans","3.packages\u002F1.php\u002F05.subscriptionplans",{"title":96,"path":145,"stem":146},"\u002Fpackages\u002Fphp\u002Forders","3.packages\u002F1.php\u002F06.orders",{"title":148,"path":149,"stem":150},"One-off products","\u002Fpackages\u002Fphp\u002Foneoffproducts","3.packages\u002F1.php\u002F07.oneoffproducts",{"title":104,"path":152,"stem":153},"\u002Fpackages\u002Fphp\u002Frefunds","3.packages\u002F1.php\u002F08.refunds",{"title":108,"path":155,"stem":156},"\u002Fpackages\u002Fphp\u002Fchargebacks","3.packages\u002F1.php\u002F09.chargebacks",{"title":50,"path":158,"stem":159},"\u002Fpackages\u002Fphp\u002Fwebhooks","3.packages\u002F1.php\u002F10.webhooks",{"title":161,"path":162,"stem":163},"Webhook URLs","\u002Fpackages\u002Fphp\u002Fwebhookendpoints","3.packages\u002F1.php\u002F11.webhookendpoints",{"title":165,"path":166,"stem":167,"children":168,"page":61},"PHP Fluent","\u002Fpackages\u002Ffluent-php","3.packages\u002F2.fluent-php",[169,172,176,180,183,186,189,192,196,199,203,207],{"title":128,"path":170,"stem":171},"\u002Fpackages\u002Ffluent-php\u002Freadme","3.packages\u002F2.fluent-php\u002F00.readme",{"title":173,"path":174,"stem":175},"Configuration","\u002Fpackages\u002Ffluent-php\u002Fconfiguration","3.packages\u002F2.fluent-php\u002F01.configuration",{"title":177,"path":178,"stem":179},"Core concepts","\u002Fpackages\u002Ffluent-php\u002Fcoreconcepts","3.packages\u002F2.fluent-php\u002F02.coreconcepts",{"title":68,"path":181,"stem":182},"\u002Fpackages\u002Ffluent-php\u002Fcustomers","3.packages\u002F2.fluent-php\u002F03.customers",{"title":80,"path":184,"stem":185},"\u002Fpackages\u002Ffluent-php\u002Fcheckouts","3.packages\u002F2.fluent-php\u002F04.checkouts",{"title":88,"path":187,"stem":188},"\u002Fpackages\u002Ffluent-php\u002Fsubscriptions","3.packages\u002F2.fluent-php\u002F05.subscriptions",{"title":96,"path":190,"stem":191},"\u002Fpackages\u002Ffluent-php\u002Forders","3.packages\u002F2.fluent-php\u002F06.orders",{"title":193,"path":194,"stem":195},"Customer portal","\u002Fpackages\u002Ffluent-php\u002Fcustomerportal","3.packages\u002F2.fluent-php\u002F07.customerportal",{"title":50,"path":197,"stem":198},"\u002Fpackages\u002Ffluent-php\u002Fwebhooks","3.packages\u002F2.fluent-php\u002F08.webhooks",{"title":200,"path":201,"stem":202},"Webhook event flow","\u002Fpackages\u002Ffluent-php\u002Fwebhook-flow","3.packages\u002F2.fluent-php\u002F09.webhook-flow",{"title":204,"path":205,"stem":206},"Existing tables","\u002Fpackages\u002Ffluent-php\u002Fhost-owns-its-tables","3.packages\u002F2.fluent-php\u002F10.host-owns-its-tables",{"title":58,"path":208,"stem":209},"\u002Fpackages\u002Ffluent-php\u002Ftesting","3.packages\u002F2.fluent-php\u002F11.testing",{"title":211,"path":212,"stem":213,"children":214,"page":61},"Laravel","\u002Fpackages\u002Flaravel","3.packages\u002F3.laravel",[215,218,221,224,227,230,233,236,240],{"title":128,"path":216,"stem":217},"\u002Fpackages\u002Flaravel\u002Freadme","3.packages\u002F3.laravel\u002F00.readme",{"title":173,"path":219,"stem":220},"\u002Fpackages\u002Flaravel\u002Fconfiguration","3.packages\u002F3.laravel\u002F01.configuration",{"title":68,"path":222,"stem":223},"\u002Fpackages\u002Flaravel\u002Fcustomers","3.packages\u002F3.laravel\u002F02.customers",{"title":80,"path":225,"stem":226},"\u002Fpackages\u002Flaravel\u002Fcheckouts","3.packages\u002F3.laravel\u002F03.checkouts",{"title":88,"path":228,"stem":229},"\u002Fpackages\u002Flaravel\u002Fsubscriptions","3.packages\u002F3.laravel\u002F04.subscriptions",{"title":96,"path":231,"stem":232},"\u002Fpackages\u002Flaravel\u002Forders","3.packages\u002F3.laravel\u002F05.orders",{"title":50,"path":234,"stem":235},"\u002Fpackages\u002Flaravel\u002Fwebhooks","3.packages\u002F3.laravel\u002F06.webhooks",{"title":237,"path":238,"stem":239},"Comparison","\u002Fpackages\u002Flaravel\u002Fcomparison","3.packages\u002F3.laravel\u002F07.comparison",{"title":241,"path":242,"stem":243},"Migrating from Cashier","\u002Fpackages\u002Flaravel\u002Fmigrating-to-vatly","3.packages\u002F3.laravel\u002F08.migrating-to-vatly",{"title":245,"path":246,"stem":247,"children":248,"page":61},"JavaScript SDK","\u002Fpackages\u002Fjavascript","3.packages\u002F4.javascript",[249,252,255,258,261,264,267,270,273,276,279],{"title":128,"path":250,"stem":251},"\u002Fpackages\u002Fjavascript\u002Freadme","3.packages\u002F4.javascript\u002F00.readme",{"title":68,"path":253,"stem":254},"\u002Fpackages\u002Fjavascript\u002Fcustomers","3.packages\u002F4.javascript\u002F02.customers",{"title":80,"path":256,"stem":257},"\u002Fpackages\u002Fjavascript\u002Fcheckouts","3.packages\u002F4.javascript\u002F03.checkouts",{"title":88,"path":259,"stem":260},"\u002Fpackages\u002Fjavascript\u002Fsubscriptions","3.packages\u002F4.javascript\u002F04.subscriptions",{"title":141,"path":262,"stem":263},"\u002Fpackages\u002Fjavascript\u002Fsubscriptionplans","3.packages\u002F4.javascript\u002F05.subscriptionplans",{"title":96,"path":265,"stem":266},"\u002Fpackages\u002Fjavascript\u002Forders","3.packages\u002F4.javascript\u002F06.orders",{"title":148,"path":268,"stem":269},"\u002Fpackages\u002Fjavascript\u002Foneoffproducts","3.packages\u002F4.javascript\u002F07.oneoffproducts",{"title":104,"path":271,"stem":272},"\u002Fpackages\u002Fjavascript\u002Frefunds","3.packages\u002F4.javascript\u002F08.refunds",{"title":108,"path":274,"stem":275},"\u002Fpackages\u002Fjavascript\u002Fchargebacks","3.packages\u002F4.javascript\u002F09.chargebacks",{"title":50,"path":277,"stem":278},"\u002Fpackages\u002Fjavascript\u002Fwebhooks","3.packages\u002F4.javascript\u002F10.webhooks",{"title":280,"path":281,"stem":282},"API reference","\u002Fpackages\u002Fjavascript\u002Fapi","3.packages\u002F4.javascript\u002F12.api",{"title":284,"path":285,"stem":286,"children":287,"page":61},"JavaScript Fluent","\u002Fpackages\u002Ffluent-js","3.packages\u002F5.fluent-js",[288,291,294,297,300,303,306,309,312,315],{"title":128,"path":289,"stem":290},"\u002Fpackages\u002Ffluent-js\u002Freadme","3.packages\u002F5.fluent-js\u002F00.readme",{"title":173,"path":292,"stem":293},"\u002Fpackages\u002Ffluent-js\u002Fconfiguration","3.packages\u002F5.fluent-js\u002F01.configuration",{"title":177,"path":295,"stem":296},"\u002Fpackages\u002Ffluent-js\u002Fcoreconcepts","3.packages\u002F5.fluent-js\u002F02.coreconcepts",{"title":68,"path":298,"stem":299},"\u002Fpackages\u002Ffluent-js\u002Fcustomers","3.packages\u002F5.fluent-js\u002F03.customers",{"title":80,"path":301,"stem":302},"\u002Fpackages\u002Ffluent-js\u002Fcheckouts","3.packages\u002F5.fluent-js\u002F04.checkouts",{"title":88,"path":304,"stem":305},"\u002Fpackages\u002Ffluent-js\u002Fsubscriptions","3.packages\u002F5.fluent-js\u002F05.subscriptions",{"title":96,"path":307,"stem":308},"\u002Fpackages\u002Ffluent-js\u002Forders","3.packages\u002F5.fluent-js\u002F06.orders",{"title":193,"path":310,"stem":311},"\u002Fpackages\u002Ffluent-js\u002Fcustomerportal","3.packages\u002F5.fluent-js\u002F07.customerportal",{"title":50,"path":313,"stem":314},"\u002Fpackages\u002Ffluent-js\u002Fwebhooks","3.packages\u002F5.fluent-js\u002F08.webhooks",{"title":58,"path":316,"stem":317},"\u002Fpackages\u002Ffluent-js\u002Ftesting","3.packages\u002F5.fluent-js\u002F11.testing",{"title":319,"path":320,"stem":321,"children":322,"page":61},"Python SDK","\u002Fpackages\u002Fpython","3.packages\u002F6.python",[323,326,329,332,335,338,341,344,347,350,353,356,359,362],{"title":128,"path":324,"stem":325},"\u002Fpackages\u002Fpython\u002Freadme","3.packages\u002F6.python\u002F00.readme",{"title":173,"path":327,"stem":328},"\u002Fpackages\u002Fpython\u002Fconfiguration","3.packages\u002F6.python\u002F01.configuration",{"title":68,"path":330,"stem":331},"\u002Fpackages\u002Fpython\u002Fcustomers","3.packages\u002F6.python\u002F02.customers",{"title":80,"path":333,"stem":334},"\u002Fpackages\u002Fpython\u002Fcheckouts","3.packages\u002F6.python\u002F03.checkouts",{"title":88,"path":336,"stem":337},"\u002Fpackages\u002Fpython\u002Fsubscriptions","3.packages\u002F6.python\u002F04.subscriptions",{"title":141,"path":339,"stem":340},"\u002Fpackages\u002Fpython\u002Fsubscriptionplans","3.packages\u002F6.python\u002F05.subscriptionplans",{"title":96,"path":342,"stem":343},"\u002Fpackages\u002Fpython\u002Forders","3.packages\u002F6.python\u002F06.orders",{"title":148,"path":345,"stem":346},"\u002Fpackages\u002Fpython\u002Foneoffproducts","3.packages\u002F6.python\u002F07.oneoffproducts",{"title":104,"path":348,"stem":349},"\u002Fpackages\u002Fpython\u002Frefunds","3.packages\u002F6.python\u002F08.refunds",{"title":108,"path":351,"stem":352},"\u002Fpackages\u002Fpython\u002Fchargebacks","3.packages\u002F6.python\u002F09.chargebacks",{"title":50,"path":354,"stem":355},"\u002Fpackages\u002Fpython\u002Fwebhooks","3.packages\u002F6.python\u002F10.webhooks",{"title":161,"path":357,"stem":358},"\u002Fpackages\u002Fpython\u002Fwebhookendpoints","3.packages\u002F6.python\u002F11.webhookendpoints",{"title":280,"path":360,"stem":361},"\u002Fpackages\u002Fpython\u002Fapi","3.packages\u002F6.python\u002F12.api",{"title":363,"path":364,"stem":365},"Development","\u002Fpackages\u002Fpython\u002Fdevelopment","3.packages\u002F6.python\u002F13.development",{"title":367,"path":368,"stem":369,"children":370,"page":61},"Python Fluent","\u002Fpackages\u002Ffluent-python","3.packages\u002F7.fluent-python",[371,374,377,380,383,386,389,392,395,398,401,405],{"title":128,"path":372,"stem":373},"\u002Fpackages\u002Ffluent-python\u002Freadme","3.packages\u002F7.fluent-python\u002F00.readme",{"title":173,"path":375,"stem":376},"\u002Fpackages\u002Ffluent-python\u002Fconfiguration","3.packages\u002F7.fluent-python\u002F01.configuration",{"title":177,"path":378,"stem":379},"\u002Fpackages\u002Ffluent-python\u002Fcoreconcepts","3.packages\u002F7.fluent-python\u002F02.coreconcepts",{"title":68,"path":381,"stem":382},"\u002Fpackages\u002Ffluent-python\u002Fcustomers","3.packages\u002F7.fluent-python\u002F03.customers",{"title":80,"path":384,"stem":385},"\u002Fpackages\u002Ffluent-python\u002Fcheckouts","3.packages\u002F7.fluent-python\u002F04.checkouts",{"title":88,"path":387,"stem":388},"\u002Fpackages\u002Ffluent-python\u002Fsubscriptions","3.packages\u002F7.fluent-python\u002F05.subscriptions",{"title":96,"path":390,"stem":391},"\u002Fpackages\u002Ffluent-python\u002Forders","3.packages\u002F7.fluent-python\u002F06.orders",{"title":193,"path":393,"stem":394},"\u002Fpackages\u002Ffluent-python\u002Fcustomerportal","3.packages\u002F7.fluent-python\u002F07.customerportal",{"title":50,"path":396,"stem":397},"\u002Fpackages\u002Ffluent-python\u002Fwebhooks","3.packages\u002F7.fluent-python\u002F08.webhooks",{"title":58,"path":399,"stem":400},"\u002Fpackages\u002Ffluent-python\u002Ftesting","3.packages\u002F7.fluent-python\u002F11.testing",{"title":402,"path":403,"stem":404},"Porting","\u002Fpackages\u002Ffluent-python\u002Fporting","3.packages\u002F7.fluent-python\u002F12.porting",{"title":363,"path":406,"stem":407},"\u002Fpackages\u002Ffluent-python\u002Fdevelopment","3.packages\u002F7.fluent-python\u002F13.development",{"title":409,"path":410,"stem":411,"children":412,"page":61},"Django","\u002Fpackages\u002Fdjango","3.packages\u002F8.django",[413,416,420,423,427,431,434,437,440,444,447],{"title":128,"path":414,"stem":415},"\u002Fpackages\u002Fdjango\u002Freadme","3.packages\u002F8.django\u002F00.readme",{"title":417,"path":418,"stem":419},"Installation","\u002Fpackages\u002Fdjango\u002Finstallation","3.packages\u002F8.django\u002F01.installation",{"title":173,"path":421,"stem":422},"\u002Fpackages\u002Fdjango\u002Fconfiguration","3.packages\u002F8.django\u002F02.configuration",{"title":424,"path":425,"stem":426},"Billable models","\u002Fpackages\u002Fdjango\u002Fbillablemodels","3.packages\u002F8.django\u002F03.billablemodels",{"title":428,"path":429,"stem":430},"Checkout","\u002Fpackages\u002Fdjango\u002Fcheckout","3.packages\u002F8.django\u002F04.checkout",{"title":88,"path":432,"stem":433},"\u002Fpackages\u002Fdjango\u002Fbilling","3.packages\u002F8.django\u002F05.billing",{"title":193,"path":435,"stem":436},"\u002Fpackages\u002Fdjango\u002Fcustomerportal","3.packages\u002F8.django\u002F06.customerportal",{"title":50,"path":438,"stem":439},"\u002Fpackages\u002Fdjango\u002Fwebhooks","3.packages\u002F8.django\u002F07.webhooks",{"title":441,"path":442,"stem":443},"Admin","\u002Fpackages\u002Fdjango\u002Fadmin","3.packages\u002F8.django\u002F08.admin",{"title":58,"path":445,"stem":446},"\u002Fpackages\u002Fdjango\u002Ftesting","3.packages\u002F8.django\u002F09.testing",{"title":363,"path":448,"stem":449},"\u002Fpackages\u002Fdjango\u002Fdevelopment","3.packages\u002F8.django\u002F10.development",{"title":451,"path":452,"stem":453,"children":454},"Integrations","\u002Fintegrations","4.integrations",[455,457,461],{"title":451,"path":452,"stem":456},"4.integrations\u002Findex",{"title":458,"path":459,"stem":460},"Lovable payments with Vatly","\u002Fintegrations\u002Flovable","4.integrations\u002F1.lovable",{"title":462,"path":463,"stem":464},"Bolt payments with Vatly","\u002Fintegrations\u002Fbolt","4.integrations\u002F2.bolt",{"id":466,"title":96,"body":467,"description":1721,"extension":1722,"links":1723,"meta":1724,"navigation":1725,"path":265,"seo":1726,"stem":266,"__hash__":1727},"docs\u002F3.packages\u002F4.javascript\u002F06.orders.md",{"type":468,"value":469,"toc":1711},"minimark",[470,474,491,496,746,751,769,797,984,988,993,1068,1072,1077,1171,1175,1180,1183,1237,1241,1244,1611,1617,1621,1702,1707],[471,472,473],"p",{},"Orders record checkout purchases and subscription renewals, including pending payments. They carry invoice links and tax breakdowns, and let you create refunds and inspect chargebacks.",[471,475,476,477,484,485,490],{},"For all fields and options, see the ",[478,479,483],"a",{"href":480,"rel":481},"https:\u002F\u002Fdocs.vatly.com\u002Fapi-reference\u002Forders",[482],"nofollow","Orders API reference",". The ",[478,486,489],{"href":487,"rel":488},"https:\u002F\u002Fdocs.vatly.com\u002Fopenapi.yaml",[482],"OpenAPI spec"," is also available for tooling.",[492,493,495],"h2",{"id":494},"the-order-resource","The Order resource",[497,498,499,515],"table",{},[500,501,502],"thead",{},[503,504,505,509,512],"tr",{},[506,507,508],"th",{},"Name",[506,510,511],{},"Type",[506,513,514],{},"Description",[516,517,518,539,554,589,604,618,632,646,661,688,702,716,731],"tbody",{},[503,519,520,527,532],{},[521,522,523],"td",{},[524,525,526],"code",{},"id",[521,528,529],{},[524,530,531],{},"string",[521,533,534,535,538],{},"Unique identifier (",[524,536,537],{},"order_…",").",[503,540,541,546,551],{},[521,542,543],{},[524,544,545],{},"customerId",[521,547,548],{},[524,549,550],{},"string | null",[521,552,553],{},"The customer this order belongs to.",[503,555,556,561,565],{},[521,557,558],{},[524,559,560],{},"status",[521,562,563],{},[524,564,531],{},[521,566,567,570,571,570,574,570,577,580,581,584,585,588],{},[524,568,569],{},"created",", ",[524,572,573],{},"pending",[524,575,576],{},"paid",[524,578,579],{},"canceled",", or ",[524,582,583],{},"expired",". Payment recovery is signaled by ",[524,586,587],{},"order.payment_failed",", not a status of that name.",[503,590,591,596,601],{},[521,592,593],{},[524,594,595],{},"total",[521,597,598],{},[524,599,600],{},"Money",[521,602,603],{},"Gross amount (incl. tax).",[503,605,606,611,615],{},[521,607,608],{},[524,609,610],{},"subtotal",[521,612,613],{},[524,614,600],{},[521,616,617],{},"Net amount (excl. tax).",[503,619,620,625,629],{},[521,621,622],{},[524,623,624],{},"reversedSubtotal",[521,626,627],{},[524,628,600],{},[521,630,631],{},"Net amount already reversed via refunds\u002Fchargebacks.",[503,633,634,639,643],{},[521,635,636],{},[524,637,638],{},"refundableSubtotal",[521,640,641],{},[524,642,600],{},[521,644,645],{},"Net amount still refundable.",[503,647,648,653,658],{},[521,649,650],{},[524,651,652],{},"taxSummary",[521,654,655],{},[524,656,657],{},"array",[521,659,660],{},"Per-rate VAT breakdown.",[503,662,663,668,673],{},[521,664,665],{},[524,666,667],{},"lines",[521,669,670],{},[524,671,672],{},"OrderLine[]",[521,674,675,676,679,680,683,684,687],{},"Line items, incl. ",[524,677,678],{},"productType"," \u002F ",[524,681,682],{},"productId"," and ",[524,685,686],{},"relatedResources",".",[503,689,690,695,699],{},[521,691,692],{},[524,693,694],{},"invoiceNumber",[521,696,697],{},[524,698,550],{},[521,700,701],{},"Assigned once the invoice is issued.",[503,703,704,709,713],{},[521,705,706],{},[524,707,708],{},"paymentMethod",[521,710,711],{},[524,712,550],{},[521,714,715],{},"Payment method used.",[503,717,718,723,728],{},[521,719,720],{},[524,721,722],{},"metadata",[521,724,725],{},[524,726,727],{},"object | null",[521,729,730],{},"Custom metadata carried from the checkout.",[503,732,733,738,743],{},[521,734,735],{},[524,736,737],{},"testmode",[521,739,740],{},[524,741,742],{},"boolean",[521,744,745],{},"Whether this is a test order.",[747,748,750],"h3",{"id":749},"subscription-on-an-order-line","Subscription on an order line",[471,752,753,756,757,679,759,761,762,765,766,538],{},[524,754,755],{},"lines[].relatedResources.subscriptionId"," names the subscription a signup, renewal or\nimmediate-update line belongs to. ",[524,758,678],{},[524,760,682],{}," keep their meaning: a\nsignup line references the plan (",[524,763,764],{},"subscription_plan","), a renewal or update line the\nsubscription (",[524,767,768],{},"subscription",[770,771,772,782,794],"ul",{},[773,774,775,777,778,781],"li",{},[524,776,686],{}," is ",[524,779,780],{},"null"," on historical lines and on unrelated lines (one-off\nproducts, billing verification, authorization minimums). Older payloads may omit it.",[773,783,784,777,787,789,790,793],{},[524,785,786],{},"subscriptionId",[524,788,780],{}," on a signup line while its subscription is not yet\navailable. A later ",[524,791,792],{},"orders.get"," returns the ID once it is.",[773,795,796],{},"An ID is not proof of activation or entitlement. Retrieve the subscription and check\nits status before granting access.",[798,799,804],"pre",{"className":800,"code":801,"language":802,"meta":803,"style":803},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F For a paid checkout, use checkout.orderId.\nconst order = await vatly.orders.get(\"order_abc123\");\nfor (const line of order.lines) {\n  const subscriptionId = line.relatedResources?.subscriptionId; \u002F\u002F string | null | undefined\n  if (subscriptionId) {\n    const subscription = await vatly.subscriptions.get(subscriptionId);\n  }\n}\n","ts","",[524,805,806,815,866,894,924,940,972,978],{"__ignoreMap":803},[807,808,811],"span",{"class":809,"line":810},"line",1,[807,812,814],{"class":813},"sHwdD","\u002F\u002F For a paid checkout, use checkout.orderId.\n",[807,816,818,822,826,830,834,837,839,842,844,848,851,854,858,860,863],{"class":809,"line":817},2,[807,819,821],{"class":820},"spNyl","const",[807,823,825],{"class":824},"sTEyZ"," order ",[807,827,829],{"class":828},"sMK4o","=",[807,831,833],{"class":832},"s7zQu"," await",[807,835,836],{"class":824}," vatly",[807,838,687],{"class":828},[807,840,841],{"class":824},"orders",[807,843,687],{"class":828},[807,845,847],{"class":846},"s2Zo4","get",[807,849,850],{"class":824},"(",[807,852,853],{"class":828},"\"",[807,855,857],{"class":856},"sfazB","order_abc123",[807,859,853],{"class":828},[807,861,862],{"class":824},")",[807,864,865],{"class":828},";\n",[807,867,869,872,875,877,880,883,886,888,891],{"class":809,"line":868},3,[807,870,871],{"class":832},"for",[807,873,874],{"class":824}," (",[807,876,821],{"class":820},[807,878,879],{"class":824}," line ",[807,881,882],{"class":828},"of",[807,884,885],{"class":824}," order",[807,887,687],{"class":828},[807,889,890],{"class":824},"lines) ",[807,892,893],{"class":828},"{\n",[807,895,897,900,903,906,909,911,913,916,918,921],{"class":809,"line":896},4,[807,898,899],{"class":820},"  const",[807,901,902],{"class":824}," subscriptionId",[807,904,905],{"class":828}," =",[807,907,908],{"class":824}," line",[807,910,687],{"class":828},[807,912,686],{"class":824},[807,914,915],{"class":828},"?.",[807,917,786],{"class":824},[807,919,920],{"class":828},";",[807,922,923],{"class":813}," \u002F\u002F string | null | undefined\n",[807,925,927,930,933,935,938],{"class":809,"line":926},5,[807,928,929],{"class":832},"  if",[807,931,874],{"class":932},"swJcz",[807,934,786],{"class":824},[807,936,937],{"class":932},") ",[807,939,893],{"class":828},[807,941,943,946,949,951,953,955,957,960,962,964,966,968,970],{"class":809,"line":942},6,[807,944,945],{"class":820},"    const",[807,947,948],{"class":824}," subscription",[807,950,905],{"class":828},[807,952,833],{"class":832},[807,954,836],{"class":824},[807,956,687],{"class":828},[807,958,959],{"class":824},"subscriptions",[807,961,687],{"class":828},[807,963,847],{"class":846},[807,965,850],{"class":932},[807,967,786],{"class":824},[807,969,862],{"class":932},[807,971,865],{"class":828},[807,973,975],{"class":809,"line":974},7,[807,976,977],{"class":828},"  }\n",[807,979,981],{"class":809,"line":980},8,[807,982,983],{"class":828},"}\n",[492,985,987],{"id":986},"retrieve-an-order","Retrieve an order",[471,989,990],{},[524,991,992],{},"GET \u002Fv1\u002Forders\u002F{orderId}",[798,994,996],{"className":800,"code":995,"language":802,"meta":803,"style":803},"const order = await vatly.orders.get(\"order_abc123\");\nconsole.log(order.total.value, order.total.currency);\n",[524,997,998,1030],{"__ignoreMap":803},[807,999,1000,1002,1004,1006,1008,1010,1012,1014,1016,1018,1020,1022,1024,1026,1028],{"class":809,"line":810},[807,1001,821],{"class":820},[807,1003,825],{"class":824},[807,1005,829],{"class":828},[807,1007,833],{"class":832},[807,1009,836],{"class":824},[807,1011,687],{"class":828},[807,1013,841],{"class":824},[807,1015,687],{"class":828},[807,1017,847],{"class":846},[807,1019,850],{"class":824},[807,1021,853],{"class":828},[807,1023,857],{"class":856},[807,1025,853],{"class":828},[807,1027,862],{"class":824},[807,1029,865],{"class":828},[807,1031,1032,1035,1037,1040,1043,1045,1047,1049,1052,1055,1057,1059,1061,1063,1066],{"class":809,"line":817},[807,1033,1034],{"class":824},"console",[807,1036,687],{"class":828},[807,1038,1039],{"class":846},"log",[807,1041,1042],{"class":824},"(order",[807,1044,687],{"class":828},[807,1046,595],{"class":824},[807,1048,687],{"class":828},[807,1050,1051],{"class":824},"value",[807,1053,1054],{"class":828},",",[807,1056,885],{"class":824},[807,1058,687],{"class":828},[807,1060,595],{"class":824},[807,1062,687],{"class":828},[807,1064,1065],{"class":824},"currency)",[807,1067,865],{"class":828},[492,1069,1071],{"id":1070},"list-orders","List orders",[471,1073,1074],{},[524,1075,1076],{},"GET \u002Fv1\u002Forders",[798,1078,1080],{"className":800,"code":1079,"language":802,"meta":803,"style":803},"const page = await vatly.orders.list({ limit: 25 });\n\nfor await (const order of vatly.orders.listAll()) {\n  \u002F\u002F ...\n}\n",[524,1081,1082,1126,1132,1162,1167],{"__ignoreMap":803},[807,1083,1084,1086,1089,1091,1093,1095,1097,1099,1101,1104,1106,1109,1112,1115,1119,1122,1124],{"class":809,"line":810},[807,1085,821],{"class":820},[807,1087,1088],{"class":824}," page ",[807,1090,829],{"class":828},[807,1092,833],{"class":832},[807,1094,836],{"class":824},[807,1096,687],{"class":828},[807,1098,841],{"class":824},[807,1100,687],{"class":828},[807,1102,1103],{"class":846},"list",[807,1105,850],{"class":824},[807,1107,1108],{"class":828},"{",[807,1110,1111],{"class":932}," limit",[807,1113,1114],{"class":828},":",[807,1116,1118],{"class":1117},"sbssI"," 25",[807,1120,1121],{"class":828}," }",[807,1123,862],{"class":824},[807,1125,865],{"class":828},[807,1127,1128],{"class":809,"line":817},[807,1129,1131],{"emptyLinePlaceholder":1130},true,"\n",[807,1133,1134,1136,1138,1140,1142,1144,1146,1148,1150,1152,1154,1157,1160],{"class":809,"line":868},[807,1135,871],{"class":832},[807,1137,833],{"class":832},[807,1139,874],{"class":824},[807,1141,821],{"class":820},[807,1143,825],{"class":824},[807,1145,882],{"class":828},[807,1147,836],{"class":824},[807,1149,687],{"class":828},[807,1151,841],{"class":824},[807,1153,687],{"class":828},[807,1155,1156],{"class":846},"listAll",[807,1158,1159],{"class":824},"()) ",[807,1161,893],{"class":828},[807,1163,1164],{"class":809,"line":896},[807,1165,1166],{"class":813},"  \u002F\u002F ...\n",[807,1168,1169],{"class":809,"line":926},[807,1170,983],{"class":828},[492,1172,1174],{"id":1173},"invoice-update-link-hosted","Invoice update link (hosted)",[471,1176,1177],{},[524,1178,1179],{},"POST \u002Fv1\u002Forders\u002F{orderId}\u002Finvoice-update-link",[471,1181,1182],{},"Returns a hosted link where the customer can correct their invoice details\n(billing address, VAT number, company name).",[798,1184,1186],{"className":800,"code":1185,"language":802,"meta":803,"style":803},"const link = await vatly.orders.createInvoiceUpdateLink(\"order_abc123\");\nredirect(link.href);\n",[524,1187,1188,1222],{"__ignoreMap":803},[807,1189,1190,1192,1195,1197,1199,1201,1203,1205,1207,1210,1212,1214,1216,1218,1220],{"class":809,"line":810},[807,1191,821],{"class":820},[807,1193,1194],{"class":824}," link ",[807,1196,829],{"class":828},[807,1198,833],{"class":832},[807,1200,836],{"class":824},[807,1202,687],{"class":828},[807,1204,841],{"class":824},[807,1206,687],{"class":828},[807,1208,1209],{"class":846},"createInvoiceUpdateLink",[807,1211,850],{"class":824},[807,1213,853],{"class":828},[807,1215,857],{"class":856},[807,1217,853],{"class":828},[807,1219,862],{"class":824},[807,1221,865],{"class":828},[807,1223,1224,1227,1230,1232,1235],{"class":809,"line":817},[807,1225,1226],{"class":846},"redirect",[807,1228,1229],{"class":824},"(link",[807,1231,687],{"class":828},[807,1233,1234],{"class":824},"href)",[807,1236,865],{"class":828},[492,1238,1240],{"id":1239},"refunds-on-an-order","Refunds on an order",[471,1242,1243],{},"Refunds are created against the order they belong to.",[798,1245,1247],{"className":800,"code":1246,"language":802,"meta":803,"style":803},"\u002F\u002F Partial refund of specific items:\nconst refund = await vatly.orders.createRefund(\"order_abc123\", {\n  items: [\n    { itemId: \"order_item_abc123\", amount: { value: \"15.00\", currency: \"EUR\" } },\n  ],\n});\n\n\u002F\u002F Full refund of the entire order:\nconst full = await vatly.orders.createFullRefund(\"order_abc123\");\n\n\u002F\u002F List \u002F get \u002F cancel:\nconst page = await vatly.orders.listRefunds(\"order_abc123\", { limit: 10 });\nfor await (const r of vatly.orders.listAllRefunds(\"order_abc123\")) {\n  \u002F\u002F ...\n}\nconst one = await vatly.orders.getRefund(\"order_abc123\", \"refund_abc123\");\nawait vatly.orders.cancelRefund(\"order_abc123\", \"refund_abc123\"); \u002F\u002F only while pending\n",[524,1248,1249,1254,1289,1299,1358,1366,1375,1379,1384,1419,1424,1430,1477,1517,1522,1527,1571],{"__ignoreMap":803},[807,1250,1251],{"class":809,"line":810},[807,1252,1253],{"class":813},"\u002F\u002F Partial refund of specific items:\n",[807,1255,1256,1258,1261,1263,1265,1267,1269,1271,1273,1276,1278,1280,1282,1284,1286],{"class":809,"line":817},[807,1257,821],{"class":820},[807,1259,1260],{"class":824}," refund ",[807,1262,829],{"class":828},[807,1264,833],{"class":832},[807,1266,836],{"class":824},[807,1268,687],{"class":828},[807,1270,841],{"class":824},[807,1272,687],{"class":828},[807,1274,1275],{"class":846},"createRefund",[807,1277,850],{"class":824},[807,1279,853],{"class":828},[807,1281,857],{"class":856},[807,1283,853],{"class":828},[807,1285,1054],{"class":828},[807,1287,1288],{"class":828}," {\n",[807,1290,1291,1294,1296],{"class":809,"line":868},[807,1292,1293],{"class":932},"  items",[807,1295,1114],{"class":828},[807,1297,1298],{"class":824}," [\n",[807,1300,1301,1304,1307,1309,1312,1315,1317,1319,1322,1324,1327,1330,1332,1334,1337,1339,1341,1344,1346,1348,1351,1353,1355],{"class":809,"line":896},[807,1302,1303],{"class":828},"    {",[807,1305,1306],{"class":932}," itemId",[807,1308,1114],{"class":828},[807,1310,1311],{"class":828}," \"",[807,1313,1314],{"class":856},"order_item_abc123",[807,1316,853],{"class":828},[807,1318,1054],{"class":828},[807,1320,1321],{"class":932}," amount",[807,1323,1114],{"class":828},[807,1325,1326],{"class":828}," {",[807,1328,1329],{"class":932}," value",[807,1331,1114],{"class":828},[807,1333,1311],{"class":828},[807,1335,1336],{"class":856},"15.00",[807,1338,853],{"class":828},[807,1340,1054],{"class":828},[807,1342,1343],{"class":932}," currency",[807,1345,1114],{"class":828},[807,1347,1311],{"class":828},[807,1349,1350],{"class":856},"EUR",[807,1352,853],{"class":828},[807,1354,1121],{"class":828},[807,1356,1357],{"class":828}," },\n",[807,1359,1360,1363],{"class":809,"line":926},[807,1361,1362],{"class":824},"  ]",[807,1364,1365],{"class":828},",\n",[807,1367,1368,1371,1373],{"class":809,"line":942},[807,1369,1370],{"class":828},"}",[807,1372,862],{"class":824},[807,1374,865],{"class":828},[807,1376,1377],{"class":809,"line":974},[807,1378,1131],{"emptyLinePlaceholder":1130},[807,1380,1381],{"class":809,"line":980},[807,1382,1383],{"class":813},"\u002F\u002F Full refund of the entire order:\n",[807,1385,1387,1389,1392,1394,1396,1398,1400,1402,1404,1407,1409,1411,1413,1415,1417],{"class":809,"line":1386},9,[807,1388,821],{"class":820},[807,1390,1391],{"class":824}," full ",[807,1393,829],{"class":828},[807,1395,833],{"class":832},[807,1397,836],{"class":824},[807,1399,687],{"class":828},[807,1401,841],{"class":824},[807,1403,687],{"class":828},[807,1405,1406],{"class":846},"createFullRefund",[807,1408,850],{"class":824},[807,1410,853],{"class":828},[807,1412,857],{"class":856},[807,1414,853],{"class":828},[807,1416,862],{"class":824},[807,1418,865],{"class":828},[807,1420,1422],{"class":809,"line":1421},10,[807,1423,1131],{"emptyLinePlaceholder":1130},[807,1425,1427],{"class":809,"line":1426},11,[807,1428,1429],{"class":813},"\u002F\u002F List \u002F get \u002F cancel:\n",[807,1431,1433,1435,1437,1439,1441,1443,1445,1447,1449,1452,1454,1456,1458,1460,1462,1464,1466,1468,1471,1473,1475],{"class":809,"line":1432},12,[807,1434,821],{"class":820},[807,1436,1088],{"class":824},[807,1438,829],{"class":828},[807,1440,833],{"class":832},[807,1442,836],{"class":824},[807,1444,687],{"class":828},[807,1446,841],{"class":824},[807,1448,687],{"class":828},[807,1450,1451],{"class":846},"listRefunds",[807,1453,850],{"class":824},[807,1455,853],{"class":828},[807,1457,857],{"class":856},[807,1459,853],{"class":828},[807,1461,1054],{"class":828},[807,1463,1326],{"class":828},[807,1465,1111],{"class":932},[807,1467,1114],{"class":828},[807,1469,1470],{"class":1117}," 10",[807,1472,1121],{"class":828},[807,1474,862],{"class":824},[807,1476,865],{"class":828},[807,1478,1480,1482,1484,1486,1488,1491,1493,1495,1497,1499,1501,1504,1506,1508,1510,1512,1515],{"class":809,"line":1479},13,[807,1481,871],{"class":832},[807,1483,833],{"class":832},[807,1485,874],{"class":824},[807,1487,821],{"class":820},[807,1489,1490],{"class":824}," r ",[807,1492,882],{"class":828},[807,1494,836],{"class":824},[807,1496,687],{"class":828},[807,1498,841],{"class":824},[807,1500,687],{"class":828},[807,1502,1503],{"class":846},"listAllRefunds",[807,1505,850],{"class":824},[807,1507,853],{"class":828},[807,1509,857],{"class":856},[807,1511,853],{"class":828},[807,1513,1514],{"class":824},")) ",[807,1516,893],{"class":828},[807,1518,1520],{"class":809,"line":1519},14,[807,1521,1166],{"class":813},[807,1523,1525],{"class":809,"line":1524},15,[807,1526,983],{"class":828},[807,1528,1530,1532,1535,1537,1539,1541,1543,1545,1547,1550,1552,1554,1556,1558,1560,1562,1565,1567,1569],{"class":809,"line":1529},16,[807,1531,821],{"class":820},[807,1533,1534],{"class":824}," one ",[807,1536,829],{"class":828},[807,1538,833],{"class":832},[807,1540,836],{"class":824},[807,1542,687],{"class":828},[807,1544,841],{"class":824},[807,1546,687],{"class":828},[807,1548,1549],{"class":846},"getRefund",[807,1551,850],{"class":824},[807,1553,853],{"class":828},[807,1555,857],{"class":856},[807,1557,853],{"class":828},[807,1559,1054],{"class":828},[807,1561,1311],{"class":828},[807,1563,1564],{"class":856},"refund_abc123",[807,1566,853],{"class":828},[807,1568,862],{"class":824},[807,1570,865],{"class":828},[807,1572,1574,1577,1579,1581,1583,1585,1588,1590,1592,1594,1596,1598,1600,1602,1604,1606,1608],{"class":809,"line":1573},17,[807,1575,1576],{"class":832},"await",[807,1578,836],{"class":824},[807,1580,687],{"class":828},[807,1582,841],{"class":824},[807,1584,687],{"class":828},[807,1586,1587],{"class":846},"cancelRefund",[807,1589,850],{"class":824},[807,1591,853],{"class":828},[807,1593,857],{"class":856},[807,1595,853],{"class":828},[807,1597,1054],{"class":828},[807,1599,1311],{"class":828},[807,1601,1564],{"class":856},[807,1603,853],{"class":828},[807,1605,862],{"class":824},[807,1607,920],{"class":828},[807,1609,1610],{"class":813}," \u002F\u002F only while pending\n",[471,1612,1613,1614,1616],{},"See ",[478,1615,104],{"href":271}," for the top-level refund endpoints.",[492,1618,1620],{"id":1619},"chargebacks-on-an-order","Chargebacks on an order",[798,1622,1624],{"className":800,"code":1623,"language":802,"meta":803,"style":803},"const page = await vatly.orders.listChargebacks(\"order_abc123\");\nconst chargeback = await vatly.orders.getChargeback(\"order_abc123\", \"chargeback_abc123\");\n",[524,1625,1626,1659],{"__ignoreMap":803},[807,1627,1628,1630,1632,1634,1636,1638,1640,1642,1644,1647,1649,1651,1653,1655,1657],{"class":809,"line":810},[807,1629,821],{"class":820},[807,1631,1088],{"class":824},[807,1633,829],{"class":828},[807,1635,833],{"class":832},[807,1637,836],{"class":824},[807,1639,687],{"class":828},[807,1641,841],{"class":824},[807,1643,687],{"class":828},[807,1645,1646],{"class":846},"listChargebacks",[807,1648,850],{"class":824},[807,1650,853],{"class":828},[807,1652,857],{"class":856},[807,1654,853],{"class":828},[807,1656,862],{"class":824},[807,1658,865],{"class":828},[807,1660,1661,1663,1666,1668,1670,1672,1674,1676,1678,1681,1683,1685,1687,1689,1691,1693,1696,1698,1700],{"class":809,"line":817},[807,1662,821],{"class":820},[807,1664,1665],{"class":824}," chargeback ",[807,1667,829],{"class":828},[807,1669,833],{"class":832},[807,1671,836],{"class":824},[807,1673,687],{"class":828},[807,1675,841],{"class":824},[807,1677,687],{"class":828},[807,1679,1680],{"class":846},"getChargeback",[807,1682,850],{"class":824},[807,1684,853],{"class":828},[807,1686,857],{"class":856},[807,1688,853],{"class":828},[807,1690,1054],{"class":828},[807,1692,1311],{"class":828},[807,1694,1695],{"class":856},"chargeback_abc123",[807,1697,853],{"class":828},[807,1699,862],{"class":824},[807,1701,865],{"class":828},[471,1703,1613,1704,1706],{},[478,1705,108],{"href":274}," for the top-level chargeback endpoints.",[1708,1709,1710],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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);}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":803,"searchDepth":817,"depth":817,"links":1712},[1713,1716,1717,1718,1719,1720],{"id":494,"depth":817,"text":495,"children":1714},[1715],{"id":749,"depth":868,"text":750},{"id":986,"depth":817,"text":987},{"id":1070,"depth":817,"text":1071},{"id":1173,"depth":817,"text":1174},{"id":1239,"depth":817,"text":1240},{"id":1619,"depth":817,"text":1620},"Orders record checkout purchases and subscription renewals, including pending payments.","md",null,{},{"title":96},{"title":96,"description":1721},"2HrOx-31PyRkfj4AJo7nSlRYlk3BbQ9mXO9k5OAbhcc",[1729,1731],{"title":141,"path":262,"stem":263,"description":1730,"children":-1},"Subscription plans define recurring products, prices, and billing intervals.",{"title":148,"path":268,"stem":269,"description":1732,"children":-1},"One-off products are single-purchase items (no recurring billing).",1794594930062]