Transaction history

Search the transaction history of a given player

post

Retrieve a list of transactions that have occurred for a given player. Supports filtering, sorting, and pagination.

Authorizations
Path parameters
playerIdstringRequired

id of the player

Header parameters
x-mythical-environment-idstring · uuidRequired

Identifier for the environment that this request should interact with

Body
cursorstringOptional
limitintegerRequired
Responses
200
A list of offers
application/json
post
POST /v1/players/{playerId}/transaction-history HTTP/1.1
Host: 
Authorization: Bearer JWT
x-mythical-environment-id: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 138

{
  "date": {
    "from": 1,
    "to": 1
  },
  "operations": [
    "Listing"
  ],
  "statuses": [
    "Success"
  ],
  "sort": [
    {
      "asc": true,
      "field": "price"
    }
  ],
  "cursor": "text",
  "limit": 1
}
{
  "history": [
    {
      "id": "text",
      "type": "text",
      "objects": [
        {
          "id": "text",
          "image": "text",
          "name": "text",
          "price": {
            "myth": "4.2",
            "usd": "42.5"
          },
          "type": "text",
          "exchangeRate": {
            "rate": "4.25",
            "currency": "USD"
          }
        }
      ],
      "title": {
        "id": "text",
        "image": "text",
        "name": "text"
      },
      "status": "text",
      "total": {
        "myth": "4.2",
        "usd": "42.5"
      },
      "subtotal": {
        "myth": "4.2",
        "usd": "42.5"
      },
      "gas": {
        "myth": "4.2",
        "usd": "42.5"
      },
      "fee": {
        "myth": "4.2",
        "usd": "42.5"
      },
      "gasCovered": true,
      "exchangeRate": "text",
      "createdAt": 1,
      "updatedAt": 1
    }
  ],
  "cursor": "text"
}

Last updated