Skip to main content
POST
Sell back a customer's card

Authorizations

Authorization
string
header
required

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.

Scopes

nft:orders

Path Parameters

customer
string
required

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).

Pattern: ^(?!\.+$)[A-Za-z0-9_.:-]{1,128}$
Example:

"user-1842"

card_id
string
required

A card.id from Get a customer's vault. A UUID matches in any case.

Pattern: ^[A-Za-z0-9_.:-]{1,128}$

Body

application/json
category
enum<string>

The card's category from the vault. Only needed when the customer holds two cards with the same id in different catalogs; without it, the one from the newest order is sold.

Available options:
pokemon,
onepiece,
sports,
riftbound,
watches,
goods,
singles
min_payout
number

The least to accept, in dollars. A lower current offer is refused with PRICE_CHANGED and nothing is sold. Send the sellback.amount of a read made right before.

Required range: x >= 0

Response

Already sold. The first sale, unchanged; nothing is sold or credited again.

sellback
object
required