Reference for https://paymentrequest.api.epay.eu/v1/paymentrequest/create/

Create new payment request

Url: https://paymentrequest.api.epay.eu/v1/paymentrequest/create/

HTTP Method: PUT

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<createpaymentrequestrequest xmlns="EPay.API.PaymentRequest.CreatePaymentRequest.Request">
  <authentication xmlns="EPay.API">
    <merchantnumber>String content</merchantnumber>
    <password>String content</password>
  </authentication>
  <language xmlns="EPay.API">String content</language>
  <localtimezone xmlns="EPay.API">true</localtimezone>
  <paymentrequest>
    <closeafterxpayments xmlns="EPay.API.PaymentRequest">2147483647</closeafterxpayments>
    <exactclosedate xmlns="EPay.API.PaymentRequest">1999-05-31T11:20:00</exactclosedate>
    <parameters xmlns="EPay.API.PaymentRequest">
      <accepturl xmlns="EPay.API.PaymentWindow">String content</accepturl>
      <accountinformation xmlns="EPay.API.PaymentWindow">String content</accountinformation>
      <amount xmlns="EPay.API.PaymentWindow">2147483647</amount>
      <browserinformation xmlns="EPay.API.PaymentWindow">String content</browserinformation>
      <callbackurl xmlns="EPay.API.PaymentWindow">String content</callbackurl>
      <cancelurl xmlns="EPay.API.PaymentWindow">String content</cancelurl>
      <cssurl xmlns="EPay.API.PaymentWindow">String content</cssurl>
      <currency xmlns="EPay.API.PaymentWindow">String content</currency>
      <declinetext xmlns="EPay.API.PaymentWindow">String content</declinetext>
      <description xmlns="EPay.API.PaymentWindow">String content</description>
      <group xmlns="EPay.API.PaymentWindow">String content</group>
      <instantcapture xmlns="EPay.API.PaymentWindow">manual</instantcapture>
      <invoice xmlns="EPay.API.PaymentWindow">String content</invoice>
      <language xmlns="EPay.API.PaymentWindow">String content</language>
      <lockpaymentcollection xmlns="EPay.API.PaymentWindow">disabled</lockpaymentcollection>
      <mailreceipt xmlns="EPay.API.PaymentWindow">String content</mailreceipt>
      <merchantrisk xmlns="EPay.API.PaymentWindow">String content</merchantrisk>
      <mobile xmlns="EPay.API.PaymentWindow">disabled</mobile>
      <mobilecssurl xmlns="EPay.API.PaymentWindow">String content</mobilecssurl>
      <orderid xmlns="EPay.API.PaymentWindow">String content</orderid>
      <ordertext xmlns="EPay.API.PaymentWindow">String content</ordertext>
      <paymentcollection xmlns="EPay.API.PaymentWindow">notdefined</paymentcollection>
      <paymenttype xmlns="EPay.API.PaymentWindow">String content</paymenttype>
      <recurring xmlns="EPay.API.PaymentWindow">String content</recurring>
      <recurringexpiration xmlns="EPay.API.PaymentWindow">String content</recurringexpiration>
      <recurringfrequency xmlns="EPay.API.PaymentWindow">2147483647</recurringfrequency>
      <securitylevel xmlns="EPay.API.PaymentWindow">String content</securitylevel>
      <splitpayment xmlns="EPay.API.PaymentWindow">disabled</splitpayment>
      <subscription xmlns="EPay.API.PaymentWindow">disabled</subscription>
      <subscriptionid xmlns="EPay.API.PaymentWindow">9223372036854775807</subscriptionid>
      <subscriptionname xmlns="EPay.API.PaymentWindow">String content</subscriptionname>
      <subscriptiontext xmlns="EPay.API.PaymentWindow">String content</subscriptiontext>
      <subscriptiontype xmlns="EPay.API.PaymentWindow">String content</subscriptiontype>
      <windowid xmlns="EPay.API.PaymentWindow">2147483647</windowid>
    </parameters>
    <reference xmlns="EPay.API.PaymentRequest">String content</reference>
  </paymentrequest>
</createpaymentrequestrequest>

The following is an example request Json body:

{
	"authentication":{
		"merchantnumber":"String content",
		"password":"String content"
	},
	"language":"String content",
	"localtimezone":true,
	"paymentrequest":{
		"closeafterxpayments":2147483647,
		"exactclosedate":"\/Date(928149600000+0000)\/",
		"parameters":{
			"accepturl":"String content",
			"accountinformation":"String content",
			"amount":2147483647,
			"browserinformation":"String content",
			"callbackurl":"String content",
			"cancelurl":"String content",
			"cssurl":"String content",
			"currency":"String content",
			"declinetext":"String content",
			"description":"String content",
			"group":"String content",
			"instantcapture":0,
			"invoice":"String content",
			"language":"String content",
			"lockpaymentcollection":0,
			"mailreceipt":"String content",
			"merchantrisk":"String content",
			"mobile":0,
			"mobilecssurl":"String content",
			"orderid":"String content",
			"ordertext":"String content",
			"paymentcollection":0,
			"paymenttype":"String content",
			"recurring":"String content",
			"recurringexpiration":"String content",
			"recurringfrequency":2147483647,
			"securitylevel":"String content",
			"splitpayment":0,
			"subscription":0,
			"subscriptionid":9223372036854775807,
			"subscriptionname":"String content",
			"subscriptiontext":"String content",
			"subscriptiontype":"String content",
			"windowid":2147483647
		},
		"reference":"String content"
	}
}

The following is an example response Xml body:

<createpaymentrequestresponse xmlns="EPay.API.PaymentRequest.CreatePaymentRequest.Response">
  <message xmlns="EPay.API">String content</message>
  <reason xmlns="EPay.API">ok</reason>
  <requestresponselogid xmlns="EPay.API">9223372036854775807</requestresponselogid>
  <result xmlns="EPay.API">true</result>
  <paymentrequest>
    <key>String content</key>
    <link>String content</link>
    <paymentrequestid>9223372036854775807</paymentrequestid>
  </paymentrequest>
</createpaymentrequestresponse>

The following is an example response Json body:

{
	"message":"String content",
	"reason":0,
	"requestresponselogid":9223372036854775807,
	"result":true,
	"paymentrequest":{
		"key":"String content",
		"link":"String content",
		"paymentrequestid":9223372036854775807
	}
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="EPay.API.PaymentRequest.CreatePaymentRequest.Request" elementFormDefault="qualified" targetNamespace="EPay.API.PaymentRequest.CreatePaymentRequest.Request" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="EPay.API.PaymentRequest" />
  <xs:import namespace="EPay.API.PaymentRequest.Request" />
  <xs:complexType name="createpaymentrequestrequest">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="EPay.API.PaymentRequest.Request" base="q1:request">
        <xs:sequence>
          <xs:element minOccurs="0" name="paymentrequest" nillable="true" xmlns:q2="EPay.API.PaymentRequest" type="q2:paymentrequest" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="createpaymentrequestrequest" nillable="true" type="tns:createpaymentrequestrequest" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="EPay.API.PaymentRequest.Request" elementFormDefault="qualified" targetNamespace="EPay.API.PaymentRequest.Request" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="EPay.API" />
  <xs:complexType name="request">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="EPay.API" base="q1:request">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="request" nillable="true" type="tns:request" />
</xs:schema>

<xs:schema xmlns:tns="EPay.API" elementFormDefault="qualified" targetNamespace="EPay.API" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="request">
    <xs:sequence>
      <xs:element minOccurs="0" name="authentication" nillable="true" type="tns:authentication" />
      <xs:element minOccurs="0" name="language" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="localtimezone" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="request" nillable="true" type="tns:request" />
  <xs:complexType name="authentication">
    <xs:sequence>
      <xs:element minOccurs="0" name="merchantnumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="password" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="authentication" nillable="true" type="tns:authentication" />
</xs:schema>

<xs:schema xmlns:tns="EPay.API.PaymentRequest" elementFormDefault="qualified" targetNamespace="EPay.API.PaymentRequest" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="EPay.API.PaymentWindow" />
  <xs:complexType name="paymentrequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="closeafterxpayments" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="exactclosedate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="parameters" nillable="true" xmlns:q1="EPay.API.PaymentWindow" type="q1:parameters" />
      <xs:element minOccurs="0" name="reference" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="paymentrequest" nillable="true" type="tns:paymentrequest" />
</xs:schema>

<xs:schema xmlns:tns="EPay.API.PaymentWindow" elementFormDefault="qualified" targetNamespace="EPay.API.PaymentWindow" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="parameters">
    <xs:sequence>
      <xs:element minOccurs="0" name="accepturl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="accountinformation" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="amount" type="xs:int" />
      <xs:element minOccurs="0" name="browserinformation" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="callbackurl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="cancelurl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="cssurl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="currency" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="declinetext" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="group" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="instantcapture" nillable="true" type="tns:instantcapture" />
      <xs:element minOccurs="0" name="invoice" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="language" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="lockpaymentcollection" nillable="true" type="tns:lockpaymentcollection" />
      <xs:element minOccurs="0" name="mailreceipt" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="merchantrisk" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mobile" nillable="true" type="tns:mobile" />
      <xs:element minOccurs="0" name="mobilecssurl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="orderid" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ordertext" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="paymentcollection" nillable="true" type="tns:paymentcollection" />
      <xs:element minOccurs="0" name="paymenttype" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="recurring" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="recurringexpiration" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="recurringfrequency" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="securitylevel" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="splitpayment" nillable="true" type="tns:splitpayment" />
      <xs:element minOccurs="0" name="subscription" nillable="true" type="tns:subscription" />
      <xs:element minOccurs="0" name="subscriptionid" nillable="true" type="xs:long" />
      <xs:element minOccurs="0" name="subscriptionname" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="subscriptiontext" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="subscriptiontype" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="windowid" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="parameters" nillable="true" type="tns:parameters" />
  <xs:simpleType name="instantcapture">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="manual">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="automatic">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="instantcapture" nillable="true" type="tns:instantcapture" />
  <xs:simpleType name="lockpaymentcollection">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="disabled">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="enabled">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="lockpaymentcollection" nillable="true" type="tns:lockpaymentcollection" />
  <xs:simpleType name="mobile">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="disabled">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="autodetect">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="forcemobile">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="mobile" nillable="true" type="tns:mobile" />
  <xs:simpleType name="paymentcollection">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="notdefined">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="paymentcards">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="homebanking">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="invoicepayment">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="mobilepayment">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="other">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="giftcards">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="paymentcollection" nillable="true" type="tns:paymentcollection" />
  <xs:simpleType name="splitpayment">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="disabled">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="enabled">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="splitpayment" nillable="true" type="tns:splitpayment" />
  <xs:simpleType name="subscription">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="disabled">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="createsubscription">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="updatesubscription">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="subscriptionpayment">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="normalpayment">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="subscription" nillable="true" type="tns:subscription" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="EPay.API.PaymentRequest.CreatePaymentRequest.Response" elementFormDefault="qualified" targetNamespace="EPay.API.PaymentRequest.CreatePaymentRequest.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="EPay.API.PaymentRequest" />
  <xs:complexType name="createpaymentrequestresponse">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="EPay.API.PaymentRequest" base="q1:response">
        <xs:sequence>
          <xs:element minOccurs="0" name="paymentrequest" nillable="true" type="tns:paymentrequest" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="createpaymentrequestresponse" nillable="true" type="tns:createpaymentrequestresponse" />
  <xs:complexType name="paymentrequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="key" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="link" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="paymentrequestid" type="xs:long" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="paymentrequest" nillable="true" type="tns:paymentrequest" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="EPay.API.PaymentRequest" elementFormDefault="qualified" targetNamespace="EPay.API.PaymentRequest" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="EPay.API" />
  <xs:complexType name="response">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="EPay.API" base="q1:response">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="response" nillable="true" type="tns:response" />
</xs:schema>

<xs:schema xmlns:tns="EPay.API" elementFormDefault="qualified" targetNamespace="EPay.API" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="EPay.API.Response" />
  <xs:complexType name="response">
    <xs:sequence>
      <xs:element minOccurs="0" name="message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="reason" xmlns:q1="EPay.API.Response" type="q1:reason" />
      <xs:element minOccurs="0" name="requestresponselogid" nillable="true" type="xs:long" />
      <xs:element minOccurs="0" name="result" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="response" nillable="true" type="tns:response" />
</xs:schema>

<xs:schema xmlns:tns="EPay.API.Response" elementFormDefault="qualified" targetNamespace="EPay.API.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:simpleType name="reason">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="ok">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="error">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="reason" nillable="true" type="tns:reason" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>