Transaction Service


http://webservices.gr8pay.net/v2/transactions.svc

Transactions represent funds moving through the Gr8Pay gateway. They’re created for every type of transaction that comes into or flows out of the gateway.

Get Method.

The gettransaction service will return all of the information about a specific transaction, using the transaction ID.

Besides the details of the charge itself, the service will return all of the payers information included in the transaction as well as all supporting elements such as Receipt text and Receipt link.

Request Fields

FieldNameMandatory?Field TypeDescriptionSample
transactionIdNoint“6224A847-4867-41EE-851D-36CC8BA1B”

Response Fields

Field NameField TypeDescription
CodeInteger
IsSuccessBoolean
KeyString
MessageStringSee Return Codes Table*
NumberString


C#

Lookup Method

The Translookup service will allow you to search for all transactions on a
certain date,  using the last 4 digits of the payment method. The service also has the option to search transaction by a specific amount.

The service will return the relevant transaction’s IDs along with the merchant details connected to those transactions.

Request Fields

FieldNameMandatory?Field TypeDescriptionSample
transDateNodateTime“6224A847-4867-41EE-851D-36CC8BA1B”
amountNodecimal
Last4ccNostring

Response Fields

Field NameField TypeDescription
CodeInteger
IsSuccessBoolean
KeyString
MessageStringSee Return Codes Table*
NumberString


C#XMLJSON


Process Method

The Process service is used to process the transactions from the applications (web or mobile) – full transaction information should be sent as part of the request to avoid declines.

The response will include the transaction ID and the response text – in the event of a decline it is recommended that you provide the user with the reason for the decline .

Request Fields

FieldName Mandatory?Field TypeDescriptionSample
Transaction.ProcessDataNoArray“6224A847-4867-41EE-851D-36CC8BA1B”
AccountExpDateNodateTime
AccountValue1Nostring
AccountValue2Nostring
AmountNodecimal
BillingAddressServiceAddressNoArray
AddressLine1Nostring23 Lenon Street
AddressLine2Nostring
CityNostringLondon
CountryIsoNostringGB
PostalCodeNostring
StateIsoNostring
CommentNostring
CurrencyIsoNostringGBP
CustomerNumberNostring
InstallmentsNoint
LatitudeNodouble
LongitudeNodouble
MerchantNumberNostring
OrderIdNostring
PayerDataTransactions.PayerNoArray
EmailNostring
FullNameNostring
PhoneNostring
ShippingAddressServiceAddressNoArray
AddressLine1Nostring23 Lenon Street
AddressLine2Nostring
CityNostringLondon
CountryIsoNostringGB
PostalCodeNostring
StateIsoNostring
PinCodeNostring
PreAuthCodeNostring
ProductIdNoint
QuantityNoint
ShippingAddressIdNoint
ShopCartCookieNostring
StoredPaymentMethodIdNoint
TextNostring

Response Fields

Field NameField TypeDescription
CodeInteger
IsSuccessBoolean
KeyString
MessageStringSee Return Codes Table*
NumberString


C#JavaScriptPHP


Search Method

Search service gives you wider filter options when searching for a transaction – unlike the lookup service, this service will allow you to search ranges of the transaction ID or dates, and sort by merchant details.

The response is much more detailed and will include all available information about the transaction or the accounts related to it.

Request Fields

FieldName Mandatory?Field Type
FiltersTransactions.SearchFiltersNoArray
AmountFromNoDecimal
AmountToNoDecimal
CurrencyIsoNostring
DateFromNodateTime
DateToNodateTime
IDFromNoint
IDToNoint
loadOptionsTransactions.LoadOptionsNoArray
LoadMerchantNoBoolean
LoadPayerNoBoolean
LoadPaymentNoBoolean
TransTypeTransactions.TransactionsStatusnoArray
sortAndPageSortAndPageNoArray
PageNumberNoint
PageSizeNoint

Response Fields

Field NameField TypeDescription
CodeInteger
IsSuccessBoolean
KeyString
MessageStringSee Return Codes Table*
NumberString


C#JavaScriptPHP