curl --request GET \
--url https://sandbox.catchbackcards.com/api/partner/v2/settlement \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.catchbackcards.com/api/partner/v2/settlement"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.catchbackcards.com/api/partner/v2/settlement', 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://sandbox.catchbackcards.com/api/partner/v2/settlement",
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://sandbox.catchbackcards.com/api/partner/v2/settlement"
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://sandbox.catchbackcards.com/api/partner/v2/settlement")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.catchbackcards.com/api/partner/v2/settlement")
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{
"owed": 236.65,
"credit_limit": 10000,
"available": 9763.35,
"customer_daily_limit": 500,
"daily_limit": null,
"period": {
"month": "2026-11",
"from": "2026-11-01T00:00:00.000Z",
"to": "2026-12-01T00:00:00.000Z",
"opening_balance": 0,
"closing_balance": 236.65,
"totals": {
"order": {
"amount": 250,
"entries": 10
},
"sellback": {
"amount": -31,
"entries": 1
},
"shipping": {
"amount": 29.63,
"entries": 2
}
}
},
"entries": [
{
"id": "4f6a2b1c-3d5e-4f70-8a9b-0c1d2e3f4a5b",
"kind": "shipping",
"amount": 13.49,
"created_at": "2026-11-24T18:20:02.301Z",
"customer": "user-1842",
"order_id": null,
"shipment_id": "80ba23e1-58ae-45d1-ba15-f88fdea1fb52"
},
{
"id": "2e8c4d6f-1a3b-4c5d-9e7f-8a9b0c1d2e3f",
"kind": "sellback",
"amount": -31,
"created_at": "2026-11-24T18:11:40.902Z",
"customer": "user-1842",
"order_id": null,
"card_id": "838a5e7f-dc62-4618-ad4a-cf015de20536",
"sellback_id": "5b1e2c3d-4f5a-4b6c-8d7e-9f0a1b2c3d4e"
},
{
"id": "7a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"kind": "order",
"amount": 25,
"created_at": "2026-11-24T18:02:10.884Z",
"customer": "user-1842",
"order_id": "9c4e1a7b-2d3f-4e5a-8b6c-0d1e2f3a4b5c"
}
],
"next_cursor": null
}{
"error": "period must be a month as YYYY-MM",
"code": "BAD_PERIOD"
}{
"error": "Missing or malformed API key"
}{
"error": "This partner program is not live",
"code": "PROGRAM_INACTIVE"
}{
"error": "Too many requests. Slow down.",
"code": "RATE_LIMITED",
"retry_after_seconds": 23
}{
"error": "Something went wrong. Retrying is safe: send the same Idempotency-Key if the request had one."
}{
"error": "Could not load the partner program; try again."
}Get your statement
non-crypto programs only. Non-crypto model.
What you owe now against your credit limit, your daily limits, and one UTC month of your statement (period, the current month by default): what was owed at its start and end, a total per kind, and its entries, newest first, each naming the customer by your own id. A positive amount adds to what you owe; a negative one takes from it. Page the entries with limit and cursor. Your revenue share is netted on the statement.
curl --request GET \
--url https://sandbox.catchbackcards.com/api/partner/v2/settlement \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.catchbackcards.com/api/partner/v2/settlement"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.catchbackcards.com/api/partner/v2/settlement', 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://sandbox.catchbackcards.com/api/partner/v2/settlement",
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://sandbox.catchbackcards.com/api/partner/v2/settlement"
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://sandbox.catchbackcards.com/api/partner/v2/settlement")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.catchbackcards.com/api/partner/v2/settlement")
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{
"owed": 236.65,
"credit_limit": 10000,
"available": 9763.35,
"customer_daily_limit": 500,
"daily_limit": null,
"period": {
"month": "2026-11",
"from": "2026-11-01T00:00:00.000Z",
"to": "2026-12-01T00:00:00.000Z",
"opening_balance": 0,
"closing_balance": 236.65,
"totals": {
"order": {
"amount": 250,
"entries": 10
},
"sellback": {
"amount": -31,
"entries": 1
},
"shipping": {
"amount": 29.63,
"entries": 2
}
}
},
"entries": [
{
"id": "4f6a2b1c-3d5e-4f70-8a9b-0c1d2e3f4a5b",
"kind": "shipping",
"amount": 13.49,
"created_at": "2026-11-24T18:20:02.301Z",
"customer": "user-1842",
"order_id": null,
"shipment_id": "80ba23e1-58ae-45d1-ba15-f88fdea1fb52"
},
{
"id": "2e8c4d6f-1a3b-4c5d-9e7f-8a9b0c1d2e3f",
"kind": "sellback",
"amount": -31,
"created_at": "2026-11-24T18:11:40.902Z",
"customer": "user-1842",
"order_id": null,
"card_id": "838a5e7f-dc62-4618-ad4a-cf015de20536",
"sellback_id": "5b1e2c3d-4f5a-4b6c-8d7e-9f0a1b2c3d4e"
},
{
"id": "7a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"kind": "order",
"amount": 25,
"created_at": "2026-11-24T18:02:10.884Z",
"customer": "user-1842",
"order_id": "9c4e1a7b-2d3f-4e5a-8b6c-0d1e2f3a4b5c"
}
],
"next_cursor": null
}{
"error": "period must be a month as YYYY-MM",
"code": "BAD_PERIOD"
}{
"error": "Missing or malformed API key"
}{
"error": "This partner program is not live",
"code": "PROGRAM_INACTIVE"
}{
"error": "Too many requests. Slow down.",
"code": "RATE_LIMITED",
"retry_after_seconds": 23
}{
"error": "Something went wrong. Retrying is safe: send the same Idempotency-Key if the request had one."
}{
"error": "Could not load the partner program; try again."
}Authorizations
Your API key, sent as a bearer token, with the scope nft:orders. A production key starts cb_live_ and works only at https://catchbackcards.com; a sandbox key starts cb_test_ and works only at https://sandbox.catchbackcards.com (production refuses one with 401 SANDBOX_KEY). Keep it on your servers: never in a browser, app or wallet. Use a separate key per environment. A request from a country on our sanctions list gets a 403 with Access denied, whether or not it has a valid key. See Authentication and keys.
Query Parameters
Response
The statement.

