Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Data type

Description

CompanyToken

Token

Token you got from 3G to operate this API

Mandatory

Request

Text

getTransactionByRef

Mandatory

CompanyRef

Text

Booking Reference

Mandatory

userToken

Token

Using this field will return all transactions created by specified user

Optional

allTrans

Boolean

Status of transaction
0 - Paid
1 - All (default)
2 - Cancelled
3 - Authorised
4 - Queued Auth

Optional

descOrder

Boolean

Sending this with true will return all results in the opposite order

Optional

TransactionToken

Token

Transaction Token

Optional

Request example:

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<API3G>
    <CompanyToken>DC6405AA-A025-4B8B-989B-A8921DD31094</CompanyToken>
    <Request>getTransactionByRef</Request>
    <TransactionToken>9F68A4F5-149B-4473-A636-AF6F7610CDBA</TransactionToken>
    <CompanyRef>Testref</CompanyRef>
    <userToken>26E692C5-4F6F-46CA-AE86-6007DBDE4DDA</userToken>
    <allTrans>1</allTrans>
    <descOrder>1</descOrder>
</API3G>

...