Get Invoice
curl --request GET \
--url https://api.sellauth.com/v1/reseller/invoices/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sellauth.com/v1/reseller/invoices/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sellauth.com/v1/reseller/invoices/{id}', 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.sellauth.com/v1/reseller/invoices/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.sellauth.com/v1/reseller/invoices/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.sellauth.com/v1/reseller/invoices/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sellauth.com/v1/reseller/invoices/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": 2,
"unique_id": "9f2b3c4d5e6f7",
"status": "completed",
"fulfillment_status": null,
"currency": "USD",
"total": 9,
"total_usd": 9,
"source": "api",
"url": "https://pay.sellauth.com/invoice/9f2b3c4d5e6f7",
"created_at": "2026-07-23T12:00:00.000000Z",
"completed_at": "2026-07-23T12:00:01.000000Z",
"items": [
{
"product_id": 1,
"product_name": "Example Product",
"variant_id": 1,
"variant_name": "1 Month",
"quantity": 1,
"status": "completed",
"total_price": 9,
"total_price_usd": 9,
"reseller_discount": 1,
"delivered": [
"EXAMPLE-KEY-1"
]
}
]
}{
"message": "No query results."
}Invoices
Get Invoice
A reseller invoice with its delivery (keys / deliverables per item). Accepts either the numeric invoice ID or the unique_id. source is api, dynamic or dashboard (ordered from the shop’s customer panel).
GET
/
v1
/
reseller
/
invoices
/
{id}
Get Invoice
curl --request GET \
--url https://api.sellauth.com/v1/reseller/invoices/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sellauth.com/v1/reseller/invoices/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sellauth.com/v1/reseller/invoices/{id}', 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.sellauth.com/v1/reseller/invoices/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.sellauth.com/v1/reseller/invoices/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.sellauth.com/v1/reseller/invoices/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sellauth.com/v1/reseller/invoices/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": 2,
"unique_id": "9f2b3c4d5e6f7",
"status": "completed",
"fulfillment_status": null,
"currency": "USD",
"total": 9,
"total_usd": 9,
"source": "api",
"url": "https://pay.sellauth.com/invoice/9f2b3c4d5e6f7",
"created_at": "2026-07-23T12:00:00.000000Z",
"completed_at": "2026-07-23T12:00:01.000000Z",
"items": [
{
"product_id": 1,
"product_name": "Example Product",
"variant_id": 1,
"variant_name": "1 Month",
"quantity": 1,
"status": "completed",
"total_price": 9,
"total_price_usd": 9,
"reseller_discount": 1,
"delivered": [
"EXAMPLE-KEY-1"
]
}
]
}{
"message": "No query results."
}Authorizations
Authenticate with your reseller API key, generated on the shop's customer panel under Reseller and sent as a Bearer token. Seller dashboard API keys will not work here.
Path Parameters
The invoice ID (numeric) or unique_id.
Response
Example:
2
Example:
"9f2b3c4d5e6f7"
Example:
"completed"
Example:
null
Example:
"USD"
Example:
9
Example:
9
Example:
"api"
Example:
"https://pay.sellauth.com/invoice/9f2b3c4d5e6f7"
Example:
"2026-07-23T12:00:00.000000Z"
Example:
"2026-07-23T12:00:01.000000Z"
Show child attributes
Show child attributes
Example:
[
{
"product_id": 1,
"product_name": "Example Product",
"variant_id": 1,
"variant_name": "1 Month",
"quantity": 1,
"status": "completed",
"total_price": 9,
"total_price_usd": 9,
"reseller_discount": 1,
"delivered": ["EXAMPLE-KEY-1"]
}
]