Retrieve wallet operation history

URL

POST https://security.webmoney.com/V1/GetOperations.ashx

Headers

Request body (JSON)

{
  "reqn": 1730486400000,
  "wmtranid": 0,
  "tranid": 0,
  "datestart": "2025-09-01T00:00:00",
  "datefinish": "2025-10-02T23:59:59" 
}

Fields

*. Field *. Type Description
reqn long Request number (recommended: Unix time in ms)
wmtranid long WebMoney transaction ID (> 0 — datestart/datefinish are ignored), otherwise 0
tranid long Sender transaction ID (> 0 — datestart/datefinish are ignored), otherwise 0
datestart DateTime Start of the period (ISO 8601: YYYY-MM-DDThh:mm:ss), required when wmtranid = 0 and tranid = 0
datefinish DateTime End of the period (ISO 8601: YYYY-MM-DDThh:mm:ss), required when wmtranid = 0 and tranid = 0

Notes:

  • The wallet is taken from JWT and not passed in the request body.
    If purse is specified, it must match the wallet from the token.
  • If wmtranid > 0 or tranid > 0, fields datestart and datefinish are ignored.

Example of a successful response

{
  "reqn": 1730486400000,
  "operations": [
    {
      "id": 123456789,
      "ts": 987654321,
      "tranid": 1730486400000,
      "pursesrc": "Z123456789012",
      "pursedest": "Z163484365864",
      "amount": 0.02,
      "comiss": 0.01,
      "opertype": 0,
      "wminvid": 0,
      "orderid": 0,
      "period": 0,
      "desc": "Test payment",
      "datecrt": "2025-10-02T12:34:56.789Z",
      "dateupd": "2025-10-02T12:34:56.789Z" 
    }
  ],
  "retval": 0,
  "retdesc": "OK" 
}

Response notes:

  • datecrt/dateupd — ISO 8601, UTC.

Example of partial data with error

If an error occurs after the operations array has started,
the response ends with an error flag.

{
  "reqn": 1730486400000,
  "operations": [
    {
      "id": 123456789,
      "ts": 987654321,
      "tranid": 1730486400000,
      "pursesrc": "Z123456789012",
      "pursedest": "Z163484365864",
      "amount": 0.02,
      "comiss": 0.01,
      "opertype": 0,
      "wminvid": 0,
      "orderid": 0,
      "period": 0,
      "desc": "Test payment",
      "datecrt": "2025-10-02T12:34:56.789Z",
      "dateupd": "2025-10-02T12:34:56.789Z" 
    }
  ],
  "retval": -2,
  "retdesc": "Partial data followed by error: <description>" 
}

Error examples

401 Unauthorized:

{
  "retval": 401,
  "retdesc": "Authorization error: <description>" 
}

403 Forbidden:

{
  "retval": 403,
  "retdesc": "Access denied: <description>" 
}

404 Not Found:

{
  "retval": 404,
  "retdesc": "Resource not found: <description>" 
}

500 Internal Server Error:

{
  "retval": 500,
  "retdesc": "Server error: <description>" 
}

Possible return codes

*. Code *. Description
0 OK
401 Authorization error
405 Method not allowed (only POST)
-3 Request processing error
... Other codes are described in X3 Interface