developer:soap-1.2:objects:checkdata

Soap API v1.2

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.
String Routing Nine digit bank routing number.
String Account Bank account number.
String AccountType Checking or Savings - if left blank, default is Checking.
String SSN Social security number of checking account holder.
String DriversLicense Driver's license of checking account holder.
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

Places Used

Examples

PHP

<?php 
// for directions on how to set up the  
// WSDL link and create "$token" and "$client," 
// see: http://wiki.usaepay.com/developer/soap/howto/php
 
$CheckData=array(
	'CheckNumber' => '321',
	'Account' => '123456',
	'Routing' => '123456789',
	'AccountType' => 'Savings',
	'SSN' => '987654321',
	'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;
 
?> 

.NET VB

Dim payMethod As usaepay..PaymentMethod = New usaepay.PaymentMethod
            payMethod.CheckData = new usaepay.CheckData
            payMethod.CheckData.Account = "123456789"
            payMethod.CheckData.CheckNumber = "32"
            payMethod.CheckData.DriversLicense = "D555555"
            payMethod.CheckData.DriversLicenseState = "ca"
            payMethod.CheckData.Routing = "987654321"
            payMethod.CheckData.SSN = "333-33-3333"

.NET C#

payMethod.CheckData = new usaepay.CheckData();
            payMethod.CheckData.Account = "123456789";
            payMethod.CheckData.CheckNumber = "32";
            payMethod.CheckData.DriversLicense = "D555555";
            payMethod.CheckData.DriversLicenseState = "ca";
            payMethod.CheckData.Routing = "987654321";
            payMethod.CheckData.SSN = "333-33-3333";

XML

<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>
<SSN xsi:type="xsd:string">XXX-XX-XXXX</SSN>
</CheckData>

Change History

Version Change
1.0 Addition of AccountType Property: denotes type of account being debited.
developer/soap-1.2/objects/checkdata.txt · Last modified: 2010/10/20 14:43 by irina

Page Tools