Pay Reseller Order
curl --request POST \
--url https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"quoted_total_usd": 225
}
'import requests
url = "https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay"
payload = { "quoted_total_usd": 225 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({quoted_total_usd: 225})
};
fetch('https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay', 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/customer-dashboard/reseller/orders/{unique_id}/pay",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'quoted_total_usd' => 225
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay"
payload := strings.NewReader("{\n \"quoted_total_usd\": 225\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"quoted_total_usd\": 225\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"quoted_total_usd\": 225\n}"
response = http.request(request)
puts response.read_body{
"id": 2,
"unique_id": "9f2b3c4d5e6f7",
"status": "completed",
"fulfillment_status": null,
"currency": "USD",
"total": 225,
"total_usd": 225,
"source": "dashboard",
"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": 123,
"product_name": "Example Product",
"variant_id": 456,
"variant_name": "1 Month",
"quantity": 25,
"status": "completed",
"total_price": 225,
"total_price_usd": 225,
"reseller_discount": 25,
"delivered": [
"EXAMPLE-KEY-1",
"EXAMPLE-KEY-2"
]
}
]
}{
"message": "Insufficient reseller balance: order total is $225.00 USD but your balance is $10.00 USD. Top up your balance and try again."
}{
"message": "You are not an approved reseller."
}{
"message": "No query results."
}{
"message": "The total changed since it was shown to you. Review the new total and try again."
}{
"message": "This quote has expired. Request a new one."
}Reseller
Pay Reseller Order
Charges a quoted order to your balance and delivers it. Serial and dynamic deliverables are returned synchronously in items[].delivered. quoted_total_usd must match the quote’s price_usd, so a total that moved in between fails instead of overcharging.
POST
/
v1
/
customer-dashboard
/
reseller
/
orders
/
{unique_id}
/
pay
Pay Reseller Order
curl --request POST \
--url https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"quoted_total_usd": 225
}
'import requests
url = "https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay"
payload = { "quoted_total_usd": 225 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({quoted_total_usd: 225})
};
fetch('https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay', 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/customer-dashboard/reseller/orders/{unique_id}/pay",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'quoted_total_usd' => 225
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay"
payload := strings.NewReader("{\n \"quoted_total_usd\": 225\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"quoted_total_usd\": 225\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sellauth.com/v1/customer-dashboard/reseller/orders/{unique_id}/pay")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"quoted_total_usd\": 225\n}"
response = http.request(request)
puts response.read_body{
"id": 2,
"unique_id": "9f2b3c4d5e6f7",
"status": "completed",
"fulfillment_status": null,
"currency": "USD",
"total": 225,
"total_usd": 225,
"source": "dashboard",
"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": 123,
"product_name": "Example Product",
"variant_id": 456,
"variant_name": "1 Month",
"quantity": 25,
"status": "completed",
"total_price": 225,
"total_price_usd": 225,
"reseller_discount": 25,
"delivered": [
"EXAMPLE-KEY-1",
"EXAMPLE-KEY-2"
]
}
]
}{
"message": "Insufficient reseller balance: order total is $225.00 USD but your balance is $10.00 USD. Top up your balance and try again."
}{
"message": "You are not an approved reseller."
}{
"message": "No query results."
}{
"message": "The total changed since it was shown to you. Review the new total and try again."
}{
"message": "This quote has expired. Request a new one."
}Authorizations
Authenticate with a customer token, minted server-to-server with POST /v1/shops/{shopId}/customers/{customerId}/token and sent as a Bearer token. Reseller API keys are rejected with a 403 here.
Path Parameters
The unique_id returned by the quote.
Body
application/json
The price_usd from the quote.
Example:
225
Response
Example:
2
Example:
"9f2b3c4d5e6f7"
Example:
"completed"
Example:
null
Example:
"USD"
Example:
225
Example:
225
Example:
"dashboard"
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": 123,
"product_name": "Example Product",
"variant_id": 456,
"variant_name": "1 Month",
"quantity": 25,
"status": "completed",
"total_price": 225,
"total_price_usd": 225,
"reseller_discount": 25,
"delivered": ["EXAMPLE-KEY-1", "EXAMPLE-KEY-2"]
}
]