curl --request GET \
--url https://sandbox.catchbackcards.com/api/partner/v2/customers/{customer}/shipments \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.catchbackcards.com/api/partner/v2/customers/{customer}/shipments"
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/customers/{customer}/shipments', 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/customers/{customer}/shipments",
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/customers/{customer}/shipments"
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/customers/{customer}/shipments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.catchbackcards.com/api/partner/v2/customers/{customer}/shipments")
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{
"customer": "user-1842",
"shipments": [
{
"id": "80ba23e1-58ae-45d1-ba15-f88fdea1fb52",
"status": "shipped",
"card_ids": [
"838a5e7f-dc62-4618-ad4a-cf015de20536"
],
"carrier": "USPS",
"service": "Ground Advantage",
"service_token": "r_9f3c",
"cost": 13.49,
"cover_amount": null,
"insurance_cost": 0,
"destination_country": "US",
"tracking_number": "9400111899223344556677",
"tracking_url": "https://tools.usps.com/go/TrackConfirmAction?tRef=fullpage&tLc=2&text28777=&tLabels=9400111899223344556677",
"created_at": "2026-11-24T18:20:02.114Z",
"status_updated_at": "2026-11-25T15:02:40.000Z",
"shipped_at": "2026-11-25T15:02:40.000Z",
"expected_delivery": "2026-11-28",
"delivered_at": null
}
]
}{
"error": "This program pays through customer wallets: read GET /wallets/{address}/tokens",
"code": "NOT_PARTNER_SETTLED"
}{
"error": "Missing or malformed API key"
}{
"error": "This partner program is not live",
"code": "PROGRAM_INACTIVE"
}{
"error": "No customer with that id has bought from this program.",
"code": "CUSTOMER_NOT_FOUND"
}{
"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."
}List a customer's shipments
non-crypto programs only. Non-crypto model.
The customer’s latest 100 shipments, newest first, each with its status and tracking. Never the address.
curl --request GET \
--url https://sandbox.catchbackcards.com/api/partner/v2/customers/{customer}/shipments \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.catchbackcards.com/api/partner/v2/customers/{customer}/shipments"
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/customers/{customer}/shipments', 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/customers/{customer}/shipments",
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/customers/{customer}/shipments"
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/customers/{customer}/shipments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.catchbackcards.com/api/partner/v2/customers/{customer}/shipments")
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{
"customer": "user-1842",
"shipments": [
{
"id": "80ba23e1-58ae-45d1-ba15-f88fdea1fb52",
"status": "shipped",
"card_ids": [
"838a5e7f-dc62-4618-ad4a-cf015de20536"
],
"carrier": "USPS",
"service": "Ground Advantage",
"service_token": "r_9f3c",
"cost": 13.49,
"cover_amount": null,
"insurance_cost": 0,
"destination_country": "US",
"tracking_number": "9400111899223344556677",
"tracking_url": "https://tools.usps.com/go/TrackConfirmAction?tRef=fullpage&tLc=2&text28777=&tLabels=9400111899223344556677",
"created_at": "2026-11-24T18:20:02.114Z",
"status_updated_at": "2026-11-25T15:02:40.000Z",
"shipped_at": "2026-11-25T15:02:40.000Z",
"expected_delivery": "2026-11-28",
"delivered_at": null
}
]
}{
"error": "This program pays through customer wallets: read GET /wallets/{address}/tokens",
"code": "NOT_PARTNER_SETTLED"
}{
"error": "Missing or malformed API key"
}{
"error": "This partner program is not live",
"code": "PROGRAM_INACTIVE"
}{
"error": "No customer with that id has bought from this program.",
"code": "CUSTOMER_NOT_FOUND"
}{
"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.
Path Parameters
Your own id for the customer, as you sent it as customer on Create an order. 1-128 characters of A-Za-z0-9_.:-, not dots alone; never personal data. Case-sensitive.
Your own id for a customer on a non-crypto program, 1-128 characters of A-Za-z0-9_.:-, not dots alone. Use something stable that is not personal data (your internal user id, never an email address or phone number). Ids are yours alone. Leading and trailing spaces are trimmed, and ids are case-sensitive (User-1 and user-1 are two customers).
^(?!\.+$)[A-Za-z0-9_.:-]{1,128}$"user-1842"

