v1

latestOpenAPI 3.1.02026-07-241653251.3 MB
Accounts

List account run history

Retrieves the history of grouped settlements, deposits, withdrawals and other changes that have been applied to an account to lead up to its current balance.

get/accounts/{account_id}/run_history

Path parameters

account_idstring required

Filters for a specific account_id

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Response

Successfully retrieved account run history. Returns grouped settlements, deposits, withdrawals and other changes applied to the account.

pagenumber
total_pagesnumber

Example response

{
  "message": [
    {
      "run_timestamp": 1777910260713,
      "run_type": "settlement",
      "run_id": "67507578",
      "change": "4.440000000000000000",
      "new_balance": "5091.100000000000000000"
    }
  ],
  "page": 1,
  "total_pages": 1
}