Reference for https://tokenize-v1.api-eu.bambora.com/scopes/{SCOPE}/paymentcards/{TOKENID}/merchantinitiated/authorize
Url: https://tokenize-v1.api-eu.bambora.com/scopes/{SCOPE}/paymentcards/{TOKENID}/merchantinitiated/authorize
HTTP Method: POST
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:
<merchantinitiatedauthorize xmlns="EPay.Webservice.Tokenize.Request"> <authorize> <amount xmlns="EPay.Webservice.Common.Request">2147483647</amount> <amountaccurate xmlns="EPay.Webservice.Common.Request">true</amountaccurate> <capturemulti xmlns="EPay.Webservice.Common.Request">true</capturemulti> <currency xmlns="EPay.Webservice.Common.Request">String content</currency> <fee xmlns="EPay.Webservice.Common.Request"> <addfee>String content</addfee> <amount>2147483647</amount> <id>2147483647</id> </fee> <instantcaptureamount xmlns="EPay.Webservice.Common.Request">2147483647</instantcaptureamount> <merchantdata xmlns="EPay.Webservice.Common.Request"> <merchantdata xmlns="EPay.Webservice.Common"> <key>String content</key> <value>String content</value> </merchantdata> <merchantdata xmlns="EPay.Webservice.Common"> <key>String content</key> <value>String content</value> </merchantdata> </merchantdata> <orderid xmlns="EPay.Webservice.Common.Request">String content</orderid> <reference xmlns="EPay.Webservice.Common.Request">String content</reference> <references xmlns="EPay.Webservice.Common.Request"> <transactionreference> <type>String content</type> <value>String content</value> </transactionreference> <transactionreference> <type>String content</type> <value>String content</value> </transactionreference> </references> </authorize> <invoice> <currency xmlns="EPay.Webservice.Common">String content</currency> <customer xmlns="EPay.Webservice.Common"> <address>String content</address> <attention>String content</attention> <city>String content</city> <country>String content</country> <emailaddress>String content</emailaddress> <firstname>String content</firstname> <homephonenumber>String content</homephonenumber> <lastname>String content</lastname> <phonenumber>String content</phonenumber> <state>String content</state> <workphonenumber>String content</workphonenumber> <zip>String content</zip> </customer> <lines xmlns="EPay.Webservice.Common"> <invoiceline> <description>String content</description> <id>String content</id> <linenumber>String content</linenumber> <quantity>1.26743233E+15</quantity> <text>String content</text> <totalprice>2147483647</totalprice> <totalpriceinclvat>2147483647</totalpriceinclvat> <totalpricevatamount>2147483647</totalpricevatamount> <unit>String content</unit> <unitprice>2147483647</unitprice> <unitpriceinclvat>2147483647</unitpriceinclvat> <unitpricevatamount>2147483647</unitpricevatamount> <vat>1.26743233E+15</vat> </invoiceline> <invoiceline> <description>String content</description> <id>String content</id> <linenumber>String content</linenumber> <quantity>1.26743233E+15</quantity> <text>String content</text> <totalprice>2147483647</totalprice> <totalpriceinclvat>2147483647</totalpriceinclvat> <totalpricevatamount>2147483647</totalpricevatamount> <unit>String content</unit> <unitprice>2147483647</unitprice> <unitpriceinclvat>2147483647</unitpriceinclvat> <unitpricevatamount>2147483647</unitpricevatamount> <vat>1.26743233E+15</vat> </invoiceline> </lines> <shippingaddress xmlns="EPay.Webservice.Common"> <address>String content</address> <attention>String content</attention> <city>String content</city> <country>String content</country> <firstname>String content</firstname> <lastname>String content</lastname> <phonenumber>String content</phonenumber> <state>String content</state> <zip>String content</zip> </shippingaddress> <store xmlns="EPay.Webservice.Common"> <address>String content</address> <attention>String content</attention> <city>String content</city> <country>String content</country> <emailaddress>String content</emailaddress> <faxnumber>String content</faxnumber> <id>String content</id> <name>String content</name> <phonenumber>String content</phonenumber> <vatnumber>String content</vatnumber> <webaddress>String content</webaddress> <zip>String content</zip> </store> <total xmlns="EPay.Webservice.Common"> <amount>2147483647</amount> <amountinclvat>2147483647</amountinclvat> <vatamount>2147483647</vatamount> </total> </invoice> </merchantinitiatedauthorize>
The following is an example request Json body:
{ "authorize":{ "amount":2147483647, "amountaccurate":true, "capturemulti":true, "currency":"String content", "fee":{ "addfee":"String content", "amount":2147483647, "id":2147483647 }, "instantcaptureamount":2147483647, "merchantdata":[{ "key":"String content", "value":"String content" }], "orderid":"String content", "reference":"String content", "references":[{ "type":"String content", "value":"String content" }] }, "invoice":{ "currency":"String content", "customer":{ "address":"String content", "attention":"String content", "city":"String content", "country":"String content", "emailaddress":"String content", "firstname":"String content", "homephonenumber":"String content", "lastname":"String content", "phonenumber":"String content", "state":"String content", "workphonenumber":"String content", "zip":"String content" }, "lines":[{ "description":"String content", "id":"String content", "linenumber":"String content", "quantity":1.26743233E+15, "text":"String content", "totalprice":2147483647, "totalpriceinclvat":2147483647, "totalpricevatamount":2147483647, "unit":"String content", "unitprice":2147483647, "unitpriceinclvat":2147483647, "unitpricevatamount":2147483647, "vat":1.26743233E+15 }], "shippingaddress":{ "address":"String content", "attention":"String content", "city":"String content", "country":"String content", "firstname":"String content", "lastname":"String content", "phonenumber":"String content", "state":"String content", "zip":"String content" }, "store":{ "address":"String content", "attention":"String content", "city":"String content", "country":"String content", "emailaddress":"String content", "faxnumber":"String content", "id":"String content", "name":"String content", "phonenumber":"String content", "vatnumber":"String content", "webaddress":"String content", "zip":"String content" }, "total":{ "amount":2147483647, "amountinclvat":2147483647, "vatamount":2147483647 } } }
The following is an example response Xml body:
<scopedmerchantinitiatedauthorizepaymentcardresponse xmlns="EPay.Webservice.Tokenize.Response"> <meta xmlns="EPay.Webservice.Common.Response"> <action> <code>String content</code> <source>String content</source> <type>String content</type> </action> <message> <enduser>String content</enduser> <merchant>String content</merchant> </message> <paging> <itemsreturned xmlns="EPay.Webservice.Common">9223372036854775807</itemsreturned> <lastevaluatedkey xmlns="EPay.Webservice.Common">String content</lastevaluatedkey> </paging> <result>true</result> </meta> <fee xmlns="EPay.Webservice.Common.Response"> <amount>2147483647</amount> <id>String content</id> </fee> <transactionid xmlns="EPay.Webservice.Common.Response">String content</transactionid> <transactionoperations xmlns="EPay.Webservice.Common.Response"> <transactionoperation xmlns="EPay.Webservice.Common.Response.Authorize"> <action>String content</action> <id>String content</id> <subaction>String content</subaction> </transactionoperation> <transactionoperation xmlns="EPay.Webservice.Common.Response.Authorize"> <action>String content</action> <id>String content</id> <subaction>String content</subaction> </transactionoperation> </transactionoperations> <authorizedamount>2147483647</authorizedamount> </scopedmerchantinitiatedauthorizepaymentcardresponse>
The following is an example response Json body:
{ "meta":{ "action":{ "code":"String content", "source":"String content", "type":"String content" }, "message":{ "enduser":"String content", "merchant":"String content" }, "paging":{ "itemsreturned":9223372036854775807, "lastevaluatedkey":"String content" }, "result":true }, "fee":{ "amount":2147483647, "id":"String content" }, "transactionid":"String content", "transactionoperations":[{ "action":"String content", "id":"String content", "subaction":"String content" }], "authorizedamount":2147483647 }
The following is the request Xml Schema:
<xs:schema xmlns:tns="EPay.Webservice.Tokenize.Request" elementFormDefault="qualified" targetNamespace="EPay.Webservice.Tokenize.Request" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="EPay.Webservice.Common.Request" /> <xs:import namespace="EPay.Webservice.Common" /> <xs:complexType name="merchantinitiatedauthorize"> <xs:sequence> <xs:element minOccurs="0" name="authorize" nillable="true" xmlns:q1="EPay.Webservice.Common.Request" type="q1:authorize" /> <xs:element minOccurs="0" name="invoice" nillable="true" xmlns:q2="EPay.Webservice.Common" type="q2:invoice" /> </xs:sequence> </xs:complexType> <xs:element name="merchantinitiatedauthorize" nillable="true" type="tns:merchantinitiatedauthorize" /> </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.Webservice.Common.Request" elementFormDefault="qualified" targetNamespace="EPay.Webservice.Common.Request" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="EPay.Webservice.Common" /> <xs:complexType name="authorize"> <xs:sequence> <xs:element minOccurs="0" name="amount" type="xs:int" /> <xs:element minOccurs="0" name="amountaccurate" nillable="true" type="xs:boolean" /> <xs:element minOccurs="0" name="capturemulti" nillable="true" type="xs:boolean" /> <xs:element minOccurs="0" name="currency" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="fee" nillable="true" type="tns:fee" /> <xs:element minOccurs="0" name="instantcaptureamount" type="xs:int" /> <xs:element minOccurs="0" name="merchantdata" nillable="true" xmlns:q1="EPay.Webservice.Common" type="q1:ArrayOfmerchantdata" /> <xs:element minOccurs="0" name="orderid" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="reference" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="references" nillable="true" type="tns:ArrayOftransactionreference" /> </xs:sequence> </xs:complexType> <xs:element name="authorize" nillable="true" type="tns:authorize" /> <xs:complexType name="fee"> <xs:sequence> <xs:element minOccurs="0" name="addfee" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="amount" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="id" nillable="true" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="fee" nillable="true" type="tns:fee" /> <xs:complexType name="ArrayOftransactionreference"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="transactionreference" nillable="true" type="tns:transactionreference" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOftransactionreference" nillable="true" type="tns:ArrayOftransactionreference" /> <xs:complexType name="transactionreference"> <xs:sequence> <xs:element minOccurs="0" name="type" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="value" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="transactionreference" nillable="true" type="tns:transactionreference" /> </xs:schema>
<xs:schema xmlns:tns="EPay.Webservice.Common" elementFormDefault="qualified" targetNamespace="EPay.Webservice.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="ArrayOfmerchantdata"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="merchantdata" nillable="true" type="tns:merchantdata" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfmerchantdata" nillable="true" type="tns:ArrayOfmerchantdata" /> <xs:complexType name="merchantdata"> <xs:sequence> <xs:element minOccurs="0" name="key" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="value" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="merchantdata" nillable="true" type="tns:merchantdata" /> <xs:complexType name="invoice"> <xs:sequence> <xs:element minOccurs="0" name="currency" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="customer" nillable="true" type="tns:invoicecustomer" /> <xs:element minOccurs="0" name="lines" nillable="true" type="tns:ArrayOfinvoiceline" /> <xs:element minOccurs="0" name="shippingaddress" nillable="true" type="tns:invoiceshippingaddress" /> <xs:element minOccurs="0" name="store" nillable="true" type="tns:invoicestore" /> <xs:element minOccurs="0" name="total" nillable="true" type="tns:invoicetotal" /> </xs:sequence> </xs:complexType> <xs:element name="invoice" nillable="true" type="tns:invoice" /> <xs:complexType name="invoicecustomer"> <xs:sequence> <xs:element minOccurs="0" name="address" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="attention" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="city" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="country" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="emailaddress" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="firstname" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="homephonenumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="lastname" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="phonenumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="state" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="workphonenumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="zip" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="invoicecustomer" nillable="true" type="tns:invoicecustomer" /> <xs:complexType name="ArrayOfinvoiceline"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="invoiceline" nillable="true" type="tns:invoiceline" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfinvoiceline" nillable="true" type="tns:ArrayOfinvoiceline" /> <xs:complexType name="invoiceline"> <xs:sequence> <xs:element minOccurs="0" name="description" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="id" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="linenumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="quantity" nillable="true" type="xs:double" /> <xs:element minOccurs="0" name="text" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="totalprice" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="totalpriceinclvat" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="totalpricevatamount" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="unit" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="unitprice" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="unitpriceinclvat" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="unitpricevatamount" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="vat" nillable="true" type="xs:double" /> </xs:sequence> </xs:complexType> <xs:element name="invoiceline" nillable="true" type="tns:invoiceline" /> <xs:complexType name="invoiceshippingaddress"> <xs:sequence> <xs:element minOccurs="0" name="address" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="attention" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="city" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="country" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="firstname" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="lastname" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="phonenumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="state" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="zip" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="invoiceshippingaddress" nillable="true" type="tns:invoiceshippingaddress" /> <xs:complexType name="invoicestore"> <xs:sequence> <xs:element minOccurs="0" name="address" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="attention" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="city" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="country" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="emailaddress" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="faxnumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="id" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="phonenumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="vatnumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="webaddress" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="zip" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="invoicestore" nillable="true" type="tns:invoicestore" /> <xs:complexType name="invoicetotal"> <xs:sequence> <xs:element minOccurs="0" name="amount" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="amountinclvat" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="vatamount" nillable="true" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="invoicetotal" nillable="true" type="tns:invoicetotal" /> </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.Webservice.Tokenize.Response" elementFormDefault="qualified" targetNamespace="EPay.Webservice.Tokenize.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="EPay.Webservice.Common.Response" /> <xs:complexType name="scopedmerchantinitiatedauthorizepaymentcardresponse"> <xs:complexContent mixed="false"> <xs:extension xmlns:q1="EPay.Webservice.Common.Response" base="q1:authorizeresponse"> <xs:sequence> <xs:element minOccurs="0" name="authorizedamount" type="xs:int" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="scopedmerchantinitiatedauthorizepaymentcardresponse" nillable="true" type="tns:scopedmerchantinitiatedauthorizepaymentcardresponse" /> </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.Webservice.Common.Response" elementFormDefault="qualified" targetNamespace="EPay.Webservice.Common.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="EPay.Webservice.Common.Response.Authorize" /> <xs:import namespace="EPay.Webservice.Common" /> <xs:complexType name="authorizeresponse"> <xs:complexContent mixed="false"> <xs:extension base="tns:response"> <xs:sequence> <xs:element minOccurs="0" name="fee" nillable="true" type="tns:fee" /> <xs:element minOccurs="0" name="transactionid" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="transactionoperations" nillable="true" xmlns:q1="EPay.Webservice.Common.Response.Authorize" type="q1:ArrayOftransactionoperation" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="authorizeresponse" nillable="true" type="tns:authorizeresponse" /> <xs:complexType name="response"> <xs:sequence> <xs:element minOccurs="0" name="meta" nillable="true" type="tns:meta" /> </xs:sequence> </xs:complexType> <xs:element name="response" nillable="true" type="tns:response" /> <xs:complexType name="meta"> <xs:sequence> <xs:element minOccurs="0" name="action" nillable="true" type="tns:action" /> <xs:element minOccurs="0" name="message" nillable="true" type="tns:message" /> <xs:element minOccurs="0" name="paging" nillable="true" xmlns:q2="EPay.Webservice.Common" type="q2:paging"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="result" type="xs:boolean" /> </xs:sequence> </xs:complexType> <xs:element name="meta" nillable="true" type="tns:meta" /> <xs:complexType name="action"> <xs:sequence> <xs:element minOccurs="0" name="code" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="source" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="type" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="action" nillable="true" type="tns:action" /> <xs:complexType name="message"> <xs:sequence> <xs:element minOccurs="0" name="enduser" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="merchant" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="message" nillable="true" type="tns:message" /> <xs:complexType name="fee"> <xs:sequence> <xs:element minOccurs="0" name="amount" type="xs:int" /> <xs:element minOccurs="0" name="id" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="fee" nillable="true" type="tns:fee" /> </xs:schema>
<xs:schema xmlns:tns="EPay.Webservice.Common" elementFormDefault="qualified" targetNamespace="EPay.Webservice.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="paging"> <xs:sequence> <xs:element minOccurs="0" name="itemsreturned" type="xs:long" /> <xs:element minOccurs="0" name="lastevaluatedkey" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="paging" nillable="true" type="tns:paging" /> </xs:schema>
<xs:schema xmlns:tns="EPay.Webservice.Common.Response.Authorize" elementFormDefault="qualified" targetNamespace="EPay.Webservice.Common.Response.Authorize" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="ArrayOftransactionoperation"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="transactionoperation" nillable="true" type="tns:transactionoperation" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOftransactionoperation" nillable="true" type="tns:ArrayOftransactionoperation" /> <xs:complexType name="transactionoperation"> <xs:sequence> <xs:element minOccurs="0" name="action" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="id" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="subaction" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="transactionoperation" nillable="true" type="tns:transactionoperation" /> </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>