Skip to main content
POST
Open a customer's reward pack

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"

pack_id
string<uuid>
required

A pack_id from List a customer's reward packs.

Response

A retry. The same order, now; nothing is charged again. card is null if the card has left the vault since.

order
object
required

The order that opened the pack, with custody vault, odds standard and reward_pack_id.

card
object | null
required

The card in the customer's vault. Null while the order is still opening (poll Get an order), or on a retry once the card has been sold back or shipped.

idempotent_replay
boolean

Only on a retry for a pack already opened.