Skip to main content
POST
/
vpn
/
servers
/
create
Create VPN server
curl --request POST \
  --url https://demo.onlinebillingform.com/api/v2/vpn/servers/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "country_id": 123,
  "server_name": "<string>",
  "ip_address": "127.0.0.1",
  "ssh_port": 123,
  "ssh_username": "<string>",
  "ssh_password": "<string>",
  "max_connection": 123,
  "vpn_type": 123,
  "vpn_port": "<string>",
  "vpn_custom_port": "<string>",
  "vpn_protocol": "<string>"
}
'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://www.billingserv.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <live_api_key>.

Body

country_id
integer
required
server_name
string
required
ip_address
string<ipv4>
required
ssh_port
integer
required
ssh_username
string
required
ssh_password
string<password>
required
max_connection
integer
required
vpn_type
integer
required

1=OpenVPN, 2=WireGuard, 3=IKEv2, 4=other

vpn_port
string

default, random, or custom

vpn_custom_port
string
vpn_protocol
string

udp or tcp

Response

OK

success
boolean