Get user history magic receipt offer details

GET /v1/client/user/history/magic-receipts/{receiptOfferId}

Get User History Magic Receipt Offer Details returns the details of a specific magic receipt offer that the user has interacted with.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
  • 406 application/json

    VPN detected

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

GET /v1/client/user/history/magic-receipts/{receiptOfferId}
curl \
 --request GET https://api.bitlabs.ai/v1/client/user/history/magic-receipts/{receiptOfferId} \
 --header "X-Api-Token: $API_KEY" \
 --header "X-User-Id: $API_KEY"
Response examples (200)
{
  "data": {
    "id": 42,
    "upload_id": 42,
    "name": "string",
    "status": "completed",
    "uploaded_at": "2022-01-01T00:00:00Z",
    "award": "1.23",
    "offer_id": 42,
    "upload_offer_id": 42,
    "rejection_reason": "Invalid receipt",
    "reason_id": 12
  }
}
Response examples (406)
{
  "error": {
    "details": {
      "msg": "vpn detected",
      "http": "406 Not Acceptable"
    }
  }
}