Wallet Transactions

How to retrieve transactions statements by Wallet ID

IntaSend maintains a list of transactions executed per wallet. This is useful when you would like to generate a statement for each wallet.

How to receive wallet transactions (statement)

This API allows you to retrieve the list of transactions by wallet_id. Wallet ID must therefore be provided.

from intasend import APIService

service = APIService(token=token, test=True)

response = service.wallets.transactions(<WALLET-ID>)
print(response)
$response = $wallet->transactions('<wallet_id>');
print_r($response);
const IntaSend = require('intasend-node');

const intasend = new IntaSend(/*...Authenticate*/)

let wallets = intasend.wallets();
wallets
  .transactions('<wallet_id>')
  .then((resp) => {
    console.log(`Response: ${JSON.stringify(resp)}`);
  })
  .catch((err) => {
    console.error(`Error:`,err);
  });

Transactions Results Example

Below is an example of transactions list i.e performed under the queried wallet

[{
    "invoice": "...",
    "value": "10.00",
    "running_balance": "20.00",
    "narrative": "Intra Txn. wallet 9",
    "created_at": "2020-08-03T15:08:40.263322+03:00",
    "updated_at": "2020-08-03T15:08:40.263349+03:00"
}, {
    "invoice": "...",
    "value": "10.00",
    "running_balance": "10.00",
    "narrative": "Intra Txn. wallet 9",
    "created_at": "2020-08-03T15:08:32.283968+03:00",
    "updated_at": "2020-08-03T15:08:32.283992+03:00"
}]