Scenario 5: XML

From Intrannuity

Jump to: navigation, search

REQUEST (Download)

<?xml version="1.0" encoding="UTF-8"?>
<request version="1.1" merchantAccountCode="2000" password="welcome">
	<customerAccount id="3" refId="3" merchantAccountCode="2001" />
	<assetTransaction refId="#1" code="php.at-5"
		merchantAccountCode="2001" customerAccount="3"
		accountActivityType="AP" amount="3000" balance="3000"
		dueDate="20080803" transactionType="H" accountNumber="10100125687"
		isPrepayment="1" />
	<paymentPlan id="3" refId="3" code="php.pp-3"
		merchantAccountCode="2001" customerAccount="3" createDate="20080604"
		type="F" status="U" amount="3000" length="6" value="18000"
		deferredLength="0" deferredValue="0" billingCycleCode="M03"
		firstBillingDate="20080703" nextBillingDate="20080803"
		lastInvoicingDate="19691231" lastProcessingDate="19691231"
		lastUpdateDate="20080604" itemCode="Membership" linkAccount="1">
		<charge id="28" refId="0" code="28" merchantAccountCode="2001"
			createDate="20080604" type="F" index="0" isPrepaid="0" />
		<charge id="29" refId="0" code="29" merchantAccountCode="2001"
			createDate="20080604" type="F" index="1" isPrepaid="1" />
		<charge id="30" refId="0" code="30" merchantAccountCode="2001"
			createDate="20080604" type="F" index="2" isPrepaid="0" />
		<charge id="31" refId="0" code="31" merchantAccountCode="2001"
			createDate="20080604" type="F" index="3" isPrepaid="0" />
		<charge id="32" refId="0" code="32" merchantAccountCode="2001"
			createDate="20080604" type="F" index="4" isPrepaid="0" />
		<charge id="33" refId="0" code="33" merchantAccountCode="2001"
			createDate="20080604" type="F" index="5" isPrepaid="0" />
	</paymentPlan>
</request>


FIND REQUEST (Download)

<?xml version="1.0" encoding="UTF-8"?>
<request version="1.1" merchantAccountCode="2000" password="welcome">
	<findPaymentPlan code="php.pp-3" />
</request>


FIND RESPONSE ( Download)

<?xml version="1.0" encoding="UTF-8"?>
<response>
	<paymentPlan id="3" refId="3" code="php.pp-3"
		merchantAccountCode="2001" customerAccount="3" createDate="20080604"
		type="F" status="U" amount="3000" length="6" value="18000"
		billingCycleCode="M03" firstBillingDate="20080703"
		nextBillingDate="20080703" lastUpdateDate="20080604"
		itemCode="Membership" linkAccount="1">
		<charge id="28" refId="22102372" code="28"
			merchantAccountCode="2001" createDate="20080604" type="F" index="0"
			isPrepaid="0" />
		<charge id="29" refId="27013853" code="29"
			merchantAccountCode="2001" createDate="20080604" type="F" index="1"
			isPrepaid="0" />
		<charge id="30" refId="30371288" code="30"
			merchantAccountCode="2001" createDate="20080604" type="F" index="2"
			isPrepaid="0" />
		<charge id="31" refId="20226735" code="31"
			merchantAccountCode="2001" createDate="20080604" type="F" index="3"
			isPrepaid="0" />
		<charge id="32" refId="10798104" code="32"
			merchantAccountCode="2001" createDate="20080604" type="F" index="4"
			isPrepaid="0" />
		<charge id="33" refId="21372059" code="33"
			merchantAccountCode="2001" createDate="20080604" type="F" index="5"
			isPrepaid="0" />
	</paymentPlan>
</response>

RESPONSE ( Download)

<?xml version="1.0" encoding="UTF-8"?>
<response>
	<customerAccount id="3" refId="3" code="php.ca-1"
		merchantAccountCode="2001" createDate="20080604" firstName="John"
		lastName="Smith" type="M" isActive="1" homePhone="2129856472"
		email="test@yahoo.com" street1="233 12th Street" city="Honolulu"
		state="CA" zipCode="31904" balance="0" lastUpdateDate="20080604"
		birthDate="19691231" />
	<assetTransaction id="5" refId="#1" code="php.at-5"
		merchantAccountCode="2001" customerAccount="3" createDate="20080604"
		accountActivityType="AP" amount="-3000" balance="-3000"
		dueDate="20080803" maskedAccountNumber="1******5687"
		transactionType="H" accountNumber="10100125687" isPrepayment="1" />
	<paymentPlan id="3" refId="3" code="php.pp-3"
		merchantAccountCode="2001" customerAccount="3" createDate="20080604"
		type="F" status="U" amount="3000" length="6" value="18000"
		billingCycleCode="M03" firstBillingDate="20080703"
		nextBillingDate="20080703" lastUpdateDate="20080604"
		itemCode="Membership" linkAccount="1">
		<charge id="28" refId="7171714" code="28"
			merchantAccountCode="2001" createDate="20080604" type="F" index="0"
			isPrepaid="0" />
		<charge id="29" refId="7484075" code="29"
			merchantAccountCode="2001" createDate="20080604" type="F" index="1"
			isPrepaid="1" />
		<charge id="30" refId="22843487" code="30"
			merchantAccountCode="2001" createDate="20080604" type="F" index="2"
			isPrepaid="0" />
		<charge id="31" refId="684960" code="31"
			merchantAccountCode="2001" createDate="20080604" type="F" index="3"
			isPrepaid="0" />
		<charge id="32" refId="2958064" code="32"
			merchantAccountCode="2001" createDate="20080604" type="F" index="4"
			isPrepaid="0" />
		<charge id="33" refId="22070505" code="33"
			merchantAccountCode="2001" createDate="20080604" type="F" index="5"
			isPrepaid="0" />
	</paymentPlan>
</response>
Personal tools