Scenario 7: 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="5" refId="5" merchantAccountCode="2001" />
	<paymentPlan id="5" refId="5" code="php.pp-4"
		merchantAccountCode="2001" customerAccount="5" createDate="20080604"
		type="C" status="N" amount="3000" length="0" value="0"
		deferredLength="0" deferredValue="0" billingCycleCode="M03"
		firstBillingDate="20080703" nextBillingDate="20080703"
		lastInvoicingDate="19691231" lastProcessingDate="19691231"
		lastUpdateDate="20080604" itemCode="Membership" linkAccount="0" />
</request>

FIND REQUEST (Download)

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

FIND RESPONSE ( Download)

<?xml version="1.0" encoding="UTF-8"?>
<response>
	<paymentPlan id="5" refId="5" code="php.pp-4"
		merchantAccountCode="2001" customerAccount="5" createDate="20080604"
		type="C" status="U" amount="3000" length="3" value="9000"
		billingCycleCode="M03" firstBillingDate="20080703"
		nextBillingDate="20080703" lastUpdateDate="20080604"
		itemCode="Membership">
		<charge id="43" refId="19547178" code="43"
			merchantAccountCode="2001" createDate="20080604" type="C" index="0"
			isPrepaid="0" />
		<charge id="44" refId="31541498" code="44"
			merchantAccountCode="2001" createDate="20080604" type="C" index="1"
			isPrepaid="0" />
		<charge id="45" refId="25042497" code="45"
			merchantAccountCode="2001" createDate="20080604" type="C" index="2"
			isPrepaid="0" />
	</paymentPlan>
</response>


RESPONSE ( Download)

<?xml version="1.0" encoding="UTF-8"?>
<response>
	<customerAccount id="5" refId="5" code="php.ca-4"
		merchantAccountCode="2001" createDate="20080604" firstName="Mary"
		lastName="Doe" type="F" isActive="1" homePhone="5469856876"
		email="test@google.com" street1="203 16th Street" city="Honolulu"
		state="CA" zipCode="30904" lastUpdateDate="20080604" />
	<paymentPlan id="5" refId="5" code="php.pp-4"
		merchantAccountCode="2001" customerAccount="5" createDate="20080604"
		type="C" status="N" amount="3000" length="0" value="0"
		billingCycleCode="M03" firstBillingDate="20080703"
		nextBillingDate="20080703" lastUpdateDate="20080604"
		itemCode="Membership" linkAccount="0" />
</response>
Personal tools