GetDailyTransactions

The GetDailyTransactions web service is used to obtain a list of all transactions for a merchant on a particular date. This is normally used for reconciliation purposes and can be called at any time. Merchants have the option to specify the transaction status(es) that they’re interested in. For example:

  • If a merchant is interested only in ‘Completed’ transactions, they can specify ‘Completed’ in the TransactionStatusCode parameter when calling the GetDailyTransactions Web Service.
  • If a merchant is interested only in ‘Completed’ and ‘ReceiptUnverified’ transactions, they can specify ‘Completed,ReceiptUnverified’ in the TransactionStatusCode parameter when calling the GetDailyTransactions Web Service.
  • If a merchant is interested in all transactions, the TransactionStatusCode parameter should be left as blank when calling the GetDailyTransactions Web Service.

For an example of how to implement this functionality, click here.

For an overview of how POLi works, click here.

API Endpoint


https://poliapi.apac.paywithpoli.com/api/v2/Transaction/GetDailyTransactions


This API endpoint is a “GET” method.


GetDailyTransactions Request

To formulate a GetDailyTransactions call, you must append the date to the query string like so:

https://poliapi.apac.paywithpoli.com/api/v2/Transaction/GetDailyTransactions?date=2001-01-01


You can optionally specify “statuscodes” as well to narrow the report to a particular status or statuses, like so:

https://poliapi.apac.paywithpoli.com/api/v2/Transaction/GetDailyTransactions?date=2001-01-01&statuscodes=Completed


You can specify a time range with use of the endDate parameter. :

https://poliapi.apac.paywithpoli.com/api/v2/Transaction/GetDailyTransactions?date=2001-01-01T17:45:00&endDate=2001-01-01T20:00:00


This example will get all transactions between 5:45PM on 01/01/01, and 8PM on 01/01/01.
Note that you cannot provide a range langer than 24 hours.

To authenticate the request, you must use Basic Authorization. Click here to find out more.

GetDailyTransactions Request

NameType/Length/UsageExample
Date ISO 8601 Date/Time as a string of format YYYY-MM-DDTHH:mm:SS+HH 2014-06-30T19:45:00+11
StatusCodes Comma separated list of status codes to filter by. Specifying nothing will return all transactions Completed,Initiated,Failed
endDate ISO 8601 Date/Time as a string of format YYYY-MM-DDTHH:mm:SS+HH 2014-06-31T19:45:00+11

GetDailyTransactions Response

FieldDescriptionData TypePossible Values
AmountPaid The actual amount paid for the transaction. Decimal
BankReceiptNo The internet banking receipt number harvested from internet banking receipt page. String Not all banks provide receipt number. This field will be null if the receipt number is unavailable.
CurrencyCode The currency of the transaction. String Possible values are commensurate with ISO Standard ISO 4217.
EndDateTime The date and time the transaction was completed. Datetime
EstablishedDateTime The date and time of the POLi™ server when the InitiateTransaction request was received. Datetime
FinancialInstitutionCode The code of the Financial Institution the payment was made from. String Consult the POLi™ Console for a complete listing of supported Financial Institutions Codes and Financial Institution Names in your country.
FinancialInstitutionName The name of the Financial Institution the payment was made from. String Consult the POLi™ Console for a complete listing of supported Financial Institutions Codes and Financial Institution Names in your country.
MerchantCode Merchant Code. String Merchant code provided by your POLi™ Implementation Manager
MerchantCommonName The merchant common name. String
MerchantData The merchant data that was passed in the InitiateTransaction request for round trip purposes. String
MerchantReference The merchant reference passed in the InitiateTransaction request. String
PaymentAmount The amount of the transaction. Decimal
TransactionRefNo The POLi ID associated with the transaction. String A unique 12 digit reference to a POLi™ transaction.
TransactionStatusCode A status code that indicates the outcome of the transaction. String
daily.txt · Last modified: 2017/01/20 10:11 (external edit)