Skip to main content
PUT
/
v1
/
lines
/
simulate
/
extend
Simulate Extension Cost
curl --request PUT \
  --url https://api.reselliptv.com/v1/lines/simulate/extend \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "duration": "12",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "username": "<string>"
}
'
{
  "cost": 25
}

Authorizations

x-api-key
string
header
required

API Key

Body

application/json
duration
enum<string>
required

The duration of the line in months. Valid values are '1', '3', '6', or '12'.

Available options:
1,
3,
6,
12
Example:

"12"

id
string<uuid>

The ID of the line. Either the ID or the username is required to run this request.

username
string

The username of the line.

Response

Ok: Return extension cost

cost
number
required
Example:

25