List Orders
curl --request GET \
--url https://api.vertracloud.app/v1/ordersimport requests
url = "https://api.vertracloud.app/v1/orders"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vertracloud.app/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/orders"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vertracloud.app/v1/orders")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vertracloud.app/v1/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"response": [
{
"id": "order-abc123",
"status": "paid",
"price": 24.9,
"provider": "pix",
"type": "purchase",
"related_to": { "plan": { "name": "PRO", "duration": 1, "months": 1 } },
"created_at": "2026-08-01T12:00:00.000Z",
"paid_at": "2026-08-01T12:05:00.000Z"
}
]
}
Billing
List Orders
Lists the authenticated user’s orders (plan purchases, renewals and upgrades).
GET
/
v1
/
orders
List Orders
curl --request GET \
--url https://api.vertracloud.app/v1/ordersimport requests
url = "https://api.vertracloud.app/v1/orders"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vertracloud.app/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/orders"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vertracloud.app/v1/orders")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vertracloud.app/v1/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"response": [
{
"id": "order-abc123",
"status": "paid",
"price": 24.9,
"provider": "pix",
"type": "purchase",
"related_to": { "plan": { "name": "PRO", "duration": 1, "months": 1 } },
"created_at": "2026-08-01T12:00:00.000Z",
"paid_at": "2026-08-01T12:05:00.000Z"
}
]
}
string
Filters by payment method. Possible values:
pix, redeem_code.Response
array
An array of orders, most recent first.
Show Toggle object
Show Toggle object
string
The order ID.
string
Order status. Possible values:
unpaid, paid, cancelled, expired.number
The final price charged, after any coupon discount.
string
How the order was or will be paid. Possible values:
pix, redeem_code.string
What the order is for. Possible values:
purchase, renew, upgrade.object
string
When the order was created.
string | null
When the order was paid, or
null if it hasn’t been paid yet.{
"response": [
{
"id": "order-abc123",
"status": "paid",
"price": 24.9,
"provider": "pix",
"type": "purchase",
"related_to": { "plan": { "name": "PRO", "duration": 1, "months": 1 } },
"created_at": "2026-08-01T12:00:00.000Z",
"paid_at": "2026-08-01T12:05:00.000Z"
}
]
}
Error Responses
string
The error code indicating the reason for failure. Possible values:
UNAUTHORIZED: The user is not authenticated.USER_NOT_FOUND: The authenticated user was not found.INTERNAL_SERVER_ERROR: An unexpected server error occurred.
{
"code": "UNAUTHORIZED"
}