Purchase support plan
POST
https://api.vpsbg.eu/v1/supportThis endpoint will create a new order for the selected support plan. After payment, the support plan will be activated.
Request
Body Params application/json
billing_cycle
integer
required
Can be: 1, 3, 6, 12, 24 months.
>= 1<= 24
Example:
3
plan
string
required
Plan key of the desired support plan.
Example
{
"billing_cycle": 1,
"plan": "professional"
}
Request samples
Responses
Created(201)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
id
integer
required
Example:
200158
status
string
required
Examples:
pending_paymentprocessingcancelledpaid
tax_rate
number
required
Example:
1.2
amount
number
required
Amount without VAT adjustments.
Example:
15
amount_with_vat
number
required
Amount adjusted for your VAT when applicable.
Example:
18
amount_from_balance
number
required
Amount withdrawn from balance once paid.
Example:
0
type
string
required
Examples:
renew upgradedepositnew serviceother
created_at
string
required
Example:
2024-09-25T18:34:33.000000Z
due_at
string
required
Example:
2024-10-25T18:34:33.000000Z
payment_date
string
required
Example:
2024-11-25T18:34:33.000000Z
invoices
array [object {7}]
required
id
integer
required
Example:
8552
invoice_number
string
required
Example:
0000007513
created_at
string
required
Example:
2024-09-24T21:00:00.000000Z
amount
number
required
Amount without VAT adjustments.
Example:
15
amount_with_vat
number
required
Amount adjusted for your VAT when applicable.
Example:
18
type
string
required
Example:
proform
order_ids
array[integer]
required
services
array [object {10}]
required
label
string
required
Name of your service with purchase period dates.
Example:
Renewal: Floating IP(s) (16 October 2024 - 16 January 2025)
additional_information
string
required
Example:
87.120.37.46
price
number
required
Total service price without VAT adjustments.
Example:
7.5
price_with_vat
number
required
Total service price adjusted for your VAT when applicable.
Example:
9
quantity
integer
required
id
integer
required
Example:
33123
billing_cycle
integer
required
Example:
1
minimum_billing_cycle
integer
required
Example:
1
plan_category_id
integer
required
Example:
3
promo_code
string
required
Example:
fall2412
Example
Not configured
Last modified: 2 months ago