CheckData
Contains information for electronic check transactions.
Description
This object is used for electronic check processing and includes all of the fields required for processing a check transaction.
Properties
Type | Name | Description |
---|---|---|
Integer | CheckNumber | Check number of check being used for transaction. (required) |
String | Routing | 9-digit bank routing number. (required) |
String | Account | Bank account number. (required) |
String | AccountType | Checking or savings. If left blank, default is checking. (required) |
String | DriversLicense | Driver's license of checking account holder. (required) |
String | DriversLicenseState | Driver's license state of issue. |
String | RecordType | Record type of electronic check transaction. Not supported by all check processors. List of check record types. |
String | MICR | MICR Data for Check 21 (optional, depending on processor). |
String | AuxOnUS | MICR Data for Check 21 (optional, depending on processor). |
String | EpcCode | MICR Data for Check 21 (optional, depending on processor). |
String | FrontImage | Scan of front of check, base64-encoded (optional). |
String | BackImage | Scan of back of check, base64-encoded (optional). |
Examples
<?php
// for directions on how to set up the
// WSDL link and create "$token" and "$client,"
// see: http://wiki.eBizCharge.com/developer/soap/howto/php
$CheckData=array(
'CheckNumber' => '321',
'Account' => '123456',
'Routing' => '123456789',
'AccountType' => 'Savings',
'DriversLicense' => '123123123',
'DriversLicenseState' => 'NA',
'RecordType' => 'ARC'
);
$Request=array(
'AccountHolder' => 'Example Creator',
'ClientIP' => '123.123.123.123',
'CustomerID' => '123456',
'Command' => 'Check',
'Details' => array(
'Amount' => '29.00',
'Clerk' => 'John Doe',
'Currency' => '0',
'Description' => 'Example for CheckData object',
'Discount' => '1.00',
'Invoice' => '44539'),
'CheckData' => $CheckData
);
$Response=$this->client->runTransaction($this->token, $Request);
$TransactionObject=$this->client->getTransaction($this->token, $Response->RefNum);
echo $TransactionObject->CheckData->AccountType;
?>
eBizCharge.TransactionRequestObject tran = new eBizCharge.TransactionRequestObject();
tran.CheckData = new eBizCharge.CheckData();
tran.CheckData.Account = "1112223333";
tran.CheckData.Routing = "123456789";
tran.CheckData.DriversLicense = "D5555555";
tran.CheckData.DriversLicenseState = "CA";
<CheckData xsi:type="ns1:CheckData">
<Account xsi:type="xsd:string">XXXXX3456</Account>
<AccountType xsi:type="xsd:string">Savings</AccountType>
<CheckNumber xsi:type="xsd:integer">321</CheckNumber>
<DriversLicense xsi:type="xsd:string">XXXXX3123</DriversLicense>
<DriversLicenseState xsi:type="xsd:string">NA</DriversLicenseState>
<RecordType xsi:type="xsd:string">ARC</RecordType>
<Routing xsi:type="xsd:string">XXXXX6789</Routing>
</CheckData>
Updated over 5 years ago