Reference for http://4221117.shop53.dandomain.dk/admin/WEBAPI/Endpoints/v1_0/SettingService/{KEY}/PaymentMethods/{SITEID}
Get all Payment Methods for a specific Site
Url: http://4221117.shop53.dandomain.dk/admin/WEBAPI/Endpoints/v1_0/SettingService/{KEY}/PaymentMethods/{SITEID}
HTTP Method: GET
Message direction | Format | Body |
---|---|---|
Request | N/A | The Request body is empty. |
Response | Xml | Example,Schema |
Response | Json | Example |
The following is an example response Xml body:
<ArrayOfpaymentMethod xmlns="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Setting"> <paymentMethod> <adminImage>String content</adminImage> <apiCompleteOrderSecretKey>String content</apiCompleteOrderSecretKey> <apiUrl>String content</apiUrl> <b2BGroupId>String content</b2BGroupId> <cardTypeId>String content</cardTypeId> <countries> <country> <code>String content</code> <id>2147483647</id> <name>String content</name> </country> <country> <code>String content</code> <id>2147483647</id> <name>String content</name> </country> </countries> <fee>12678967.543233</fee> <fee2>12678967.543233</fee2> <fee2IsPercent>true</fee2IsPercent> <feeDescription>String content</feeDescription> <feeIsPercent>true</feeIsPercent> <feeVat>true</feeVat> <frontendImage>String content</frontendImage> <id>2147483647</id> <merchantNumber>String content</merchantNumber> <message>String content</message> <name>String content</name> <netaxeptLanguageCode>String content</netaxeptLanguageCode> <note>String content</note> <payWindowBehavior>Popup</payWindowBehavior> <paymentGatewayType>None</paymentGatewayType> <paymentMethodFees> <paymentMethodFee> <amount>12678967.543233</amount> <buylimit>12678967.543233</buylimit> <id>2147483647</id> <percent>12678967.543233</percent> </paymentMethodFee> <paymentMethodFee> <amount>12678967.543233</amount> <buylimit>12678967.543233</buylimit> <id>2147483647</id> <percent>12678967.543233</percent> </paymentMethodFee> </paymentMethodFees> <recurringInstantCapture>true</recurringInstantCapture> <recurringIntervalDays>2147483647</recurringIntervalDays> <recurringIntervalMonths>2147483647</recurringIntervalMonths> <secretKey>String content</secretKey> <siteId>2147483647</siteId> <soloMacKey>String content</soloMacKey> <soloMacKeyVersion>String content</soloMacKeyVersion> <sortOrder>2147483647</sortOrder> <test>true</test> <useDIBSPayWindows>true</useDIBSPayWindows> <useOnlineFileSale>true</useOnlineFileSale> <usePaymentGateway>true</usePaymentGateway> <worldPayCountryCode>String content</worldPayCountryCode> </paymentMethod> <paymentMethod> <adminImage>String content</adminImage> <apiCompleteOrderSecretKey>String content</apiCompleteOrderSecretKey> <apiUrl>String content</apiUrl> <b2BGroupId>String content</b2BGroupId> <cardTypeId>String content</cardTypeId> <countries> <country> <code>String content</code> <id>2147483647</id> <name>String content</name> </country> <country> <code>String content</code> <id>2147483647</id> <name>String content</name> </country> </countries> <fee>12678967.543233</fee> <fee2>12678967.543233</fee2> <fee2IsPercent>true</fee2IsPercent> <feeDescription>String content</feeDescription> <feeIsPercent>true</feeIsPercent> <feeVat>true</feeVat> <frontendImage>String content</frontendImage> <id>2147483647</id> <merchantNumber>String content</merchantNumber> <message>String content</message> <name>String content</name> <netaxeptLanguageCode>String content</netaxeptLanguageCode> <note>String content</note> <payWindowBehavior>Popup</payWindowBehavior> <paymentGatewayType>None</paymentGatewayType> <paymentMethodFees> <paymentMethodFee> <amount>12678967.543233</amount> <buylimit>12678967.543233</buylimit> <id>2147483647</id> <percent>12678967.543233</percent> </paymentMethodFee> <paymentMethodFee> <amount>12678967.543233</amount> <buylimit>12678967.543233</buylimit> <id>2147483647</id> <percent>12678967.543233</percent> </paymentMethodFee> </paymentMethodFees> <recurringInstantCapture>true</recurringInstantCapture> <recurringIntervalDays>2147483647</recurringIntervalDays> <recurringIntervalMonths>2147483647</recurringIntervalMonths> <secretKey>String content</secretKey> <siteId>2147483647</siteId> <soloMacKey>String content</soloMacKey> <soloMacKeyVersion>String content</soloMacKeyVersion> <sortOrder>2147483647</sortOrder> <test>true</test> <useDIBSPayWindows>true</useDIBSPayWindows> <useOnlineFileSale>true</useOnlineFileSale> <usePaymentGateway>true</usePaymentGateway> <worldPayCountryCode>String content</worldPayCountryCode> </paymentMethod> </ArrayOfpaymentMethod>
The following is an example response Json body:
[{ "adminImage":"String content", "apiCompleteOrderSecretKey":"String content", "apiUrl":"String content", "b2BGroupId":"String content", "cardTypeId":"String content", "countries":[{ "code":"String content", "id":2147483647, "name":"String content" }], "fee":12678967.543233, "fee2":12678967.543233, "fee2IsPercent":true, "feeDescription":"String content", "feeIsPercent":true, "feeVat":true, "frontendImage":"String content", "id":2147483647, "merchantNumber":"String content", "message":"String content", "name":"String content", "netaxeptLanguageCode":"String content", "note":"String content", "payWindowBehavior":0, "paymentGatewayType":0, "paymentMethodFees":[{ "amount":12678967.543233, "buylimit":12678967.543233, "id":2147483647, "percent":12678967.543233 }], "recurringInstantCapture":true, "recurringIntervalDays":2147483647, "recurringIntervalMonths":2147483647, "secretKey":"String content", "siteId":2147483647, "soloMacKey":"String content", "soloMacKeyVersion":"String content", "sortOrder":2147483647, "test":true, "useDIBSPayWindows":true, "useOnlineFileSale":true, "usePaymentGateway":true, "worldPayCountryCode":"String content" }]
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Setting" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Setting" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> <xs:complexType name="ArrayOfpaymentMethod"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="paymentMethod" nillable="true" type="tns:paymentMethod" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfpaymentMethod" nillable="true" type="tns:ArrayOfpaymentMethod" /> <xs:complexType name="paymentMethod"> <xs:sequence> <xs:element minOccurs="0" name="adminImage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="apiCompleteOrderSecretKey" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="apiUrl" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="b2BGroupId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="cardTypeId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="countries" nillable="true" type="tns:ArrayOfcountry" /> <xs:element minOccurs="0" name="fee" type="xs:decimal" /> <xs:element minOccurs="0" name="fee2" type="xs:decimal" /> <xs:element minOccurs="0" name="fee2IsPercent" type="xs:boolean" /> <xs:element minOccurs="0" name="feeDescription" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="feeIsPercent" type="xs:boolean" /> <xs:element minOccurs="0" name="feeVat" type="xs:boolean" /> <xs:element minOccurs="0" name="frontendImage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="id" type="xs:int" /> <xs:element minOccurs="0" name="merchantNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="message" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="netaxeptLanguageCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="note" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="payWindowBehavior" type="tns:windowBehavior" /> <xs:element minOccurs="0" name="paymentGatewayType" type="tns:paymentMethodGatewayType" /> <xs:element minOccurs="0" name="paymentMethodFees" nillable="true" type="tns:ArrayOfpaymentMethodFee" /> <xs:element minOccurs="0" name="recurringInstantCapture" type="xs:boolean" /> <xs:element minOccurs="0" name="recurringIntervalDays" type="xs:int" /> <xs:element minOccurs="0" name="recurringIntervalMonths" type="xs:int" /> <xs:element minOccurs="0" name="secretKey" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="siteId" type="xs:int" /> <xs:element minOccurs="0" name="soloMacKey" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="soloMacKeyVersion" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="sortOrder" type="xs:int" /> <xs:element minOccurs="0" name="test" type="xs:boolean" /> <xs:element minOccurs="0" name="useDIBSPayWindows" type="xs:boolean" /> <xs:element minOccurs="0" name="useOnlineFileSale" type="xs:boolean" /> <xs:element minOccurs="0" name="usePaymentGateway" type="xs:boolean" /> <xs:element minOccurs="0" name="worldPayCountryCode" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="paymentMethod" nillable="true" type="tns:paymentMethod" /> <xs:complexType name="ArrayOfcountry"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="country" nillable="true" type="tns:country" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfcountry" nillable="true" type="tns:ArrayOfcountry" /> <xs:complexType name="country"> <xs:sequence> <xs:element minOccurs="0" name="code" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="id" type="xs:int" /> <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="country" nillable="true" type="tns:country" /> <xs:simpleType name="windowBehavior"> <xs:restriction base="xs:string"> <xs:enumeration value="Popup" /> <xs:enumeration value="FullScreen" /> <xs:enumeration value="Integrated" /> </xs:restriction> </xs:simpleType> <xs:element name="windowBehavior" nillable="true" type="tns:windowBehavior" /> <xs:simpleType name="paymentMethodGatewayType"> <xs:restriction base="xs:string"> <xs:enumeration value="None" /> <xs:enumeration value="Nordea"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="DDPay"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="DeltaPay"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="WorldPay"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="DDEdakort"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="eWire"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="DD3Dsecure"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NetAxept"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">10</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="DNB"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">11</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="DDRecurring"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">12</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="PayPal"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">13</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="MicroPayments"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">14</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="FourTMobile"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">15</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="ViaBill"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="MobilePay"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">17</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="PayApi"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">100</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:element name="paymentMethodGatewayType" nillable="true" type="tns:paymentMethodGatewayType" /> <xs:complexType name="ArrayOfpaymentMethodFee"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="paymentMethodFee" nillable="true" type="tns:paymentMethodFee" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfpaymentMethodFee" nillable="true" type="tns:ArrayOfpaymentMethodFee" /> <xs:complexType name="paymentMethodFee"> <xs:sequence> <xs:element minOccurs="0" name="amount" type="xs:decimal" /> <xs:element minOccurs="0" name="buylimit" type="xs:decimal" /> <xs:element minOccurs="0" name="id" type="xs:int" /> <xs:element minOccurs="0" name="percent" type="xs:decimal" /> </xs:sequence> </xs:complexType> <xs:element name="paymentMethodFee" nillable="true" type="tns:paymentMethodFee" /> </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>
<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>