Home / ... / Payment as a Service / Request.Order / CardHolder

CardHolder

Tags:  

Path: CnPAPI.Engine.Request.Order. CardHolder

Elements: 

Schema

      <xsd:element name="CardHolder">

            <xsd:complexType>

                  <xsd:sequence>

                        <xsd:element ref="BillingInformation" minOccurs="0"/>

                        <xsd:element ref="BillingAddress" minOccurs="0"/>

                        <xsd:element ref="ShippingInformation" minOccurs="0"/>

                        <xsd:element ref="CustomFieldList" minOccurs="0"/>

                        <xsd:element ref="PaymentMethod"/>

                        <xsd:element ref="CustomParameters" minOccurs="0"/>

                  </xsd:sequence>

            </xsd:complexType>

      </xsd:element>

Example

<CardHolder>

      <BillingInformation>

            <BillingFirstName>John</BillingFirstName>

            <BillingMI>C</BillingMI>

            <BillingLastName>Smith</BillingLastName>

            <BillingEmail>Patron@Company.com</BillingEmail>

            <BillingPhone>123.456.7890</BillingPhone>

      </BillingInformation>

      <BillingAddress>

            <BillingAddress1>Post Office Box 1000</BillingAddress1>

            <BillingAddress2></BillingAddress2>

            <BillingAddress3></BillingAddress3>

            <BillingCity>Blacksburg</BillingCity>

            <BillingStateProvince>VA</BillingStateProvince>

            <BillingPostalCode>12346-4563</BillingPostalCode>

            <BillingCountryCode>840</BillingCountryCode>

      </BillingAddress>

      <ShippingInformation>

            <ShippingAddress>

                  <ShippingAddress1>123 Shipping Avenue</ShippingAddress1>

                  <ShippingAddress2>Suite 1234</ShippingAddress2>

                  <ShippingAddress3></ShippingAddress3>

                  <ShippingCity>John City</ShippingCity>

                  <ShippingStateProvince>Big State</ShippingStateProvince>

                  <ShippingPostalCode>12345-4564</ShippingPostalCode>

                  <ShippingCountryCode>840</ShippingCountryCode>

            </ShippingAddress>

      </ShippingInformation>

      <CustomFieldList>

            <CustomField>

                  <FieldName>Employer</FieldName>

                  <FieldValue>Good Company</FieldValue>

            </CustomField>

            <CustomField>

                  <FieldName>Occupation</FieldName>

                  <FieldValue>Good Job</FieldValue>

            </CustomField>

            <CustomField>

                  <FieldName>Place of Employment</FieldName>

                  <FieldValue>Blacksburg, Virginia</FieldValue>

            </CustomField>

      </CustomFieldList>

      <PaymentMethod>

            <PaymentType>CreditCard</PaymentType>

            <CreditCard>

                  <NameOnCard>John Smith</NameOnCard>

                  <CardNumber>4111111111111111</CardNumber>

                  <Cvv2>123</Cvv2>

                  <ExpirationDate>04/15</ExpirationDate>

            </CreditCard>

      </PaymentMethod>

      <CustomParameters>

            <Parameter>

                  <Field>ClientID</Field>

                  <Value>12345</Value>

            </Parameter>

            <Parameter>

                  <Field>MembershipLevel</Field>

                  <Value>Platinum</Value>

            </Parameter>

      </CustomParameters>

</CardHolder>




     RSS of this page