Retrieving List of Transactions

0 votes

Hi Team,

I am trying to fetch a list of transactions that should include the received transaction from other senders which requires the signing.

Unfortunately, I don't see the transactions which are sent by others with the below code,

var packages = _ossClient.PackageService.GetUpdatedPackagesWithinDateRange(status, pageRequest, DateTime.Now.AddDays(-90), DateTime.Now);
while (packages.HasNextPage())
     packages = _ossClient.PackageService.GetPackages(status, packages.NextRequest);

return packages.Results;


I need your help in this case! Please let me know if you need further info.

Srinivasan K K

Reply to: Retrieving List of Transactions

0 votes

Hi Srinivasan K K,


Behind the scene, the .GetPackages() function invokes the GET /api/packages API, which only returns the packages created by current API Key holder. In order to receive transactions from other senders, you will need to first get their respectively API Keys then build different OssClient objects and pull packages separately. You can find a sample code on how to do so in my previous reply.



Duo Liang OneSpan Evangelism and Partner Integrations Developer

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off