Accounts
Allan Rwakatungu edited this page Mar 31, 2016
·
2 revisions
You can interact with your account to see details status as status , balance and transaction history
To interact with your account , do the following
####Create the gateway
gateway = new IP2Gateway
{
Enviroment = IP2.Gateway.Enum.Enviroment.SANDBOX,
SubscriptionId = "Your_SubscriptionId",
AccountId = "Your_Account_Number",
Username = "Your_API_User_Name",
Password = "Your_API_Password",
};
####Get account details
var account = gateway.GetAccountDetails();
####Get transaction history
var transactions = gateway.GetTransactions();