Collectibles

Trade in duplicate collectibles for set points

Changed on

Authenticated. Burns quantity extra copies of a set member for set points. Never burns the last copy, a listed or offered copy (lockedBy listing:<id> or offer:<id>, including a whole-row lock), or a minted/minting copy, or a pending/failed mint that already has an Engine job. A pending or failed mint with no Engine job can be burned, and that row is marked burned so it is not submitted. Points are not coins and cannot be converted. The same idempotencyKey replays the stored receipt. A reused key with a different set, card, or quantity is 409 IDEMPOTENCY_KEY_CONFLICT.

post/api/collectible-sets/{setId}/trade-in

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Path parameters

setIdstring required

Request body

collectibleIdstring required
quantityinteger required
idempotencyKeystring required

Response

{ alreadyRecorded, pointsDelta, pointsBalance, setId, collectibleId, quantity, ownedAfter, set, reward }. pointsDelta is positive. reward is set only when this call granted the cosmetic badge.

successtrue required

Changes