v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB

Get Transactions By Id

Fetch all related transaction status updates with the ID of a transaction

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

Headers

api-keystring required

api-key is available on the dashboard

Authorizationstring required

Request body

userIdstring required

The Id of the user who is sending this transaction

accountIdstring required

The Id of the account to debit

txIdstring required

Transaction UUID

Response

200

countinteger
totalinteger

Example response

{
  "transactions": [
    {
      "id": "5f6b6711-fdb0-4aee-bc60-ed49bd74b575",
      "credit": 495,
      "timestamp": "2022-08-16T12:25:45.054Z",
      "txType": "LN_INCOMING_CONFIRMED",
      "hash": "1502e1b066cef5eba475451a6e65cd0628e4fc6a1a17009c118e7b86ab778ac5",
      "otherCryptoIdentifier": "lntb5u1p30hr9vpp5s7f8sxwxt3njma4mh2tplk3zez8hrmswh9kd8ed9u56yyjw69sjsdplwdukuerfvdshgefqv9c8qmrfvdshg6t0deejqmtfwdekjmmw943hy6t5d93kzmqcqzpgxqzjhsp5cuvar0tv55qf7sh5thf476f8kqg8vuyvnfedtghv4ngxz4tramuq9qyyssqjtmtg0apf99km6d3ndylahkm8lvedv2nuwnsc2sfqme85ey2q8pz0qz9asx7m28s0x3yg3vtr09dpw44u5dekzxc50dua7u4l5en75sqtq05dq",
      "feeBaseCurrency": 5e-8,
      "nonFpFeeBaseCurrency": 5,
      "balanceBefore": {
        "currency": "satoshis"
      },
      "balanceAfter": {
        "amount": 495,
        "currency": "satoshis"
      }
    }
  ],
  "count": 1,
  "total": 1
}