Read partner revenue ledger with deterministic pagination
curl --request GET \
--url https://api-staging.cashweb.cash/api/v1/partner/revenue \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api-staging.cashweb.cash/api/v1/partner/revenue"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api-staging.cashweb.cash/api/v1/partner/revenue', 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-staging.cashweb.cash/api/v1/partner/revenue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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-staging.cashweb.cash/api/v1/partner/revenue"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
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-staging.cashweb.cash/api/v1/partner/revenue")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.cashweb.cash/api/v1/partner/revenue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"data": [
{
"amount": "161500.00",
"crypto_amount": "100.00",
"crypto_currency": "usdt",
"merchant_id": "mrc_001",
"merchant_reference": "order-4551",
"network": "trc20",
"platform_fee": "100.00",
"share": "50.00",
"terminal_id": "term_01",
"transaction_id": "01917f00-7b4c-7f56-8a2b-15998d58c9f3",
"ts": "2026-02-12T12:05:00Z"
}
],
"has_more": false,
"limit": 20,
"next_cursor": null,
"summary": {
"from": "2026-02-01T00:00:00Z",
"to": "2026-02-12T23:59:59Z",
"total_partner_share": "50.00",
"transaction_count": 1
}
},
"success": true
}{
"error": {
"code": "BAD_REQUEST",
"message": "time window cannot exceed 90 days",
"timestamp": "2026-02-12T12:00:00Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Partner API
Read partner revenue ledger with deterministic pagination
Returns partner-scoped revenue rows for reconciliation and reporting. Use from/to windows and cursor pagination for deterministic backfills. Optionally request summary totals with include_summary=true.
GET
/
partner
/
revenue
Read partner revenue ledger with deterministic pagination
curl --request GET \
--url https://api-staging.cashweb.cash/api/v1/partner/revenue \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api-staging.cashweb.cash/api/v1/partner/revenue"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api-staging.cashweb.cash/api/v1/partner/revenue', 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-staging.cashweb.cash/api/v1/partner/revenue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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-staging.cashweb.cash/api/v1/partner/revenue"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
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-staging.cashweb.cash/api/v1/partner/revenue")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.cashweb.cash/api/v1/partner/revenue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"data": [
{
"amount": "161500.00",
"crypto_amount": "100.00",
"crypto_currency": "usdt",
"merchant_id": "mrc_001",
"merchant_reference": "order-4551",
"network": "trc20",
"platform_fee": "100.00",
"share": "50.00",
"terminal_id": "term_01",
"transaction_id": "01917f00-7b4c-7f56-8a2b-15998d58c9f3",
"ts": "2026-02-12T12:05:00Z"
}
],
"has_more": false,
"limit": 20,
"next_cursor": null,
"summary": {
"from": "2026-02-01T00:00:00Z",
"to": "2026-02-12T23:59:59Z",
"total_partner_share": "50.00",
"transaction_count": 1
}
},
"success": true
}{
"error": {
"code": "BAD_REQUEST",
"message": "time window cannot exceed 90 days",
"timestamp": "2026-02-12T12:00:00Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
Query Parameters
Inclusive start time in RFC3339.
Inclusive end time in RFC3339.
Optional token filter.
Optional network filter.
Include aggregate totals for the selected window.
Opaque cursor returned by the previous response.
Requested page size.
Required range:
1 <= x <= 100Response
Revenue ledger retrieved
Standard API response wrapper for all successful responses