Skip to main content
POST
Sell back cards

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Keep it on your server. See Authentication. A request from a location we refuse gets a 403 with Access denied, whether or not it has a valid key: where you can call from.

Body

application/json
items
(A pulled card · object | A bought card · object)[]
required

Each item needs a card_id and exactly one of pull_id and purchase_id, all UUIDs. Get vault has them, and so do Buy packs and Buy a card. The same pull or purchase of a card can't be listed twice.

Required array length: 1 - 10 elements

Response

One result per item, in the order you sent them. A 200 can carry failed items: check each status.

total_paid
number
required

USD credited by this request, from sold items only.

remaining_balance
number | null
required

Your balance after the request, or null if we couldn't read it.

results
object[]
required