curl --request POST \
--url https://catchbackcards.com/api/partner/v2/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://partner.example.com/catchback/webhooks"
}
'import requests
url = "https://catchbackcards.com/api/partner/v2/webhooks"
payload = { "url": "https://partner.example.com/catchback/webhooks" }
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({url: 'https://partner.example.com/catchback/webhooks'})
};
fetch('https://catchbackcards.com/api/partner/v2/webhooks', 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://catchbackcards.com/api/partner/v2/webhooks",
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([
'url' => 'https://partner.example.com/catchback/webhooks'
]),
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://catchbackcards.com/api/partner/v2/webhooks"
payload := strings.NewReader("{\n \"url\": \"https://partner.example.com/catchback/webhooks\"\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://catchbackcards.com/api/partner/v2/webhooks")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://partner.example.com/catchback/webhooks\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://catchbackcards.com/api/partner/v2/webhooks")
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 \"url\": \"https://partner.example.com/catchback/webhooks\"\n}"
response = http.request(request)
puts response.read_body{
"webhook": {
"id": "c2f0e8b4-1a7d-4c39-9e55-0b6d3a8f2e17",
"url": "https://partner.example.com/catchback/v2-webhooks",
"enabled": true,
"created_at": "2026-11-17T10:00:00.000Z",
"updated_at": "2026-11-18T08:30:00.000Z"
},
"secret": null
}{
"webhook": {
"id": "c2f0e8b4-1a7d-4c39-9e55-0b6d3a8f2e17",
"url": "https://partner.example.com/catchback/webhooks",
"enabled": true,
"created_at": "2026-11-17T10:00:00.000Z",
"updated_at": "2026-11-17T10:00:00.000Z"
},
"secret": "whsec_3f9a..."
}{
"error": "The webhook URL must use https.",
"code": "INVALID_WEBHOOK_URL"
}{
"error": "Missing or malformed API key"
}{
"error": "This partner program is not live",
"code": "PROGRAM_INACTIVE"
}{
"error": "This key has been rotated; register the webhook with the new key.",
"code": "KEY_ROTATED"
}{
"error": "Too many requests. Slow down.",
"code": "RATE_LIMITED",
"retry_after_seconds": 23
}{
"error": "Something went wrong; retry with the same Idempotency-Key."
}{
"error": "Webhooks are not available on this server yet.",
"code": "WEBHOOKS_UNAVAILABLE"
}Register a webhook
One webhook per key. The first call registers it and answers 201 with the signing secret: the secret is shown once; store it. Calling again changes the URL and answers 200 with secret: null (the secret stays the same). To get a new secret, delete the webhook and register again.
The URL must be a public https:// URL on port 443, with a hostname (not an IP address) and no login in it, up to 2048 characters. The sandbox has the same rule. Events: nft_order.updated, sellback.updated, nft_shipment.updated, and ping from Test a webhook.
curl --request POST \
--url https://catchbackcards.com/api/partner/v2/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://partner.example.com/catchback/webhooks"
}
'import requests
url = "https://catchbackcards.com/api/partner/v2/webhooks"
payload = { "url": "https://partner.example.com/catchback/webhooks" }
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({url: 'https://partner.example.com/catchback/webhooks'})
};
fetch('https://catchbackcards.com/api/partner/v2/webhooks', 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://catchbackcards.com/api/partner/v2/webhooks",
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([
'url' => 'https://partner.example.com/catchback/webhooks'
]),
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://catchbackcards.com/api/partner/v2/webhooks"
payload := strings.NewReader("{\n \"url\": \"https://partner.example.com/catchback/webhooks\"\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://catchbackcards.com/api/partner/v2/webhooks")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://partner.example.com/catchback/webhooks\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://catchbackcards.com/api/partner/v2/webhooks")
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 \"url\": \"https://partner.example.com/catchback/webhooks\"\n}"
response = http.request(request)
puts response.read_body{
"webhook": {
"id": "c2f0e8b4-1a7d-4c39-9e55-0b6d3a8f2e17",
"url": "https://partner.example.com/catchback/v2-webhooks",
"enabled": true,
"created_at": "2026-11-17T10:00:00.000Z",
"updated_at": "2026-11-18T08:30:00.000Z"
},
"secret": null
}{
"webhook": {
"id": "c2f0e8b4-1a7d-4c39-9e55-0b6d3a8f2e17",
"url": "https://partner.example.com/catchback/webhooks",
"enabled": true,
"created_at": "2026-11-17T10:00:00.000Z",
"updated_at": "2026-11-17T10:00:00.000Z"
},
"secret": "whsec_3f9a..."
}{
"error": "The webhook URL must use https.",
"code": "INVALID_WEBHOOK_URL"
}{
"error": "Missing or malformed API key"
}{
"error": "This partner program is not live",
"code": "PROGRAM_INACTIVE"
}{
"error": "This key has been rotated; register the webhook with the new key.",
"code": "KEY_ROTATED"
}{
"error": "Too many requests. Slow down.",
"code": "RATE_LIMITED",
"retry_after_seconds": 23
}{
"error": "Something went wrong; retry with the same Idempotency-Key."
}{
"error": "Webhooks are not available on this server yet.",
"code": "WEBHOOKS_UNAVAILABLE"
}Authorizations
Your API key (cb_live_…), sent as a bearer token, with the scope nft:orders. 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.

