Reference for https://paymentrequest.api.epay.eu/v1/transaction/get/
Get transaction payment request information
Url: https://paymentrequest.api.epay.eu/v1/transaction/get/
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:
<gettransactionrequest xmlns="EPay.API.PaymentRequest.Transaction.GetTransaction.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> <paymentrequestid>9223372036854775807</paymentrequestid> </paymentrequest> <transaction> <transactionid>9223372036854775807</transactionid> </transaction> </gettransactionrequest>
The following is an example request Json body:
{ "authentication":{ "merchantnumber":"String content", "password":"String content" }, "language":"String content", "localtimezone":true, "paymentrequest":{ "paymentrequestid":9223372036854775807 }, "transaction":{ "transactionid":9223372036854775807 } }
The following is an example response Xml body:
<gettransactionresponse xmlns="EPay.API.PaymentRequest.Transaction.GetTransaction.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> <transaction> <created>1999-05-31T11:20:00</created> <inputlist> <input> <name>String content</name> <value>String content</value> </input> <input> <name>String content</name> <value>String content</value> </input> </inputlist> <transactionid>9223372036854775807</transactionid> </transaction> </gettransactionresponse>
The following is an example response Json body:
{ "message":"String content", "reason":0, "requestresponselogid":9223372036854775807, "result":true, "transaction":{ "created":"\/Date(928149600000+0000)\/", "inputlist":[{ "name":"String content", "value":"String content" }], "transactionid":9223372036854775807 } }
The following is the request Xml Schema:
<xs:schema xmlns:tns="EPay.API.PaymentRequest.Transaction.GetTransaction.Request" elementFormDefault="qualified" targetNamespace="EPay.API.PaymentRequest.Transaction.GetTransaction.Request" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="EPay.API.PaymentRequest.Request" /> <xs:complexType name="gettransactionrequest"> <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" type="tns:paymentrequest" /> <xs:element minOccurs="0" name="transaction" nillable="true" type="tns:transaction" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="gettransactionrequest" nillable="true" type="tns:gettransactionrequest" /> <xs:complexType name="paymentrequest"> <xs:sequence> <xs:element minOccurs="0" name="paymentrequestid" type="xs:long" /> </xs:sequence> </xs:complexType> <xs:element name="paymentrequest" nillable="true" type="tns:paymentrequest" /> <xs:complexType name="transaction"> <xs:sequence> <xs:element minOccurs="0" name="transactionid" type="xs:long" /> </xs:sequence> </xs:complexType> <xs:element name="transaction" nillable="true" type="tns:transaction" /> </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>
<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.Transaction.GetTransaction.Response" elementFormDefault="qualified" targetNamespace="EPay.API.PaymentRequest.Transaction.GetTransaction.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="EPay.API.PaymentRequest" /> <xs:complexType name="gettransactionresponse"> <xs:complexContent mixed="false"> <xs:extension xmlns:q1="EPay.API.PaymentRequest" base="q1:response"> <xs:sequence> <xs:element minOccurs="0" name="transaction" nillable="true" type="tns:transaction" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="gettransactionresponse" nillable="true" type="tns:gettransactionresponse" /> <xs:complexType name="transaction"> <xs:sequence> <xs:element minOccurs="0" name="created" type="xs:dateTime" /> <xs:element minOccurs="0" name="inputlist" nillable="true" type="tns:inputlist" /> <xs:element minOccurs="0" name="transactionid" type="xs:long" /> </xs:sequence> </xs:complexType> <xs:element name="transaction" nillable="true" type="tns:transaction" /> <xs:complexType name="inputlist"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="input" nillable="true" type="tns:input" /> </xs:sequence> </xs:complexType> <xs:element name="inputlist" nillable="true" type="tns:inputlist" /> <xs:complexType name="input"> <xs:sequence> <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="value" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="input" nillable="true" type="tns:input" /> </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>