Order payment
Using API you can make a new order or extend the old one.
You can get the link to pay with your card or crypto wallet or make automatic payment using API balance which can be replanished in personal account.
API balance replenishment: https://proxy-solutions.net/lk/api . To pay through API balance balanceis to be passed  in merchant field.
The request allows you to pay for a new order or extend an existing one.
10000Payment system code
freekassaPayment period in days. If not specified, the current order period will be used.
60Payment system currency code
RUBPromocode
PSPromoOK
Unauthorized
Order not found
Validation error
POST /api/user/orders/{order_id}/charge HTTP/1.1
Host: proxy-solutions.net
Content-Type: application/json
Accept: */*
Content-Length: 75
{
  "merchant": "freekassa",
  "period": 60,
  "currency": "RUB",
  "promocode": "PSPromo"
}{
  "payment": {
    "discount": 10,
    "merchant": "freekassa",
    "payer_currency": "RUB",
    "payer_amount": 90,
    "url": "https://pay.freekassa.ru?m=545&oa=250.00¤cy=RUB&o=53951&s=9e9607935d6c6567f731118931070455"
  }
}Available payment methods reception 
The request returns a list of currently available payment methods. Each payment method has its own supported currencies.
OK
GET /api/merchants HTTP/1.1
Host: proxy-solutions.net
Accept: */*
OK
{
  "merchants": [
    {
      "code": "interkassa",
      "name": "Interkassa",
      "currencies": [
        "UAH",
        "USD",
        "EUR"
      ]
    }
  ]
}Order cost calculations
Calculation of the cost of an order with specified parameters and the amount to be paid. If a valid promocode is specified, the corresponding discount will be applied.
4Language code
ENPossible values: Location (if the tariff requires)
8Number of addresses/channels
1Period in days
30Allow the client to change equipment (only for mobile proxies)
truePromocode
vk-top10Merchant code
freekassaCurrency code
RUBOK
Service not found
Validation error
POST /api/services/{service_id}/price HTTP/1.1
Host: proxy-solutions.net
Content-Type: application/json
Accept: */*
Content-Length: 122
{
  "location_id": 8,
  "quantity": 1,
  "period": 30,
  "multiport": true,
  "promocode": "vk-top10",
  "merchant": "freekassa",
  "currency": "RUB"
}{
  "lang": "EN",
  "discount": 10,
  "amount": 1.81,
  "converted_amount": 100,
  "merchant": "freekassa",
  "payer_amount": 90,
  "payer_currency": "RUB"
}Order extension
You can always extend your order making payment for the needed extending period through Order payment .
If the orders validity period has already expired you can also change proxies quantity in it through Order changes.
Last updated