Partners
API referenceEndpointsBuyback (unavailable)

Cancel an unsigned sellback

POST
/sellbacks/{sellbackId}/cancel

Authorization

WalletSession
headerAuthorizationBearer <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.

Path Parameters

sellbackId*string
Match^[1-9][0-9]{0,17}$

Response Body

The 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
  1. response
success*unknown
data*
Example Request
curl -X POST 'https://api-staging.theverity.xyz/api/v1/redeem/sellbacks/string/cancel' \  -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"  }}