SuperWalletGetTransactions

The SuperWalletGetTransactions request will show the transactions paid for a customer, ordered by payment date (descending)

URL: https://secure1.sandbox.directpay.online/API/v6/


Variables to send:

Parameter
Data type
Description

 Request Text SuperWalletGetTransactionsMandatory
CompanyTokenTokenToken you got from 3G to operate this APIMandatory
customerUnqTokenToken of the customerMandatory
customerTokenTokenToken for customer's credit card. If not sent, results will be for all cards.Optional
numberOfRecordsNumberMaximum number of records to show in response (default 100)Optional
indexOfRecordsNumberIndex for first (default 0)Optional


Request example

Request example
<?xml version="1.0" encoding="utf-8"?>
<API3G>
	<CompanyToken>68B90B5E-25F6-4146-8AB1-C7A3A0C41A7F</CompanyToken>
	<Request>SuperWalletGetTransactions</Request>
	<customerUnq>9D3D99F7-3FEE-4792-961A-6EFFB5B642BA</customerUnq>
	<indexOfRecords>50</indexOfRecords>
	<numberOfRecords>25</numberOfRecords>
</API3G>

Response:

The server will respond for the SuperWalletGetTransactions request according to the following results:

Parameter
Data type
Description
ResultNumberResult Code
ResultExplanationTextFree text of the response
TotalTransactionsNumberTotal of transactions existing for the customer
transHistoryTagAn inside xml with details of the transactions
transTagEach transaction will be returned in a <trans> tag
transRefTextReference of the transaction
providerNameTextCompany Name of the transaction
transCurrencyTextCurrency of transaction
paymentDateDatePayement date
transCardTypeTextType of the credit card
transCardNumNumberLast 4 numbers of the credit card



Response example
<Result>000</Result>
<ResultExplanation>Transactions found</ResultExplanation>
<TotalTransactions>8</TotalTransactions>
<transHistory>
	<trans>
		<transRef>49717D0F</transRef>
		<providerName>Direct Pay Online Payment</providerName>
		<transAmount>1.00</transAmount>
		<transCurrency>USD</transCurrency>
		<paymentDate>2018-07-20</paymentDate>
		<transCardType>MASC</transCardType>
		<transCardNum>(4679)</transCardNum>
	</trans>
	<trans>
		<transRef>49711B2E</transRef>
		<providerName>Direct Pay Online Payment</providerName>
		<transAmount>1.00</transAmount>
		<transCurrency>USD</transCurrency>
		<paymentDate>2018-07-20</paymentDate>
		<transCardType>MASC</transCardType>
		<transCardNum>(3215)</transCardNum>
	</trans>
</transHistory>