Scenario 4: XML
From Intrannuity
REQUEST (Download)
<?xml version="1.0" encoding="UTF-8"?> <request version="1.1" merchantAccountCode="2000" password="welcome"> <customerAccount refId="#1" code="php.ca-4" merchantAccountCode="2001" firstName="Mary" lastName="Doe" type="F" isActive="1" homePhone="5469856876" email="test@google.com" street1="203 16th Street" city="Honolulu" state="CA" zipCode="30904" /> <paymentPlan refId="#1" code="php.pp-4" merchantAccountCode="2001" customerAccount="#1" type="C" amount="3000" billingCycleCode="M03" itemCode="Membership" /> </request>
RESPONSE ( Download)
<?xml version="1.0" encoding="UTF-8"?> <response> <customerAccount id="5" refId="#1" 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="#1" code="php.pp-4" merchantAccountCode="2001" customerAccount="#1" 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="8666494" code="43" merchantAccountCode="2001" createDate="20080604" type="C" index="0" isPrepaid="0" /> <charge id="44" refId="31536411" code="44" merchantAccountCode="2001" createDate="20080604" type="C" index="1" isPrepaid="0" /> <charge id="45" refId="6652839" code="45" merchantAccountCode="2001" createDate="20080604" type="C" index="2" isPrepaid="0" /> </paymentPlan> </response>
