wallets

Get Account Statement

Fetch an account statement with an account Id

post/business/account/get-transactions-by-id

Request body

businessIdstring uuid required

Unique Id of the business for whom this wallet is being created

accountIdstring required

The unique ID of the account that belongs to the businessId

txIdstring uuid required

transaction Id

Example request

{
  "businessId": "25fb7453-67e8-4f4a-b741-f7cab0eac57d",
  "accountId": "b1b6055babf12d7b18cbbe458248dfcb",
  "txId": "358f5e37-4e15-424e-9479-3037cf68989a"
}

Response

success

totalnumber required
countnumber required

Example response

{
  "transactions": [
    {
      "id": "358f5e37-4e15-424e-9479-3037cf68989a",
      "accountId": "b1b6055babf12d7b18cbbe458248dfcb",
      "syncedOwnerId": "25fb7453-67e8-4f4a-b741-f7cab0eac57d",
      "sourceSyncedOwnerId": "25fb7453-67e8-4f4a-b741-f7cab0eac57d",
      "timestamp": "2024-07-02T13:14:44.829Z",
      "txType": "ON_CHAIN_WITHDRAWAL_CONFIRMED",
      "memo": "MATIC_POLYGON ON_CHAIN_WITHDRAWAL_CONFIRMED COMPLETED",
      "currency": "MATIC_POLYGON",
      "exchangeRate": "1",
      "balanceBefore": {
        "amount": "6703773584905660377",
        "balance": "6703773584905660377"
      },
      "balanceAfter": {
        "amount": "6703773584905660377",
        "balance": "6703773584905660377"
      },
      "blockchainSourceAddress": "0x606baDb2A7145FFC443575635Bb07fd23AE14478",
      "txHash": "0x8f67cdecba971a40ab9ec59972efb8130e31c011a8e6c909aadfee00223a9b4e",
      "blockchainDepositAddress": "0xd1257B051c3CB9d26A7f3b2073b542241dE470b1",
      "blockchainConfirmations": 1,
      "feeEstimate": {
        "totalFee": "42021000420000",
        "networkFee": "42021000420000",
        "ourFee": "42021000420000",
        "theirFee": "0",
        "feeCurrency": "MATIC_POLYGON",
        "gasLimit": "21000",
        "gasPrice": "2.002",
        "fixedFeeDetails": {
          "amount": "0",
          "exchangeRate": "0"
        },
        "percentageFeeDetails": {
          "amount": "0"
        }
      },
      "blockchainNetwork": "Polygon Testnet Amoy"
    }
  ],
  "total": 1,
  "count": 1
}