Devices
Get a Persistent IP purchase's outcome
pending while it runs; ordered with the new IP’s proxyId;
not_charged (nothing was charged, with error and message); or
refused / busy / needs_review: the IP was not bought and the
charge was reversed (reversed).
GET
/
v1
/
internet
/
persistent-ips
/
operations
/
{operationId}
Get a Persistent IP purchase's outcome
curl --request GET \
--url https://api.lusor.ai/v1/internet/persistent-ips/operations/{operationId} \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/internet/persistent-ips/operations/{operationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/internet/persistent-ips/operations/{operationId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"outcome": "pending",
"proxyId": "<string>",
"error": "<string>",
"message": "<string>",
"reversed": true
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
ApiKeyBearerAuth
Path Parameters
Query Parameters
Was this page helpful?
⌘I
Get a Persistent IP purchase's outcome
curl --request GET \
--url https://api.lusor.ai/v1/internet/persistent-ips/operations/{operationId} \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/internet/persistent-ips/operations/{operationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/internet/persistent-ips/operations/{operationId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"outcome": "pending",
"proxyId": "<string>",
"error": "<string>",
"message": "<string>",
"reversed": true
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
