CardAccount Report

The CardAccount report contains details about all cards associated with cardholders. This report includes information such as the date in which each card was created, as well as type and status details. The report also includes information on primary and secondary cards. The file consists of records for new cards and updated card details.

The required fields in the CardAccount report are indicated Yes in the Details table below. All other optional fields are marked No and should only be populated if the data is available.

The fields in the Details table that are marked with a star symbol * are related to accounts, but include card data instead. Card data is added instead of account data because accounts do not exist on the Thredd Platform.

Header

The Header section provides basic information on the report. This includes information such as the report name and the beginning and end dates (see Header Fields).

Details

The following shows details of the CardAccount report.

No

Field Name

Description

Field Definition

Example

Required

1

Record Type

Defines the beginning of a detail record, where d= detail record.

char(1)

D

Yes

2

Unique Program ID

Unique identifier of a card program (provided by Thredd).

varchar(4)

PCS

Yes

3

Program Name

Name of the card program.

varchar(50)

Acme Program

Yes

4

Program Type

Type of card program, such as a corporate expense card.

varchar(50)

Blank

No

5

Product ID

Identifier of the product associated with a cardholder.

int

16847

No

6

* Account Number

Number assigned to each account on the Thredd platform. This links to the cardholder ID.

varchar(25)

6g0j3p5f-7q3d-1h9h-0m3d-6

Yes

7

* Account Created Date

Date the account was opened or created. This links to the date in which the card was created. The date is in the YYMMDD format.

varchar(8)

20260208

Yes

8

* Account Activated Time

Time in which the account was available for use. This links to the date in which the card was created.

varchar(6)

135018

No

9

* Account Expiration Date

Date in which the account will expire. This links to the date in which the card will expire. The date is in the YYMMDD format.

varchar(8)

20300209

Yes

10

* Account Expiration Time

Time in which the account will expire. This links to the time in which the card will expire.

varchar(6)

000000

No

11

* Account Status ID

Account Status ID from the processor. This is reported as blank.

varchar(20)

Blank

Yes

12

* Account Currency Code

The Account Currency code. This links to the currency code of the card.

char(3)

USD

Yes

13

Card Number (PAN)

Card Number stored at Thredd. This field is used whenever a new card is issued for a customer. This is either:

  • The full PAN number for customers that are PCI DSS compliant.
  • The masked PAN that maps to a full PAN. This number is generated by Thredd. The first six digits are a Thredd ID that identifies the card scheme, the next six numbers are masked, and the last four digits are from the real PAN. This is for customers that are not PCI DSS compliant.

bigint

Full PAN: 4432520000002196

Masked PAN: 443252******2196

Yes

14

Card ID

Unique identifier of the card, which consists of 9 digits.

bigint

114958529

Yes

15

Card Status Code

Indicates the current status of the card:

00 = Not Activated

01 = Active

02 = Preactive or Ready

03 = Suspended

04 = Replaced

05 = Closed Fraud

06 = Closed

07 = Potential Fraud

08 = Reported Lost Stolen

09 = Hold

11 = Card Destroyed

12 = Voided

12 = Misc

Note: As card statuses may change in a day, the report includes the latest status at the time of the report generation.

varchar(2)sFTPClosed Secure File Transfer Protocol. A popular unencrypted method of transferring files between two remote systems. SFTP (SSH File Transfer Protocol, or Secure File Transfer Protocol) is a separate protocol packaged with SSH that works in a similar way but over a secure connection.

00

Yes

16

Card Status Desc

Description of the card status.

varchar(50)

All Good

No

17

Card Type 1

Code for the type of card:
0 = Unknown

1 = Physical

2 = Virtual
3 = Wallet


char(1)

1

Yes

18

Primary Card Indicator

Boolean value indicating a primary card.

0 = Not Primary

1 = Primary

char(1)

1

Yes

19

Card Activation Date

Date in which the card was activated. The date is in the YYMMDD format.

varchar(8)

20260208

Yes

20

Card Expiration Date

Date in which the card will expire. The date is in the YYMMDD format.

varchar(8)

20300208

Yes

21

Ledger Balance

Ledger balance on the card account as of the report date.

Note: Thredd currently does not support ledgers. Currently, this is the actual balance, equal to the available balance plus the blocked amount.

decimal(19,4)

Blank

Yes

22

Available Balance

Available balance on the card account (only affected by authorisations).

Note: This is the latest recorded card balance at the time of the report generation.

decimal(19,4)

1500.10

Yes

23

Embossed Name

Embossed name on the card.

varchar(50)

John Doe

No

24

* Notes

Notes on the account. This links to notes on the card.

varchar(100)

Blank

No

25

BIN

First 6 or 8 digits of the Account Number.

varchar(50)

422065

No

26

Card Type 2

Type of card based on the purpose of its use.
1 = Gift

2 = Merchandise Return

3 = GPR

4 = Payroll

5 = HSA

6 = FSA

7 = Govt Benefit

8 = LAP

9 = Rebate

10 = Default LAP

11 = Teen

12 = Savings

13 = Purse

14 = Funding

15 = Travel

null = No card

varchar(4)

Blank

Yes

Trailer

The Trailer section includes details such as the count values on the number of records (see Trailer Fields).

Example

The following shows examples of the CardAccount report for masked PANs and unmasked PANs.

Masked PAN

Copy
HEADER|Thredd|CardAccount|20260724|20260102|20260103|PIPE

D|PM1|Program Manager 1||100050|8f1c7a2e-b904-d5a1-6ef3-c|20260101|080000|20310731|000000||GBP|815473******3720|133737181|00|All Good|1|1|20260102|20310731||7.00|Example Cardholder 1||815473|
D|PM1|Program Manager 1||100050|41d8e9b3-7fa2-0c65-a9d1-4|20260101|102500|20310731|000000||GBP|815473******0029|133737182|00|All Good|1|1|20260101|20310731||25.00|Example Cardholder 2||815473|
D|PM1|Program Manager 1||100051|c7b20e4f-15a8-f936-82dc-b|20260101|140000|20310731|000000||GBP|815473******2624|133742339|00|All Good|1|1|20260101|20310731||0.00|Example Cardholder 3||815473|
D|PM1|Program Manager 1||100051|9ae54c17-3d80-b2f1-74e6-0|20260101|185000|20310731|000000||GBP|815473******1067|133742340|00|All Good|1|1|20260101|20310731||0.00|Example Cardholder 4||815473|
D|PM1|Program Manager 1||100052|9ae54c17-3d80-b2f1-74e6-0|20260102|101500|20310731|000000||GBP|815473******5286|133742341|00|All Good|1|1|20260102|20310731||0.00|Example Cardholder 5||815473|
D|PM1|Program Manager 1||100052|2fd9a681-ce45-8b30-f1a7-5|20260102|120000|20310731|000000||GBP|815473******8800|133742342|00|All Good|1|1|20260102|20310731||8.00|Example Cardholder 6||815473|
D|PM1|Program Manager 1||100053|5c84d2ab-f019-7e63-b4d8-2|20260102|150000|20310731|000000||GBP|815465******8006|133742344|00|All Good|1|1|20260102|20310731||0.00|Example Cardholder 7||815465|
D|PM1|Program Manager 1||100053|e13b7f90-6a2d-c841-95fe-8|20260102|000000|20310731|000000||GBP|815465******1301|133742343|00|All Good|1|1|20260102|20310731||50.00|Example Cardholder 8||815465|
D|PM1|Program Manager 1||100054|a96f31d5-8cb7-4af2-e105-f|20260103|000000|20310731|000000||GBP|815465******6485|133742345|00|All Good|1|1|20260103|20310731||0.00|Example Cardholder 9||815465|
D|PM1|Program Manager 1||100054|d20a8e7c-91f4-6db3-c852-1|20260103|000000|20310731|000000||GBP|815465******5621|133742346|00|All Good|1|1|20260103|20310731||55.00|Example Cardholder 10||815465|
D|PM2|Program Manager 2||100055|74be5f29-a3d6-e018-9c4b-7|20260103|000000|20310731|000000||GBP|852794******7739|133742347|00|All Good|1|1|20260103|20310731||0.00|Serena Cole||852794|

TRAILER|11

Unmasked PAN

Copy
HEADER|Thredd|CardAccount|20260724|20260103|20260104|PIPE

D|PM1|Program Manager 1||100050|8f1c7a2e-b904-d5a1-6ef3-c|20260101|080000|20310731|000000||GBP|8154732110623720|133737181|00|All Good|1|1|20260102|20310731||2.00|Example Cardholder 1||815473|
D|PM1|Program Manager 1||100050|41d8e9b3-7fa2-0c65-a9d1-4|20260101|102500|20310731|000000||GBP|8154732120720029|133737182|00|All Good|1|1|20260101|20310731||0.00|Example Cardholder 2||815473|
D|PM1|Program Manager 1||100051|9ae54c17-3d80-b2f1-74e6-0|20260101|185000|20310731|000000||GBP|8154732410981067|133742340|00|All Good|1|1|20260101|20310731||10.00|Example Cardholder 3||815473|
D|PM1|Program Manager 1||100052|2fd9a681-ce45-8b30-f1a7-5|20260102|120000|20310731|000000||GBP|8154732691388800|133742342|00|All Good|1|1|20260102|20310731||4.00|Example Cardholder 4||815473|
D|PM1|Program Manager 1||100053|5c84d2ab-f019-7e63-b4d8-2|20260102|150000|20310731|000000||GBP|8154653115028006|133742344|00|All Good|1|1|20260102|20310731||50.00|Example Cardholder 5||815465|
D|PM1|Program Manager 1||100054|a96f31d5-8cb7-4af2-e105-f|20260103|092000|20310731|000000||GBP|8154653344336485|133742345|00|All Good|1|1|20260103|20310731||70.00|Example Cardholder 6||815465|
D|PM1|Program Manager 1||100054|d20a8e7c-91f4-6db3-c852-1|20260103|111000|20310731|000000||GBP|8154653396455621|133742346|00|All Good|1|1|20260103|20310731||0.00|Example Cardholder 7||815465|
D|PM2|Program Manager 2||100055|74be5f29-a3d6-e018-9c4b-7|20260103|000000|20310731|000000||GBP|8527944002567739|133742347|00|All Good|1|1|20260103|20310731||0.00|Example Cardholder 8||852794|
D|PM2|Program Manager 2||100055|74be5f29-a3d6-e018-9c4b-7|20260104|000000|20310731|000000||GBP|8527944072820968|133742348|00|All Good|1|0|20260104|20310731||150.00|Example Cardholder 9||852794|
D|PM2|Program Manager 2||100056|f8d13c6a-50be-29d7-a4f1-e|20260104|000000|20310731|000000||GBP|8527944364569836|133742349|62|Restricted card|1|1|20260104|20310731||10.00|Example Cardholder 10||852794|
D|PM2|Program Manager 2||100056|16ac9fb4-e782-3d05-f8b6-9|20260104|000000|20310731|000000||GBP|8527944257346565|133742350|00|All Good|1|1|20260104|20310731||0.00|Example Cardholder 11||852794|

TRAILER|11