User Structure Definition

The definition of the User structure is located in the w3CCInclude file. These data structures are used by the API to interact with external subroutines and within the API subroutines. They are not stored in a file.

CCInfo Structure

Attribute

Constant Name

Description

1

CCInfo.Name

Name on the credit card.

2

CCInfo.Num

Credit card number without spaces or hyphens.

3

CCInfo.Month

Expiration month. Valid data is from 1 to 12.

4

CCInfo.Year

Expiration year. Data must be a 4 digit number (not in internal format).

5

CCInfo.Type

Type of card. This value is optional and is not used in the API.

6

CCInfo.AuthOnly

Authorization only flag. Values are 1 or nothing.

7

CCInfo.PostOnly

Post only flag. Values are 1 or nothing.

8

CCInfo.PreCheck

Optional CC pre-check flag. When set to 1, the CC.Validation template is inserted in the form for credit card Pre-Check.

9

CCInfo.Action

Action type. For Merchant Trust Bank, the value is “ns_quicksale_cc” for credit card validation.

CKInfo Structure

Attribute

Constant Name

Description

1

CKInfo.Name

Name on the credit card.

2

CKInfo.Acct

Client’s bank Account number without spaces or hyphens.

3

CKInfo.Aba

Client’s bank ABA number without spaces or hyphens.

4

CKInfo.Action

Action type. For Merchant Trust Bank, the value is “ns_quicksale_check” for electronic checks validation.

Recurring Info Structure

Attribute

Constant Name

Description

1

R.Create

RecurCreate flag. 1 for Yes and 0 (zero) for No.

2

R.Cycle

Recurring cycle flag (see Recurring Type Flag).

3

R.BillMax

Maximum number of recurring billing. Values can be 1 to greater (or –1 for unlimited).

4

R.Start

Number of days after the initial payment is made to start the recurring sequence.

5

R.Amount

Dollar amount to debit the credit card or Account on a recurring basis.

Email Info Structure

Attribute

Constant Name

Description

1

EMail.From

E-mail address of the sender of the e-mail receipt.

2

EMail.Subject

Item-ID of the e-mail subject. The text is located in the document file.

3

EMail.Text

Item-ID of the Email Text. The text is located in the document file.