Order a VPS with the EDIS Global API (complete guide)
Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.
Live ordering: no test environmentEDIS Global does not provide a sandbox or test environment. Submitting a valid order to POST /kvm/v2/add/order creates a real VPS order and invoice.If account credit is applied and covers the invoice, provisioning can begin automatically.Setting "applycredit": false prevents account credit from being used for that order. It does not prevent the order from being created or make the request a test.Requests that retrieve plans, locations, or account balances do not place orders.
Available immediately after registration, subject to normal account verification; no separate reseller enrolment or manual API activation.
Order API authentication
Use your Client Portal email and password as email and pw; no separately issued API token is required.
Management API access
Requires at least one VPS on the account. Create a session using email and password, then use the returned signature, valid_until and kvm_id values.
Two-factor authentication
Applies to control-panel login. API requests and Management API session creation do not require a 2FA code.
Request volume
No API request limits are currently enforced, but keep request volume reasonable and avoid aggressive polling. This is not a commitment to permanently unlimited requests.
Keep account credentials and session values in your server-side integration; do not expose them to subscribers or browser code. See API access and Management API authentication.
Fetch current locations with POST /kvm/v2/get/locations, check out_of_stock, then retrieve the available products. Availability is not a reservation.
Submit the order once and retain the returned orderid, serviceids and invoiceid. Order creation, payment and provisioning are separate stages; invoicepaid: false alone does not mean the order failed.
After provisioning starts, use a returned service ID with POST /kvm/v2/get/kvmid. The response field is kvmid; obtaining it does not mean OS installation has completed.
Allow for Linux installation, normally another 3–5 minutes after provisioning, then verify OS and application readiness. Configure a standard image over SSH, or supply cloudinit_user_data through the Management API’s set/reinstall operation with a supported image. Custom Cloud-Init user data is not supported in the initial order.
A timeout or HTTP 500 can leave the order outcome unknown. Do not automatically submit the order again. Reconcile orders, invoices and services using any returned identifiers, and contact support if the outcome remains unclear. A single service-list response without the VPS is not proof that no order was created.
If you want to order a VPS using the EDIS Global API, think of it like this:👉 You don’t start by ordering
👉 You first collect all the pieces you needOnly after that, you send one final request.
That means:✅ Order created
✅ Invoice createdOrder creation does not by itself confirm payment or provisioning. If available account credit covers the invoice, provisioning can begin automatically. If the invoice remains unpaid, complete payment using the selected payment method.
Always fetch locations and products dynamically.IDs can change, new locations can appear, stock can change, and new plans can appear.Available account credit is applied automatically when you omit applycredit or set it to true, regardless of the selected payment method. To place an order without using account credit, explicitly set "applycredit": false inside the order JSON.
When ordering a VPS through the EDIS Global Order API, the most important step is not sending the final request first.👉 First collect all required values
👉 Then send one clean order requestThis approach avoids errors and ensures successful provisioning.
This guide uses curl examples for clarity. The same workflow works with Python, PHP, JavaScript, Postman, or any HTTP client.
The selected paymentmethod defines how the first invoice and all renewal invoices are issued.Available account credit is applied automatically when applycredit is omitted or true. Explicitly setting false prevents account credit from being applied to this order. If applied credit covers the invoice, provisioning can begin automatically.
The optional applycredit field belongs inside the order JSON:
applycredit
Behavior
Omitted
Available account credit is applied automatically.
true
Available account credit is applied.
false
Account credit is not applied to this order.
applycredit controls credit use for this order only. It does not change how credit is applied to future renewal invoices. To disable automatic credit application during scheduled invoice creation, contact support about the account-level billing arrangement.
To opt out of using account credit, add this field to your order JSON. Use the JSON boolean false:
{ "applycredit": false}
This is a field example, not a complete order payload. Setting false does not make an order a test.
The documentation portal sends requests to the production API. There is no sandbox or test environment.You can execute live requests and switch between multiple programming languages such as cURL, Python, JavaScript, PHP, Go, Java, and Ruby.
Use discovery endpoints to inspect plans, locations, and other available options. Order, upgrade, and cancellation requests perform real actions on your account.
Order one KVM SMART in Schiphol-Rijk (Amsterdam), Netherlands, with Debian 13 (Trixie) 64Bit, monthly billing and Credit Card payment. The base configuration is 1 GB RAM, 1 vCPU, 15 GB disk and 1 TB traffic, with no paid upgrades.
The location, product, OS, no-upgrade options and payment-method values below were verified through read-only discovery calls on 6 October 2026. The final order request was not executed during verification. Re-fetch the options before ordering: IDs, prices and availability can change.
Replace YOUR_EMAIL and YOUR_PASSWORD with your Client Portal credentials locally. All credentials shown here are placeholders. Use --data-urlencode so characters such as + in email addresses and & in passwords are encoded correctly.Steps 1–4 are read-only. Preparing the payload in step 5 also makes no account changes. Only step 6 submits a real order.
This response is illustrative. Use the identifiers returned by this endpoint for your account; do not hard-code the retired Cryptomus option or infer an API identifier from a checkout display name. For cryptocurrency funding, see Crypto by EDIS Global.Select creditcard for Credit Card. Always use an identifier returned by this endpoint.
Response excerpt showing only the selected product, monthly product price and relevant options. Other products, billing cycles, OS choices and upgrade options are omitted; optional option-price details are also omitted.
The OS mapping is products["KVM SMART"].addons["operating system"]["626"].id. Its description is Debian 13 (Trixie) 64Bit, so the order uses os: 626 alongside pid: 1502. This is an Order API option ID; do not substitute a Management API image ID.
Selection
Response value
Order field
KVM SMART
Product id: 1502
pid: 1502
Debian 13 (Trixie) 64Bit
OS option id: 626
os: 626
No additional RAM
id: 416
additional_ram: 416
No additional vCPU
id: 437
additional_vcpu: 437
No additional IPv4
id: 8
additional_ip: 8
No disk upgrade
id: 198
additional_diskboost: 198
These add-on values are option IDs, not quantities. In particular, additional_ip: 8 selects “no additional IPs”; it does not request eight IP addresses. The response group additional drive boost maps to the order field additional_diskboost.
EUR 4.99 is the listed monthly product price in this response, not an account-specific, tax-inclusive final quote. This lookup alone does not establish the total first charge, applicable tax or any other mandatory charges. Confirm the complete payable amount before submitting an order if you have a fixed spending limit.
Prepare the following JSON using the values from your current discovery responses. One entry in item requests one VPS. hostname is your chosen server name.
This example explicitly sets applycredit: false to prevent available account credit from being applied to this order. It does not make the request a test. Omitting this field or setting it to true enables automatic credit application, which can start provisioning if the credit covers the invoice.
Live order: Run the command below only when you intend to buy this VPS. It creates a real order and invoice. There is no sandbox or dry-run mode. For read-only inspection, stop before this step.
Submit once and retain the response. If the request times out or returns an ambiguous error, do not automatically repeat it: an order may already exist. Contact support if you cannot reconcile the result.
status: "success" confirms order creation. invoicepaid: false means the invoice remains unpaid; it does not mean the order failed. Complete payment through the Client Portal as required. Order creation, payment, provisioning and OS installation are separate stages.After provisioning starts, use the returned service ID with Get KVM ID, then follow the order-to-ready workflow.See Order VPS for the endpoint reference and Get VPS plans for the product-to-OS mapping.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"EDIS Global Docs","colors":{"primary":"#F96002","light":"#F96002","dark":"#d55200"},"logo":{"light":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/logo/light.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=5e8f0b38c95369976ff43eed9ab906bf","dark":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/logo/dark.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=e988a00463174b16649b5565b2443220"},"favicon":"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/favicon.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=a8ed964ff7aa69dc8e4e41e376d4647a","navbar":{"links":[{"href":"https://www.edisglobal.com/blog","label":"Blog"},{"href":"https://www.edisglobal.com/contact","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://manage.edisglobal.com/clientarea.php"}},"footer":{"socials":{"x":"https://x.com/edisat"}},"search":{"prompt":"Search the docs"},"seo":{"indexing":"navigable"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"integrations":{"intercom":{"appId":"n4lbl81j"}},"contextual":{"options":["view","chatgpt","claude","perplexity","copy","assistant","grok","aistudio","windsurf"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"Explore VPS Hosting Plans \u0026 Locations","icon":"server","href":"https://www.edisglobal.com/vps-hosting"},{"anchor":"Why Our VPS Infrastructure Is Different","icon":"user","href":"https://www.edisglobal.com/why-edis-global"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"edisglobal-b1e34a56","hasAudioNarration":false,"actualSubdomain":"edisglobal-b1e34a56","customDomains":["docs.edisglobal.com"],"gitSource":{"type":"github","owner":"gexpl0rer","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae3405c0184476a8fdb64c0","collectionId":"edef6a11-23de-4d40-ba32-3cdcc595868f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3405c0184476a8fdb64c0"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae3405c0184476a8fdb64c0","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Documentation","count":179},{"language":"default","tag":"FAQ","count":85},{"language":"default","tag":"Advanced Setup Guides","count":39},{"language":"default","tag":"Management API Endpoints","count":39},{"language":"default","tag":"Billing \u0026 Lifecycle","count":33},{"language":"default","tag":"VPS Management","count":24},{"language":"default","tag":"IP Addresses","count":22},{"language":"default","tag":"Upgrades, Downgrades","count":13},{"language":"default","tag":"Order API Endpoints","count":13},{"language":"default","tag":"Order-API","count":13}]},"assistantConfig":{"enableStarterQuestions":true,"deflection":{"enabled":true,"email":"support@edisglobal.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6a70aabd56fdf128789eb6d0","deploymentId":"677932f44b81021a9ae821f7","questionText":"How can I buy additional traffic?","status":"active","generatedBy":"manual","createdAt":"2026-08-03T14:50:37.639Z","updatedAt":"2026-08-03T14:50:37.639Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--brand-primary:#000;--brand-secondary:#5e5f6e;--brand-accent:#f96002;--brand-accent-dark:#d55200;--brand-accent-light:#ffd7bf;--brand-emphasis:#fafafa;--brand-border:#e9e9e9;--brand-error:#f73826;--brand-error--light:#ffc3bd;--brand-success:#089c05;--brand-success-light:#bcf6bb;--brand-disabled:#aaa8a8;--brand-gradient:linear-gradient(to bottom, #fa8837, #f96103);--brand-gradient-reverse:linear-gradient(to top, #fa8837, #f96103)}.custom-cta-button{background-color:var(--brand-accent);padding:5px 10px;border-radius:4px}.custom-cta-button:hover{background-color:var(--brand-accent-dark)}.custom-cta-button a{text-decoration:none;color:#fff;border:0}#navigation-items ul>li{margin-left:15px}#navigation-items ul>li>div.group{font-weight:700}"}],"page":{"pagePath":"order-api-reference/order-api","slug":"/order-api-reference/order-api","pageMetadata":{"title":"Order a VPS with the EDIS Global API (complete guide)","sidebarTitle":"Order API complete guide","description":"Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.","href":"/order-api-reference/order-api"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,Step,Steps,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Live ordering: no test environment`})}),_jsxs(_components.p,{children:[`EDIS Global does not provide a sandbox or test environment. Submitting a valid order to `,_jsx(_components.code,{children:`POST /kvm/v2/add/order`}),` creates a real VPS order and invoice.`]}),_jsx(_components.p,{children:`If account credit is applied and covers the invoice, provisioning can begin automatically.`}),_jsxs(_components.p,{children:[`Setting `,_jsx(_components.code,{children:`\"applycredit\": false`}),` prevents account credit from being used for that order. It does not prevent the order from being created or make the request a test.`]}),_jsx(_components.p,{children:`Requests that retrieve plans, locations, or account balances do not place orders.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-automate`,children:`Before you automate`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Requirement`}),_jsx(_components.th,{children:`Current behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Order API access`}),_jsx(_components.td,{children:`Available immediately after registration, subject to normal account verification; no separate reseller enrolment or manual API activation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Order API authentication`}),_jsxs(_components.td,{children:[`Use your Client Portal email and password as `,_jsx(_components.code,{children:`email`}),` and `,_jsx(_components.code,{children:`pw`}),`; no separately issued API token is required.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Management API access`}),_jsxs(_components.td,{children:[`Requires at least one VPS on the account. Create a session using email and password, then use the returned `,_jsx(_components.code,{children:`signature`}),`, `,_jsx(_components.code,{children:`valid_until`}),` and `,_jsx(_components.code,{children:`kvm_id`}),` values.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Two-factor authentication`}),_jsx(_components.td,{children:`Applies to control-panel login. API requests and Management API session creation do not require a 2FA code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Request volume`}),_jsx(_components.td,{children:`No API request limits are currently enforced, but keep request volume reasonable and avoid aggressive polling. This is not a commitment to permanently unlimited requests.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Keep account credentials and session values in your server-side integration; do not expose them to subscribers or browser code. See `,_jsx(_components.a,{href:`/vps-management/api-for-management-and-ordering`,children:`API access`}),` and `,_jsx(_components.a,{href:`/management-api-reference/authentication/create-auth-session`,children:`Management API authentication`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`from-order-to-a-ready-vps`,children:`From order to a ready VPS`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Fetch current locations with `,_jsx(_components.code,{children:`POST /kvm/v2/get/locations`}),`, check `,_jsx(_components.code,{children:`out_of_stock`}),`, then retrieve the available products. Availability is not a reservation.`]}),`\n`,_jsxs(_components.li,{children:[`Submit the order once and retain the returned `,_jsx(_components.code,{children:`orderid`}),`, `,_jsx(_components.code,{children:`serviceids`}),` and `,_jsx(_components.code,{children:`invoiceid`}),`. Order creation, payment and provisioning are separate stages; `,_jsx(_components.code,{children:`invoicepaid: false`}),` alone does not mean the order failed.`]}),`\n`,_jsxs(_components.li,{children:[`After provisioning starts, use a returned service ID with `,_jsx(_components.code,{children:`POST /kvm/v2/get/kvmid`}),`. The response field is `,_jsx(_components.code,{children:`kvmid`}),`; obtaining it does not mean OS installation has completed.`]}),`\n`,_jsxs(_components.li,{children:[`Allow for Linux installation, normally another 3–5 minutes after provisioning, then verify OS and application readiness. Configure a standard image over SSH, or supply `,_jsx(_components.code,{children:`cloudinit_user_data`}),` through the Management API’s `,_jsx(_components.code,{children:`set/reinstall`}),` operation with a supported image. Custom Cloud-Init user data is not supported in the initial order.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`A timeout or HTTP 500 can leave the order outcome unknown. Do not automatically submit the order again. Reconcile orders, invoices and services using any returned identifiers, and contact support if the outcome remains unclear. A single service-list response without the VPS is not proof that no order was created.`})}),`\n`,_jsxs(_components.p,{children:[`For a practical VPN workflow, see `,_jsx(_components.a,{href:`/commercial-vpn-hosting#deploying-a-vpn-endpoint`,children:`Deploying a VPN endpoint`}),`.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Simple guide`,id:`simple-guide`,\"data-child-heading-ids\":`[\"let%E2%80%99s-keep-this-simple\",\"the-basic-idea\",\"step-by-step-overview\",\"step-1%3A-get-billing-cycles\",\"step-2%3A-get-payment-methods\",\"step-3%3A-get-vps-locations\",\"step-4%3A-get-vps-plans-this-is-the-important-one\",\"step-5%3A-select-what-you-want\",\"final-step%3A-send-the-order\",\"what-happens-next%3F\",\"key-takeaway\",\"pro-tip\",\"if-you-get-stuck\"]`,children:[_jsx(Heading,{level:`2`,id:`let’s-keep-this-simple`,children:`Let’s keep this simple`}),_jsx(_components.p,{children:`If you want to order a VPS using the EDIS Global API, think of it like this:`}),_jsxs(_components.p,{children:[`👉 You `,_jsx(_components.strong,{children:`don’t start by ordering`}),_jsx(_components.br,{}),`\n`,`👉 You `,_jsx(_components.strong,{children:`first collect all the pieces you need`})]}),_jsx(_components.p,{children:`Only after that, you send one final request.`}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`the-basic-idea`,children:`The basic idea`}),_jsx(_components.p,{children:`Imagine ordering a VPS like ordering food:`}),_jsx(_components.p,{children:`You need to decide:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`where (location)`}),`\n`,_jsx(_components.li,{children:`what (plan)`}),`\n`,_jsx(_components.li,{children:`how often you pay (billing cycle)`}),`\n`,_jsx(_components.li,{children:`how you pay (payment method)`}),`\n`,_jsx(_components.li,{children:`extras (RAM, IPs, etc.)`}),`\n`]}),_jsx(_components.p,{children:`The API works exactly the same way.`}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`step-by-step-overview`,children:`Step-by-step overview`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Login`,children:_jsx(_components.p,{children:`Use your EDIS Global email + password (same as Client Portal)`})}),_jsxs(Step,{title:`Get available options`,children:[_jsx(_components.p,{children:`Ask the API:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`what billing cycles exist`}),`\n`,_jsx(_components.li,{children:`what payment methods exist`}),`\n`,_jsx(_components.li,{children:`what locations exist`}),`\n`]})]}),_jsx(Step,{title:`Pick a location`,children:_jsx(_components.p,{children:`Select where to deploy your VPS`})}),_jsxs(Step,{title:`Get plans for that location`,children:[_jsx(_components.p,{children:`This gives you:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`product IDs (pid)`}),`\n`,_jsx(_components.li,{children:`OS IDs`}),`\n`,_jsx(_components.li,{children:`addon IDs`}),`\n`]})]}),_jsx(Step,{title:`Build your order`,children:_jsx(_components.p,{children:`Put everything together into one JSON request`})}),_jsx(Step,{title:`Send the order`,children:_jsx(_components.p,{children:`Call the order endpoint`})})]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`step-1-get-billing-cycles`,children:`Step 1: Get billing cycles`}),_jsx(_components.p,{children:`Just ask the API what billing cycles exist.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/get/billingcycles`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`})]}),`\n`]})})}),_jsx(_components.p,{children:`You’ll get something like:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"monthly\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"quarterly\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"annually\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})}),_jsx(_components.p,{children:`👉 Pick one.`}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`step-2-get-payment-methods`,children:`Step 2: Get payment methods`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/get/paymentmethods`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`})]}),`\n`]})})}),_jsx(_components.p,{children:`Example result:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"paypal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"creditcard\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})}),_jsx(_components.p,{children:`👉 Pick one.`}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`step-3-get-vps-locations`,children:`Step 3: Get VPS locations`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/get/locations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`})]}),`\n`]})})}),_jsx(_components.p,{children:`You’ll see something like:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Greece\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`94`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"out_of_stock\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),_jsx(_components.p,{children:`👉 Important:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`use the `,_jsx(_components.strong,{children:`id`})]}),`\n`,_jsxs(_components.li,{children:[`ignore locations where `,_jsx(_components.code,{children:`out_of_stock = true`})]}),`\n`]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`step-4-get-vps-plans-this-is-the-important-one`,children:`Step 4: Get VPS plans (this is the important one)`}),_jsx(_components.p,{children:`Now you ask:`}),_jsx(_components.p,{children:`👉 “What can I buy in this location?”`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/get/products`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'location_id=94'`})]}),`\n`]})})}),_jsx(_components.p,{children:`Now you get everything:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`plan IDs → `,_jsx(_components.code,{children:`pid`})]}),`\n`,_jsxs(_components.li,{children:[`OS IDs → `,_jsx(_components.code,{children:`os`})]}),`\n`,_jsx(_components.li,{children:`addon IDs → RAM, IPs, etc.`}),`\n`]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`step-5-select-what-you-want`,children:`Step 5: Select what you want`}),_jsx(_components.p,{children:`From that response, select:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`plan → `,_jsx(_components.code,{children:`pid`})]}),`\n`,_jsxs(_components.li,{children:[`OS → `,_jsx(_components.code,{children:`os`})]}),`\n`,_jsxs(_components.li,{children:[`optional:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`RAM`}),`\n`,_jsx(_components.li,{children:`CPU`}),`\n`,_jsx(_components.li,{children:`IPs`}),`\n`,_jsx(_components.li,{children:`disk 👉 Everything is just IDs.`}),`\n`]}),`\n`]}),`\n`]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`final-step-send-the-order`,children:`Final step: Send the order`}),_jsxs(_components.p,{children:[`This sends a real VPS order. The example omits `,_jsx(_components.code,{children:`applycredit`}),`, so available account credit is applied automatically:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/add/order`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'order={`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"billingcycle\": \"monthly\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentmethod\": \"paypal\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"item\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pid\": 892,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"os\": 208,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hostname\": \"my-server\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"additional_ram\": 396,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"additional_ip\": 10`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`what-happens-next`,children:`What happens next?`}),_jsx(_components.p,{children:`If everything is correct, you get:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`123`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"serviceids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoiceid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`789`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`That means:`}),_jsxs(_components.p,{children:[`✅ Order created`,_jsx(_components.br,{}),`\n`,`✅ Invoice created`]}),_jsx(_components.p,{children:`Order creation does not by itself confirm payment or provisioning. If available account credit covers the invoice, provisioning can begin automatically. If the invoice remains unpaid, complete payment using the selected payment method.`}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`key-takeaway`,children:`Key takeaway`}),_jsx(_components.p,{children:`👉 The API is simple once you understand this:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Ask for options`}),`\n`,_jsx(_components.li,{children:`Pick IDs`}),`\n`,_jsx(_components.li,{children:`Send order`}),`\n`]}),_jsx(_components.p,{children:`That’s it.`}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`pro-tip`,children:`Pro tip`}),_jsxs(Info,{children:[_jsx(_components.p,{children:`Always fetch locations and products dynamically.`}),_jsx(_components.p,{children:`IDs can change, new locations can appear, stock can change, and new plans can appear.`}),_jsxs(_components.p,{children:[`Available account credit is applied automatically when you omit `,_jsx(_components.code,{children:`applycredit`}),` or set it to `,_jsx(_components.code,{children:`true`}),`, regardless of the selected payment method. To place an order without using account credit, explicitly set `,_jsx(_components.code,{children:`\"applycredit\": false`}),` inside the `,_jsx(_components.code,{children:`order`}),` JSON.`]})]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`if-you-get-stuck`,children:`If you get stuck`}),_jsx(_components.p,{children:`Think of it like this:`}),_jsx(_components.p,{children:`👉 “What values do I still NOT have?”`}),_jsx(_components.p,{children:`Then go back and call the endpoint that gives you that value.`}),_jsx(_components.p,{children:`That’s the whole workflow.`})]}),_jsxs(Tab,{title:`Developer version`,id:`developer-version`,\"data-child-heading-ids\":`[\"order-a-vps-the-right-way\",\"api-workflow\",\"important%3A-payment-method-behavior\",\"try-the-api-directly-in-the-documentation\",\"available-endpoints\",\"final-order-endpoint\",\"example%3A-successful-response\",\"best-practices\",\"summary\"]`,children:[_jsx(Heading,{level:`2`,id:`order-a-vps-the-right-way`,children:`Order a VPS the right way`}),_jsxs(_components.p,{children:[`When ordering a VPS through the EDIS Global Order API, the most important step is `,_jsx(_components.strong,{children:`not`}),` sending the final request first.`]}),_jsxs(_components.p,{children:[`👉 First collect all required values`,_jsx(_components.br,{}),`\n`,`👉 Then send one clean order request`]}),_jsx(_components.p,{children:`This approach avoids errors and ensures successful provisioning.`}),_jsx(Info,{children:_jsxs(_components.p,{children:[`This guide uses `,_jsx(_components.code,{children:`curl`}),` examples for clarity. The same workflow works with Python, PHP, JavaScript, Postman, or any HTTP client.`]})}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`api-workflow`,children:`API workflow`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Authenticate`,children:_jsx(_components.p,{children:`Use your EDIS Global Client Portal email and password`})}),_jsx(Step,{title:`Collect values`,children:_jsx(_components.p,{children:`Retrieve billing cycles, payment methods, locations, products, and addon IDs`})}),_jsx(Step,{title:`Build payload`,children:_jsx(_components.p,{children:`Combine all selected values into one JSON structure`})}),_jsx(Step,{title:`Submit order`,children:_jsx(_components.p,{children:`Send the final request to the order endpoint`})})]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`important-payment-method-behavior`,children:`Important: payment method behavior`}),_jsxs(Info,{children:[_jsxs(_components.p,{children:[`The selected `,_jsx(_components.code,{children:`paymentmethod`}),` defines how the `,_jsx(_components.strong,{children:`first invoice and all renewal invoices`}),` are issued.`]}),_jsxs(_components.p,{children:[`Available account credit is applied automatically when `,_jsx(_components.code,{children:`applycredit`}),` is omitted or `,_jsx(_components.code,{children:`true`}),`. Explicitly setting `,_jsx(_components.code,{children:`false`}),` prevents account credit from being applied to this order. If applied credit covers the invoice, provisioning can begin automatically.`]})]}),_jsxs(_components.p,{children:[`The optional `,_jsx(_components.code,{children:`applycredit`}),` field belongs inside the `,_jsx(_components.code,{children:`order`}),` JSON:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`applycredit`})}),_jsx(_components.th,{children:`Behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Omitted`}),_jsx(_components.td,{children:`Available account credit is applied automatically.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Available account credit is applied.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})}),_jsx(_components.td,{children:`Account credit is not applied to this order.`})]})]})]}),_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`applycredit`}),` controls credit use for `,_jsx(_components.strong,{children:`this order only`}),`. It does not change how credit is applied to future renewal invoices. To disable automatic credit application during scheduled invoice creation, contact support about the `,_jsx(_components.a,{href:`/faq/billing-lifecycle/pay-invoices-from-credit-balance#can-i-disable-automatic-credit-application-to-renewal-invoices`,children:`account-level billing arrangement`}),`.`]})}),_jsxs(_components.p,{children:[`To opt out of using account credit, add this field to your `,_jsx(_components.code,{children:`order`}),` JSON. Use the JSON boolean `,_jsx(_components.code,{children:`false`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"applycredit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`This is a field example, not a complete order payload. Setting `,_jsx(_components.code,{children:`false`}),` does not make an order a test.`]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`try-the-api-directly-in-the-documentation`,children:`Try the API directly in the documentation`}),_jsxs(Info,{children:[_jsxs(_components.p,{children:[`The documentation portal sends requests to the `,_jsx(_components.strong,{children:`production API`}),`. There is no sandbox or test environment.`]}),_jsx(_components.p,{children:`You can execute live requests and switch between multiple programming languages such as cURL, Python, JavaScript, PHP, Go, Java, and Ruby.`})]}),_jsx(_components.p,{children:`Use discovery endpoints to inspect plans, locations, and other available options. Order, upgrade, and cancellation requests perform real actions on your account.`}),_jsx(Heading,{level:`3`,id:`available-endpoints`,children:`Available endpoints`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/order-vps`,children:`Order VPS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/upgrade-vps`,children:`Upgrade VPS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/get-vps-plans`,children:`Get VPS plans`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/get-vps-locations`,children:`Get VPS locations`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/get-billing-cycles`,children:`Get billing cycles`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/get-services`,children:`Get services`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/get-payment-options`,children:`Get payment options`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/get-accountbalance`,children:`Get account balance`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/get-service-id`,children:`Get service ID`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/get-kvm-id`,children:`Get KVM ID`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/order-api-reference/cancel-vps`,children:`Cancel VPS`})}),`\n`]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`final-order-endpoint`,children:`Final order endpoint`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/add/order`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`This endpoint creates a real VPS order and invoice. The example omits `,_jsx(_components.code,{children:`applycredit`}),` to use the default automatic credit behavior:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingcycle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"monthly\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paymentmethod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"paypal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"item\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`892`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"os\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`208`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hostname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-server\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional_ram\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`396`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional_ip\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`example-successful-response`,children:`Example: successful response`}),_jsx(_components.p,{children:`Example when available account credit covers the invoice:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`123456`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"serviceids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoiceid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`654321`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoicepaid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best practices`}),_jsxs(Info,{children:[_jsx(_components.p,{children:`Always fetch locations, products, and addon IDs dynamically.`}),_jsx(_components.p,{children:`Inventory, availability, and IDs can change at any time.`})]}),_jsx(_components.p,{children:`Before submitting an order, verify:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`location is not out of stock`}),`\n`,_jsx(_components.li,{children:`product exists in that location`}),`\n`,_jsx(_components.li,{children:`OS is valid for that product`}),`\n`,_jsx(_components.li,{children:`addon IDs belong to the same product response`}),`\n`]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`2`,id:`summary`,children:`Summary`}),_jsx(_components.p,{children:`To order a VPS:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`get billing cycles`}),`\n`,_jsx(_components.li,{children:`get payment methods`}),`\n`,_jsx(_components.li,{children:`get locations`}),`\n`,_jsx(_components.li,{children:`get products`}),`\n`,_jsx(_components.li,{children:`collect IDs`}),`\n`,_jsx(_components.li,{children:`submit order`}),`\n`]}),_jsxs(_components.p,{children:[`👉 `,_jsx(_components.strong,{children:`Collect first. Order last.`})]})]}),_jsxs(Tab,{title:`Full example`,id:`full-example`,\"data-child-heading-ids\":`[\"full-example-end-to-end\",\"step-1%3A-get-billing-cycle\",\"step-2%3A-get-payment-method\",\"step-3%3A-get-vps-locations-2\",\"step-4%3A-get-vps-products-in-location\",\"step-5%3A-build-order-payload\",\"step-6%3A-submit-order\",\"successful-response\"]`,children:[_jsx(Heading,{level:`2`,id:`full-example-end-to-end`,children:`Full example (end-to-end)`}),_jsxs(_components.p,{children:[`Order one `,_jsx(_components.strong,{children:`KVM SMART in Schiphol-Rijk (Amsterdam), Netherlands`}),`, with `,_jsx(_components.strong,{children:`Debian 13 (Trixie) 64Bit`}),`, monthly billing and Credit Card payment. The base configuration is 1 GB RAM, 1 vCPU, 15 GB disk and 1 TB traffic, with no paid upgrades.`]}),_jsx(Info,{children:_jsxs(_components.p,{children:[`The location, product, OS, no-upgrade options and payment-method values below were verified through read-only discovery calls on `,_jsx(_components.strong,{children:`6 October 2026`}),`. The final order request was not executed during verification. Re-fetch the options before ordering: IDs, prices and availability can change.`]})}),_jsxs(_components.p,{children:[`Replace `,_jsx(_components.code,{children:`YOUR_EMAIL`}),` and `,_jsx(_components.code,{children:`YOUR_PASSWORD`}),` with your Client Portal credentials locally. All credentials shown here are placeholders. Use `,_jsx(_components.code,{children:`--data-urlencode`}),` so characters such as `,_jsx(_components.code,{children:`+`}),` in email addresses and `,_jsx(_components.code,{children:`\u0026`}),` in passwords are encoded correctly.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Steps 1–4 are read-only.`}),` Preparing the payload in step 5 also makes no account changes. Only step 6 submits a real order.`]}),_jsx(Heading,{level:`2`,id:`step-1-get-billing-cycle`,children:`Step 1: Get billing cycle`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/get/billingcycles`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Select `,_jsx(_components.code,{children:`monthly`}),` from the returned billing cycles. If it is not available, stop and check the current options.`]}),_jsx(Heading,{level:`2`,id:`step-2-get-payment-method`,children:`Step 2: Get payment method`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/get/paymentmethods`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`})]}),`\n`]})})}),_jsx(_components.p,{children:`Verified response:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paymentmethods\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paypal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"alipay\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"creditcard\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`This response is illustrative. Use the identifiers returned by this endpoint for your account; do not hard-code the retired Cryptomus option or infer an API identifier from a checkout display name. For cryptocurrency funding, see `,_jsx(_components.a,{href:`/faq/billing-lifecycle/cryptocurrency-payments`,children:`Crypto by EDIS Global`}),`.`]}),_jsxs(_components.p,{children:[`Select `,_jsx(_components.code,{children:`creditcard`}),` for Credit Card. Always use an identifier returned by this endpoint.`]}),_jsx(Heading,{level:`2`,id:`step-3-get-vps-locations-2`,children:`Step 3: Get VPS locations`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/get/locations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`})]}),`\n`]})})}),_jsx(_components.p,{children:`Response excerpt (other locations omitted):`}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"locations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"KVM Netherlands\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`157`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"headline\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"KVM vps in Schiphol-Rijk (Amsterdam), Netherlands\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Netherlands\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"out_of_stock\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`location_id=157`}),` for the next lookup. Check that `,_jsx(_components.code,{children:`out_of_stock`}),` is `,_jsx(_components.code,{children:`false`}),`; this lookup does not reserve capacity.`]}),_jsx(Heading,{level:`2`,id:`step-4-get-vps-products-in-location`,children:`Step 4: Get VPS products in location`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/get/products`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'location_id=157'`})]}),`\n`]})})}),_jsx(_components.p,{children:`Response excerpt showing only the selected product, monthly product price and relevant options. Other products, billing cycles, OS choices and upgrade options are omitted; optional option-price details are also omitted.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`64`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`64`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"products\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"KVM SMART\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1502`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"disk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GByte\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ram\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1024`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MByte\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cpu\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"core/socket\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"traffic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TByte\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"monthly\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4.99\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"addons\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"operating system\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"626\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`626`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Debian 13 (Trixie) 64Bit\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional ram\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"416\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`416`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional vcpu\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"437\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`437`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional ip\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no additional IPs\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional drive boost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"198\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`198`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no upgrade selected\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`The OS mapping is `,_jsx(_components.code,{children:`products[\"KVM SMART\"].addons[\"operating system\"][\"626\"].id`}),`. Its description is `,_jsx(_components.code,{children:`Debian 13 (Trixie) 64Bit`}),`, so the order uses `,_jsx(_components.code,{children:`os: 626`}),` alongside `,_jsx(_components.code,{children:`pid: 1502`}),`. This is an `,_jsx(_components.strong,{children:`Order API option ID`}),`; do not substitute a Management API image ID.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Selection`}),_jsx(_components.th,{children:`Response value`}),_jsx(_components.th,{children:`Order field`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`KVM SMART`}),_jsxs(_components.td,{children:[`Product `,_jsx(_components.code,{children:`id: 1502`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`pid: 1502`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Debian 13 (Trixie) 64Bit`}),_jsxs(_components.td,{children:[`OS option `,_jsx(_components.code,{children:`id: 626`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`os: 626`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`No additional RAM`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`id: 416`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_ram: 416`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`No additional vCPU`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`id: 437`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_vcpu: 437`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`No additional IPv4`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`id: 8`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_ip: 8`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`No disk upgrade`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`id: 198`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_diskboost: 198`})})]})]})]}),_jsxs(_components.p,{children:[`These add-on values are `,_jsx(_components.strong,{children:`option IDs, not quantities`}),`. In particular, `,_jsx(_components.code,{children:`additional_ip: 8`}),` selects “no additional IPs”; it does not request eight IP addresses. The response group `,_jsx(_components.code,{children:`additional drive boost`}),` maps to the order field `,_jsx(_components.code,{children:`additional_diskboost`}),`.`]}),_jsx(Note,{children:_jsx(_components.p,{children:`EUR 4.99 is the listed monthly product price in this response, not an account-specific, tax-inclusive final quote. This lookup alone does not establish the total first charge, applicable tax or any other mandatory charges. Confirm the complete payable amount before submitting an order if you have a fixed spending limit.`})}),_jsx(Heading,{level:`2`,id:`step-5-build-order-payload`,children:`Step 5: Build order payload`}),_jsxs(_components.p,{children:[`Prepare the following JSON using the values from your current discovery responses. One entry in `,_jsx(_components.code,{children:`item`}),` requests one VPS. `,_jsx(_components.code,{children:`hostname`}),` is your chosen server name.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingcycle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"monthly\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paymentmethod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"creditcard\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"applycredit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"item\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1502`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"os\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`626`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hostname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example-nl-debian13\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional_ram\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`416`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional_vcpu\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`437`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional_ip\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"additional_diskboost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`198`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`This example explicitly sets `,_jsx(_components.code,{children:`applycredit: false`}),` to prevent available account credit from being applied to this order. It does not make the request a test. Omitting this field or setting it to `,_jsx(_components.code,{children:`true`}),` enables automatic credit application, which can start provisioning if the credit covers the invoice.`]}),_jsx(Heading,{level:`2`,id:`step-6-submit-order`,children:`Step 6: Submit order`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Live order:`}),` Run the command below only when you intend to buy this VPS. It creates a real order and invoice. There is no sandbox or dry-run mode. For read-only inspection, stop before this step.`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://order.edisglobal.com/kvm/v2/add/order`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email=YOUR_EMAIL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pw=YOUR_PASSWORD'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'order={`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"billingcycle\": \"monthly\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentmethod\": \"creditcard\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"applycredit\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"item\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pid\": 1502,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"os\": 626,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hostname\": \"example-nl-debian13\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"additional_ram\": 416,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"additional_vcpu\": 437,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"additional_ip\": 8,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"additional_diskboost\": 198`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),_jsx(_components.p,{children:`Submit once and retain the response. If the request times out or returns an ambiguous error, do not automatically repeat it: an order may already exist. Contact support if you cannot reconcile the result.`}),_jsx(Heading,{level:`2`,id:`successful-response`,children:`Successful response`}),_jsx(_components.p,{children:`Illustrative response for a created order whose invoice is still unpaid. The IDs below are fictional; use the IDs from your own response.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`123456`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"serviceids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoiceid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`654321`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoicepaid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`status: \"success\"`}),` confirms order creation. `,_jsx(_components.code,{children:`invoicepaid: false`}),` means the invoice remains unpaid; it does not mean the order failed. Complete payment through the Client Portal as required. Order creation, payment, provisioning and OS installation are separate stages.`]}),_jsxs(_components.p,{children:[`After provisioning starts, use the returned service ID with `,_jsx(_components.a,{href:`/order-api-reference/get-kvm-id`,children:`Get KVM ID`}),`, then follow the `,_jsx(_components.a,{href:`/order-api-reference/order-api#from-order-to-a-ready-vps`,children:`order-to-ready workflow`}),`.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/order-api-reference/order-vps`,children:`Order VPS`}),` for the endpoint reference and `,_jsx(_components.a,{href:`/order-api-reference/get-vps-plans#how-to-find-the-ordering-os-id`,children:`Get VPS plans`}),` for the product-to-OS mapping.`]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Order a VPS with the EDIS Global API (complete guide)","sidebarTitle":"Order API complete guide","description":"Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.","href":"/order-api-reference/order-api"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you automate","slug":"before-you-automate","depth":2,"children":[{"title":"From order to a ready VPS","slug":"from-order-to-a-ready-vps","depth":3,"children":[]}]},{"title":"Let’s keep this simple","slug":"let’s-keep-this-simple","depth":2,"children":[],"tabId":"simple-guide"},{"title":"The basic idea","slug":"the-basic-idea","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Step-by-step overview","slug":"step-by-step-overview","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Step 1: Get billing cycles","slug":"step-1-get-billing-cycles","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Step 2: Get payment methods","slug":"step-2-get-payment-methods","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Step 3: Get VPS locations","slug":"step-3-get-vps-locations","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Step 4: Get VPS plans (this is the important one)","slug":"step-4-get-vps-plans-this-is-the-important-one","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Step 5: Select what you want","slug":"step-5-select-what-you-want","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Final step: Send the order","slug":"final-step-send-the-order","depth":2,"children":[],"tabId":"simple-guide"},{"title":"What happens next?","slug":"what-happens-next","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Key takeaway","slug":"key-takeaway","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Pro tip","slug":"pro-tip","depth":2,"children":[],"tabId":"simple-guide"},{"title":"If you get stuck","slug":"if-you-get-stuck","depth":2,"children":[],"tabId":"simple-guide"},{"title":"Order a VPS the right way","slug":"order-a-vps-the-right-way","depth":2,"children":[],"tabId":"developer-version"},{"title":"API workflow","slug":"api-workflow","depth":2,"children":[],"tabId":"developer-version"},{"title":"Important: payment method behavior","slug":"important-payment-method-behavior","depth":2,"children":[],"tabId":"developer-version"},{"title":"Try the API directly in the documentation","slug":"try-the-api-directly-in-the-documentation","depth":2,"children":[{"title":"Available endpoints","slug":"available-endpoints","depth":3,"children":[],"tabId":"developer-version"}],"tabId":"developer-version"},{"title":"Final order endpoint","slug":"final-order-endpoint","depth":2,"children":[],"tabId":"developer-version"},{"title":"Example: successful response","slug":"example-successful-response","depth":2,"children":[],"tabId":"developer-version"},{"title":"Best practices","slug":"best-practices","depth":2,"children":[],"tabId":"developer-version"},{"title":"Summary","slug":"summary","depth":2,"children":[],"tabId":"developer-version"},{"title":"Full example (end-to-end)","slug":"full-example-end-to-end","depth":2,"children":[],"tabId":"full-example"},{"title":"Step 1: Get billing cycle","slug":"step-1-get-billing-cycle","depth":2,"children":[],"tabId":"full-example"},{"title":"Step 2: Get payment method","slug":"step-2-get-payment-method","depth":2,"children":[],"tabId":"full-example"},{"title":"Step 3: Get VPS locations","slug":"step-3-get-vps-locations-2","depth":2,"children":[],"tabId":"full-example"},{"title":"Step 4: Get VPS products in location","slug":"step-4-get-vps-products-in-location","depth":2,"children":[],"tabId":"full-example"},{"title":"Step 5: Build order payload","slug":"step-5-build-order-payload","depth":2,"children":[],"tabId":"full-example"},{"title":"Step 6: Submit order","slug":"step-6-submit-order","depth":2,"children":[],"tabId":"full-example"},{"title":"Successful response","slug":"successful-response","depth":2,"children":[],"tabId":"full-example"}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/edisglobal-b1e34a56/36a9e7f1c95b82ff/pages/api/download.js"],"subdomain":"edisglobal-b1e34a56","siteName":"EDIS Global Docs","title":"Order a VPS with the EDIS Global API (complete guide) - EDIS Global Docs","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T17:28:29.655Z","gitLastModified":"2026-10-28T17:26:52.000Z","originalFileLocation":"order-api-reference/order-api.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.\">\u003cmeta data-mint-head name=\"application-name\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Order a VPS with the EDIS Global API (complete guide) - EDIS Global Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.edisglobal.com/order-api-reference/order-api\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://edisglobal-b1e34a56.mintlify.app/_mintlify/api/og/v2?division=Order-API\u0026amp;title=Order+a+VPS+with+the+EDIS+Global+API+%28complete+guide%29\u0026amp;description=Order+an+EDIS+Global+VPS+via+the+Order+API+with+worked+examples%3A+a+simple+beginner+guide%2C+a+developer+reference%2C+and+a+full+end-to-end+JSON+walk-through.\u0026amp;theme=9394e69de84003f3f01b8430\u0026amp;signature=d37f566f0bab3be51d48776e5149111d9d83349089b0b28d32064d1d83dc2c03\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Order a VPS with the EDIS Global API (complete guide) - EDIS Global Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edisglobal-b1e34a56.mintlify.app/_mintlify/api/og/v2?division=Order-API\u0026amp;title=Order+a+VPS+with+the+EDIS+Global+API+%28complete+guide%29\u0026amp;description=Order+an+EDIS+Global+VPS+via+the+Order+API+with+worked+examples%3A+a+simple+beginner+guide%2C+a+developer+reference%2C+and+a+full+end-to-end+JSON+walk-through.\u0026amp;theme=9394e69de84003f3f01b8430\u0026amp;signature=d37f566f0bab3be51d48776e5149111d9d83349089b0b28d32064d1d83dc2c03\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/edisglobal-b1e34a56/Iiv34ZbanuSt5_oa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"EDIS Global Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F96002\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.edisglobal.com/order-api-reference/order-api\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/order-api-reference/order-api.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.edisglobal.com/#organization\",\"name\":\"EDIS Global Docs\",\"url\":\"https://docs.edisglobal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/edisglobal-b1e34a56/xtiEDsTPL8Ph089M/logo/light.svg?fit=max\u0026auto=format\u0026n=xtiEDsTPL8Ph089M\u0026q=85\u0026s=5e8f0b38c95369976ff43eed9ab906bf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.edisglobal.com#website\",\"name\":\"EDIS Global Docs\",\"url\":\"https://docs.edisglobal.com\",\"publisher\":{\"@id\":\"https://docs.edisglobal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.edisglobal.com/order-api-reference/order-api#webpage\",\"url\":\"https://docs.edisglobal.com/order-api-reference/order-api\",\"name\":\"Order a VPS with the EDIS Global API (complete guide)\",\"description\":\"Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.\",\"dateModified\":\"2026-10-28T17:26:52.000Z\",\"isPartOf\":{\"@id\":\"https://docs.edisglobal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.edisglobal.com/order-api-reference/order-api#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.edisglobal.com/order-api-reference/order-api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Order-API\",\"item\":\"https://docs.edisglobal.com/order-api-reference/order-api-welcome\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Order a VPS with the EDIS Global API (complete guide)\",\"item\":\"https://docs.edisglobal.com/order-api-reference/order-api\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.edisglobal.com/order-api-reference/order-api#article\",\"headline\":\"Order a VPS with the EDIS Global API (complete guide)\",\"name\":\"Order a VPS with the EDIS Global API (complete guide)\",\"description\":\"Order an EDIS Global VPS via the Order API with worked examples: a simple beginner guide, a developer reference, and a full end-to-end JSON walk-through.\",\"url\":\"https://docs.edisglobal.com/order-api-reference/order-api\",\"mainEntityOfPage\":{\"@id\":\"https://docs.edisglobal.com/order-api-reference/order-api#webpage\"},\"dateModified\":\"2026-10-28T17:26:52.000Z\",\"publisher\":{\"@id\":\"https://docs.edisglobal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.edisglobal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"EDIS Global Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"EDIS Global Docs","nav":{"global":{"anchors":[{"anchor":"Explore VPS Hosting Plans \u0026 Locations","icon":"server","href":"https://www.edisglobal.com/vps-hosting"},{"anchor":"Why Our VPS Infrastructure Is Different","icon":"user","href":"https://www.edisglobal.com/why-edis-global"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/everything-vps"}]},{"tab":"Order API Endpoints","groups":[{"group":"Order-API","pages":[{"title":"Order API endpoints for automating VPS provisioning","sidebarTitle":"Order API overview","description":"Reference all Order API endpoints for ordering, configuring, upgrading, and canceling EDIS Global VPS services programmatically over HTTPS with JSON.","href":"/order-api-reference/order-api-welcome"},{"title":"Order a VPS with the EDIS Global API (complete guide)","sidebarTitle":"Order API complete guide","href":"/order-api-reference/order-api"},{"openapi":"post /kvm/v2/add/order","title":"Order VPS","sidebarTitle":"Order VPS","description":"Place a new VPS order by authenticating with your WHMCS credentials and specifying the order details in JSON format.\n\nFor a complete cURL request with anonymous credential placeholders, read-only discovery steps and a single VPS without paid upgrades, see [KVM SMART in the Netherlands with Debian 13](/order-api-reference/order-api#full-example). The generated `order=\u003cstring>` sample below is a placeholder; replace it with the JSON payload shown in the walkthrough.\n\n> **Live ordering — no test environment**\n>\n> EDIS Global does not provide a sandbox or test environment. Submitting a valid order to this endpoint creates a real VPS order and invoice. If account credit is applied and covers the invoice, provisioning can begin automatically.\n>\n> Setting `\"applycredit\": false` prevents account credit from being used for that order. It does not prevent the order from being created or make the request a test.\n\n### JSON Parameters:\n- **billingcycle**: Specifies the billing cycle, e.g., 'monthly' or 'yearly'.\n- **paymentmethod**: Specifies the payment method, e.g., 'paypal'.\n- **applycredit**: Optional JSON boolean inside the `order` JSON. Omit it or set it to `true` to apply available account credit automatically. Set it explicitly to `false` to prevent account credit from being applied to this order, regardless of the selected payment method.\n- **item**: An array of product configurations:\n - **pid**: Product ID.\n - **os**: Operating System ID.\n - **hostname**: Hostname for the VPS.\n - **additional_ram**: Additional RAM requested (optional).\n - **additional_vcpu**: Additional vCPU requested (optional).\n - **additional_ip**: Additional IPs requested (optional).\n - **additional_diskboost**: Additional disk boost requested (optional).\n - **ssh_pubkey**: Public SSH key for access.\n\n### Account credit behavior\n\n| `applycredit` | Behavior |\n| --- | --- |\n| Omitted | Available account credit is applied automatically. |\n| `true` | Available account credit is applied. |\n| `false` | Account credit is not applied to this order. |\n\n### **Response Behavior:**\n\n`invoicepaid` reports whether the invoice has been paid. Order creation and payment are separate outcomes.\n\n- If `applycredit` is omitted or set to `true`, available account credit is applied automatically. If it covers the invoice, the response includes:\n ```json\n { \"invoicepaid\": true }\n ```\n- If the invoice has not been paid, the response includes:\n ```json\n { \"invoicepaid\": false }\n ```\n The invoice may remain unpaid because account credit was explicitly disabled or because available credit did not cover it. The `invoicepaid` flag alone does not mean the order failed; check `status` and the returned order and invoice IDs as well.\n\n**Example JSON (automatic credit by default):**\n\nThis example omits `applycredit`. Available account credit will therefore be applied automatically.\n\n```json\n{\n \"billingcycle\": \"monthly\",\n \"paymentmethod\": \"paypal\",\n \"item\": [\n {\n \"pid\": 1814,\n \"os\": 92,\n \"hostname\": \"kvmtest\",\n \"additional_ram\": 467,\n \"additional_vcpu\": 467,\n \"additional_ip\": 467,\n \"additional_diskboost\": 615,\n \"ssh_pubkey\": \"ssh-rsa. ...\"\n },\n {\n \"pid\": 1814,\n \"os\": 88,\n \"hostname\": \"kvmtest2\",\n \"additional_ram\": \"\",\n \"additional_vcpu\": \"\",\n \"additional_ip\": \"\",\n \"additional_driveboost\": \"\",\n \"ssh_pubkey\": \"ssh-rsa. ...\"\n }\n ]\n}\n```\n\n⚠️ **Note:**\nIf you receive a response like `\"status\": \"failed\"` along with an `orderid`, it may indicate that the VPS could not be provisioned due to the product being **out of stock** in the selected location.\n\n**Example Failed Response:**\n```json\n{\n \"status\": \"failed\",\n \"orderid\": 241158\n}\n```","href":"/order-api-reference/order-vps"},{"openapi":"post /kvm/v2/add/upgrade","title":"Upgrade VPS","sidebarTitle":"Upgrade VPS","href":"/order-api-reference/upgrade-vps"},{"openapi":"post /kvm/v2/get/products","title":"Look up available VPS plans","sidebarTitle":"Get VPS plans","href":"/order-api-reference/get-vps-plans"},{"openapi":"post /kvm/v2/get/locations","title":"Look up available VPS locations","sidebarTitle":"Get VPS locations","href":"/order-api-reference/get-vps-locations"},{"openapi":"post /kvm/v2/get/billingcycles","title":"Look up available billing cycles","sidebarTitle":"Get billing cycles","href":"/order-api-reference/get-billing-cycles"},{"openapi":"post /kvm/v2/get/services","title":"Get services","sidebarTitle":"Get services","href":"/order-api-reference/get-services"},{"openapi":"post /kvm/v2/get/paymentmethods","title":"Look up available payment methods","sidebarTitle":"Get payment methods","href":"/order-api-reference/get-payment-options"},{"openapi":"post /kvm/v2/get/account-balance","title":"Check the account balance","sidebarTitle":"Get account balance","href":"/order-api-reference/get-accountbalance"},{"openapi":"post /kvm/v2/get/serviceid","title":"Look up service ID from KVM_ID","sidebarTitle":"Get service ID","href":"/order-api-reference/get-service-id"},{"openapi":"post /kvm/v2/get/kvmid","title":"Look up KVM_ID from service ID","sidebarTitle":"Get KVM_ID","href":"/order-api-reference/get-kvm-id"},{"openapi":"post /kvm/v2/cancel/product","title":"Cancel VPS","sidebarTitle":"Cancel VPS","href":"/order-api-reference/cancel-vps"}]}]},{"tab":"Management API Endpoints","pages":[{"title":"Management API Endpoints","href":"/management-api"}]},{"tab":"Looking Glass API","pages":[{"title":"Looking Glass API","href":"/looking-glass-api/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/product"}]}]},"basePath":"","title":"Order a VPS with the EDIS Global API (complete guide) - EDIS Global Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}