Card Statement (V1)

API: Ws_Card_Statement

This web service returns transactions performed by the cardholder which took place on the card since a specified date. If the date is omitted then one month's transactions are returned. Starting balance and current (actual and available) balances are also returned. See also Card Statement (V2).

Ws_Card_Statement excludes card status change entries prior to 2022. Card status changes before this year are no longer retrievable. If you want to retrieve card status changes prior to 2022, raise a ticket with Thredd and a member of the App Support team will deal with your request.

Record Description

Tag

Type

Minimum Length

Maximum Length

Description

Request

Response

<WSID>

N

1

19

Web service ID. Must be unique for every request. For details, see the FAQs.

Mandatory

Mandatory

<IssCode>

AN

1

4

Thredd Issuer (Program Manager) Code. Assigned by Thredd.

Mandatory

Mandatory

<TxnCode>

AN

1

2

The Transaction Code. See Transaction Codes. Default value 5.

Mandatory

Mandatory

<ClientCode>

AN

1

64

User ID of the customer using the service. Only applicable to systems using member logins. Returned in the response if present in the request.

Note: Legacy field. Not used.

Optional

Conditional

<ItemSrc>

N

1

5

Source field which defines the item source type. See Item Source Types. If used, overrides any existing fees for using this web service.

Mandatory

Omit

<AuthType>

AN

1

1

Parameter to specify how the card is authenticated. See Authentication Methods.

Mandatory

Omit

<PAN>

AN

14

19

Card Number. Unique card identifier.

Conditional

Omit

<Track2>

AN

1

40

The card’s Track 2. Mandatory in request if <PAN> and <PublicToken> are not present or when <AuthType> is ‘7’.

Conditional

Omit

<PublicToken>

AN

1

9

The card’s public token, Mandatory in request if <PAN> and <Track2> are not present. Mandatory in the response.

Conditional

Mandatory

<DOB>

YYYY-MM-DD

10

10

Date of Birth. Mandatory if value of <AuthType> is ‘2’ or ‘6’.

Conditional

Omit

<CVV>

AN

3

3

Card Verification ValueClosed The Card Verification Value (CVV) on a credit card or debit card is a 3 digit number on VISA, MasterCard and Discover branded credit and debit cards. Cardholder's are typically required to enter the CVV during any online or cardholder not present transactions. CVV numbers are also known as CSC numbers (Card Security Code), as well as CVV2 numbers, which are the same as CVV numbers, except that they have been generated by a 2nd generation process that makes them harder to guess., the 3-digit code printed on the back of the card.

Mandatory if the value of <AuthType> is ‘3’.

Conditional

Omit

<AccCode>

AN

0

6

Access code or passcode. If provided, must be 6 digits, leading zeroes are acceptable. Leave empty if not required. Mandatory if the value of <AuthType> is ‘4’.

Conditional

Omit

<LastName>

AN

1

20

Cardholder's last name for authenticating the cardholder if the value of <AuthType> is ‘6’.

Conditional

Omit

<LocDate>

YYYY-MM-DD

10

10

The local current date in year-month-date format.

Mandatory

Mandatory

<LocTime>

HHMMSS

6

6

The local current time, in hour-minute-second format.

Mandatory

Mandatory

<TerminalID>

AN

1

15

Point of Sale (POS) or other terminal identifier, such as a hostname.

Optional

Omit

<StartBal>

D

1

20

The opening balance of the card account for the period required, ignoring any pending authorisations. The amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes.

Omit

Mandatory

<EndBal>

D

1

20

The closing balance of the card for the period required, ignoring pending authorisations. The balance amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes.

Omit

Mandatory

<TxnFilter>

AN

1

1

Filter method to control the type of account entries returned:

0 = All account entries. Includes redemption transactions (including refunds), loads, and unloads, transfers, balance adjustments, account status changes and web service and card load fees. Also includes pending authorisations, expired authorisations, and auths matched with a financial i.e. cleared, and manually cleared authorisations. This is the default option if a value is not provided.

1 = Account entries affecting the account balance or available funds. Same as '0', but excludes cleared authorisations and account status changes.

2 = Financial entries only.  Same as '1', but excludes all authorisations and also Expiry breakagesClosed When a card with a fixed validity period, such as a gift card, expires, the available funds on the card are charged as an expiry breakage fee. The actual money is shared between Thredd and the Program Manager..

3 = Shows only Loads, unloads, expiry breakages, balance adjustments and fees.

4 = Settled transactions only. Includes loads, unloads, presentments, balance adjustments, expiries and all other settled transactions, but excludes outstanding authorisations.

5 = All financial transactions, i.e., includes redemption transactions (including refunds), loads and unloads, transfers, balance adjustments, pending authorisations, expired authorisations, and authorised matched with a financial (i.e. cleared, and manually cleared authorisations).

6 = Accepted, pending authorisations only

7 = Same as 0 but also shows ATM/POS fees as separate fee entries.

 

The field must be present in the response if present in the request.

Optional

Conditional

<StartDate>

YYYY-MM-DD

10

10

Start date for the Enquiry. Valid dates are in the range 1900-01-01 to 2079-06-06.

Only account entries on this day and beyond are returned.

If not specified and if <NumTxn> is 0, the search returns results of one calendar month by default. These results are sorted in ascending order of <ItemId>.

If includded in the request, the response returns this field.

Note: If the field is present and date range is more than 3 months then this field value is overridden with a new start date value, calculated by Thredd to provide the most recent 3 months.

Optional

Conditional

<EndDate>

YYYY-MM-DD

10

10

End date for the Enquiry. Valid dates are in the range 1900-01-01 to 2079-06-06. Only account entries on this day and before is returned.

If not specified and if <NumTxn> is 0, the search returns results up to the last account entry. These results are sorted in ascending order of <ItemId>.

If includded in the request, the response returns this field.

Note: If the field is present and date range is more than 3 months then response contains only the most recent 3 months of data.

Optional

Conditional

<NumTxn>

N

1

4

Number of transactions to return. Used for requesting a specific number of the most recent transactions. The transactions are sorted in descending order of <ItemId>.

If present, <StartDate> and <EndDate> are ignored. In the response, this field indicates the actual number of transactions returned.

Optional

Mandatory

<DataSrc>

N

1

1

The data source to be used to make the account enquiry. It has two predefined values: 0 or 1 = Live database ; 2 = Archive database.

Mandatory

Omit

<ItemSrc>

N

1

5

Source field which defines the item source type. See Item Source Types. If used, overrides any existing fees for using this web service.

Mandatory

Mandatory

<DescriptionDelimiter>

AN

1

1

If provided, is used as an alternative delimiter to separate the Card Acceptor Name Location (DE 043) field of the presentment returned from MasterCard or Visa into: Street, City and Country.

Optional

Omit

<CurBill>

AN

3

3

3-letter ISO currency code for the cardholder's account (billing) currency.

Omit

Mandatory

<AvlBal>

D

1

20

The current balance on the card account. This includes all financial transactions and outstanding authorisations. The balance amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes.

Omit

Mandatory

<BlkAmt>

D

1

20

Amount of funds blocked on the card account as a result of all outstanding authorisations. The balance amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes.

Omit

Mandatory

<SysDate>

YYYY-MM_DD

10

10

The system processing date.

Omit

Mandatory

<ActionCode>

AN

3

3

The action code for the response. See Action Codes.

Omit

Mandatory

<Transactions>

 

 

 

List of 0 or more Transaction2 elements (see Transaction2 Description below).

Omit

Mandatory

Transaction2 Description

Tag

Type

Minimum Length

Maximum Length

Description

Request

Response

<TxnDate>

YYYY-MM-DD

10

10

Calendar date on which the transaction is processed. Also the settlement date for certain types of transactions, such as presentments.

Optional

Mandatory

<PostDate>

YYYY-MM-DD

10

10

The businesses date on which Thredd process the transaction. For most transactions this is the same as the system date when the transaction was created. For fee collections, this is the reconciliation date.

Optional

Mandatory

<AmtBill>

D

1

20

The amount of the transaction billed (for financials) or blocked (for

authorisations) to the cardholder account, expressed in the account currency <CurBill>.

Omit

Mandatory

<AmtTxn>

D

1

20

The transaction amount, expressed in the transaction currency <CurTxn>. The amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes.

Omit

Optional

<BillConvRate>

D

1

8

The conversion rate used to calculate the billing amount <AmtBill> from the transaction amount <AmtTxn>.

BillConvRate = AmtTxn /AmtBill

Omit

Conditional

<DebOrCred>

AN

1

1

Whether a transaction is a debit or credit.
‘-1’ = Debit; ‘1’ = Credit.

Omit

Mandatory

<TerminalId>

AN

1

15

Point of Sale (POS) or other terminal identifier, such as a hostname.

Omit

Conditional

<Description>

AN

1

150

Transaction description

Omit

Mandatory

<RRN>

AN

1

12

Retrieval reference number (DE037) from MasterCard or Visa.

Omit

Optional

<CurTxn>

AN

1

3

Transaction currency, represented by the 3-letter ISO currency code.

Omit

Optional

<ItemId>

AN

1

20

The item ID. Present in all returned items that impact the funds on the account.

Omit

Conditional

<AvlBal>

D

1

20

The current balance on the card account. This includes all financial transactions and outstanding authorisations. The balance amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes.

Omit

Mandatory

<BlkAmt>

D

1

20

Amount of funds blocked on the card account as a result of all outstanding authorisations. The balance amount can include up to four decimal places, depending on the currency exponent (e.g., 10.99 for EUR which has a currency exponent of 2). See Currency Codes.

Omit

Mandatory

<TransactionType>

AN

1

2

The type of the transaction. See Transaction Types. For certain changes relating only to account details, this field may be omitted.

Omit

Conditional

<StatusCode>

AN

1

2

The transaction status code. See Transaction Status. For certain changes relating only to account details, this field may be omitted.

Omit

Conditional

<StatusDesc>

AN

1

50

Transaction status description. See Transaction Status.

Omit

Conditional

<TxnTime>

N

6

6

Time at which Thredd processed the transaction in HHMMSS format.

Omit

Mandatory

<LocDate>

YYYY-MM-DD

10

10

Calendar date the transaction was generated by the terminal (POS/ATM) or acquirer. Applicable to MasterCard or Visa received transactions only.

For presentment transactions it is the local date of the terminal that generated the transaction.

Omit

Conditional

<FeeId>

N

1

19

Specifies the unique identifier of the fee, created by Thredd.

Omit

Optional

<WSID>

N

1

19

Web service ID. Must be unique for every request. For details, see the FAQs.

Omit

Optional

<FixedFee>

D

1

20

Fixed fee applied to this transaction.

Omit

Optional

<RateFee>

D

1

20

Rate fee applied to this particular transaction.

Omit

Optional

<FxPdg>

D

1

20

Padding amountClosed An additional amount or fee charged on a transaction, typically used to hedge against FX currency fluctuations or mitigate risks of higher declines or chargebacks for certain merchant categories. applied for a foreign currency transaction.

Omit

Optional

<MCCPdg>

D

1

20

Padding amount applied against a particular merchant category.

Omit

Optional

<LinkId>

AN

1

20

Identifier of the linked financial transaction.

Omit

Conditional

<MCC>

AN

1

4

Merchant category codeClosed Merchant category codes (MCCs) are four-digit numbers that describe a merchant's primary business activities. MCCs are used by credit card issuers to identify the type of business in which a merchant is engaged. (presentments only).

Omit

Conditional

<OrigStan>

AN

1

50

System Trace Audit Number (STAN) returned from MasterCard or Visa.

Omit

Optional

<ProcCode>

AN

1

6

Processing code (DE003) of the transaction if processed by Mastercard or Visa. Thredd also use this field to supply a processing code for Thredd-generated transactions; See Processing Codes.

Omit

Conditional

<MCCDescription>

AN

1

250

Merchant Category CodeClosed Merchant category codes (MCCs) are four-digit numbers that describe a merchant's primary business activities. MCCs are used by credit card issuers to identify the type of business in which a merchant is engaged. (MCC) description.

Omit

Conditional

<Dom_Fee_Fixed>

D

1

20

Fixed domestic fee amount.

Omit

Conditional

<Dom_Fee_Rate>

D

1

20

Rate domestic fee amount.

Omit

Conditional

<Non_Dom_Fee_Fixed>

D

1

20

Fixed non-domestic fee amount.

Omit

Conditional

<Non_Dom_Fee_Rate>

D

1

20

Rate non-domestic fee amount.

Omit

Conditional

<Fx_Fee_Fixed>

D

1

20

Fixed foreign exchange (FX) fee amount.

Omit

Conditional

<Fx_Fee_Rate>

D

1

20

Rate foreign exchange (FX) fee amount.

Omit

Conditional

<Other_Fee_Desc>

D

1

20

Description of any other fees applied to this transaction (e.g., monthly fee).

Omit

Conditional

<Other_Fee_Amt>

D

1

20

Other fee amount.

Omit

Conditional

<TxnCodeType>

AN

1

20

Transaction type code (for an authorisation, presentment or reversal only):

pos = point of sale transaction.
atm = automated teller machine transaction (e.g.,cash withdrawal)
pos_cb = point of sale transaction with cashback.
pos_re = purchase refund
tfr = cardholder funds transfer.

Omit

Conditional

Request

Copy
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hyp="http://www.globalprocessing.ae/HyperionWeb">
   <soapenv:Header>
      <hyp:AuthSoapHeader>
         <hyp:strUserName>******</hyp:strUserName>
         <hyp:strPassword>******</hyp:strPassword>
      </hyp:AuthSoapHeader>
   </soapenv:Header>
   <soapenv:Body>
      <hyp:Ws_Card_Statement>
         <hyp:WSID>2021123456789</hyp:WSID>
         <hyp:IssCode>PMT</hyp:IssCode>
         <hyp:TxnCode>5</hyp:TxnCode>
         <hyp:ClientCode></hyp:ClientCode>
         <hyp:ItemSrc>2</hyp:ItemSrc>
         <hyp:AuthType>1</hyp:AuthType>
         <hyp:PAN></hyp:PAN>
         <hyp:Track2></hyp:Track2>
         <hyp:PublicToken>123456789</hyp:PublicToken>
         <hyp:DOB></hyp:DOB>
         <hyp:CVV></hyp:CVV>
         <hyp:AccCode></hyp:AccCode>
         <hyp:LastName></hyp:LastName>
         <hyp:LocDate>2021-01-01</hyp:LocDate>
         <hyp:LocTime>120000</hyp:LocTime>
         <hyp:TerminalID></hyp:TerminalID>
         <hyp:TxnFilter>5</hyp:TxnFilter>
         <hyp:StartDate></hyp:StartDate>
         <hyp:EndDate></hyp:EndDate>
         <hyp:NumTxn>0</hyp:NumTxn>
         <hyp:DataSrc>0</hyp:DataSrc>
      </hyp:Ws_Card_Statement>
   </soapenv:Body>
</soapenv:Envelope>

Response

Copy
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <Ws_Card_StatementResponse xmlns="http://www.globalprocessing.ae/HyperionWeb">
         <Ws_Card_StatementResult>
            <WSID>2021123456789</WSID>
            <IssCode>PMT</IssCode>
            <TxnCode>5</TxnCode>
            <ClientCode/>
            <PublicToken>123456789</PublicToken>
            <LocDate>2021-01-01</LocDate>
            <LocTime>120000</LocTime>
            <StartBal>10</StartBal>
            <EndBal>0</EndBal>
            <TxnFilter>5</TxnFilter>
            <StartDate/>
            <EndDate/>
            <NumTxn>2</NumTxn>
            <ItemSrc>2</ItemSrc>
            <CurBill>GBP</CurBill>
            <AvlBal>0</AvlBal>
            <BlkAmt>0</BlkAmt>
            <SysDate>2021-01-01</SysDate>
            <ActionCode>000</ActionCode>
            <Transactions>
               <Transaction2>
                  <TxnDate>2021-01-01</TxnDate>
                  <PostDate>2021-01-01</PostDate>
                  <AmtBill>10</AmtBill>
                  <AmtTxn>10</AmtTxn>
                  <BillConvRate>1</BillConvRate>
                  <DebOrCred>-1</DebOrCred>
                  <TerminalId/>
                  <Description> Unload: UnLoad</Description>
                  <RRN/>
                  <CurTxn>GBP</CurTxn>
                  <ItemId>4321</ItemId>
                  <AvlBal>0</AvlBal>
                  <BlkAmt>0</BlkAmt>
                  <TransactionType>U</TransactionType>
                  <StatusCode>S</StatusCode>
                  <StatusDesc>Settled :  -</StatusDesc>
                  <TxnTime>105025</TxnTime>
                  <LocDate>2021-01-01</LocDate>
                  <FeeId>0</FeeId>
                  <WSID>2021123456789</WSID>
                  <FixedFee>0</FixedFee>
                  <RateFee>0</RateFee>
                  <FxPdg>0</FxPdg>
                  <MCCPdg>0</MCCPdg>
                  <LinkId>0</LinkId>
                  <ProcCode>230000</ProcCode>
               </Transaction2>
               <Transaction2>
                  <TxnDate>2021-01-01</TxnDate>
                  <PostDate>2021-01-01</PostDate>
                  <AmtBill>10</AmtBill>
                  <AmtTxn>10</AmtTxn>
                  <BillConvRate>1</BillConvRate>
                  <DebOrCred>1</DebOrCred>
                  <TerminalId/>
                  <Description> Load: Web services load </Description>
                  <RRN/>
                  <CurTxn>GBP</CurTxn>
                  <ItemId>1233</ItemId>
                  <AvlBal>10</AvlBal>
                  <BlkAmt>0</BlkAmt>
                  <TransactionType>L</TransactionType>
                  <StatusCode>S</StatusCode>
                  <StatusDesc>Settled :  -</StatusDesc>
                  <TxnTime>100854</TxnTime>
                  <LocDate>2021-01-01</LocDate>
                  <FeeId>0</FeeId>
                  <WSID>2021123456789</WSID>
                  <FixedFee>0</FixedFee>
                  <RateFee>0</RateFee>
                  <FxPdg>0</FxPdg>
                  <MCCPdg>0</MCCPdg>
                  <LinkId>0</LinkId>
                  <ProcCode>220000</ProcCode>
               </Transaction2>
            </Transactions>
         </Ws_Card_StatementResult>
      </Ws_Card_StatementResponse>
   </soap:Body>
</soap:Envelope>