Calculate the order

This request helps you calculate the price of an order.

The proxy identifiers change after manual or automatic renewals

Endpoint:

POST https://proxy-seller.com/personal/api/v1/{YourApiKey}/order/calc

Example

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/order/calc

Path parameters

NameValueDescription

Authorization

<Your_API_Key>

Your personal API key (how to get)

Request body

NameTypeDescription

countryId

Number

ID of the country you selected in the /reference/list/{type} request

periodId

String

ID of the period you selected in the /reference/list/{type} request

coupon

String

The coupon code, if available

paymentId

Number

IDs of the payment system. '1' for balance, '43' for the card added to your account

quantity

Number

The number of proxies you want to order

authorization

String

The method of authorization. Leave blank if you want to use username and password for authorization

customTargetName

String

If you want to add a custom goal

Response

{
    "status": "success",
    "data": {
        "warning": "",
        "balance": 2000,
        "total": 9,
        "quantity": 5,
        "currency": "USD",
        "discount": 0.45,
        "price": 1.8
    },
    "errors": []
}

Last updated