API referenceEndpointsBuyback (unavailable)
Prepare a wallet-signed sellback
POST
Returns the same active operation on retry. The NFT return and payout are atomic. Sign the returned transaction unchanged; do not broadcast it from the browser. Verity pays the network fee.
WalletSessionheader
AuthorizationBearer <token>Authorization: Bearer <accessToken> from POST /auth/verify. Proves control of
one wallet for one hour. Used only by the Redemption endpoints, from the browser.
prizeId*integerRange
1 <= valueThe current sellback operation. Only completed confirms the payout. Processing includes uncertain confirmation; keep polling this ID. Failed attempts can be prepared again while the offer remains open.
application/json- response
success*unknowndata*curl -X POST 'https://api-staging.theverity.xyz/api/v1/redeem/prizes/1/sellback/prepare' \ -H 'Authorization: Bearer <wallet_access_token>'Example Response
{ "success": true, "data": { "id": "string", "prize_id": 0, "amount_usd": 0, "status": "awaiting_signature", "expires_at": "2019-08-24T14:15:22Z", "signature": "string", "transaction": "string", "error": "string" }}