Retrieve Facility Account Configuration

Every facility account has a preset contract value like fees and commission rates. These can be retrieved by asking for a specific contract prefix. Use the GetFacilityAccountConfiguration SOAP API for this purpose.

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:deb="Debitsuccess.WebServices.WCF" xmlns:deb1="http://schemas.datacontract.org/2004/07/Debitsuccess.WebServices.Core"> <soapenv:Header/> <soapenv:Body> <deb:GetFacilityAccountConfiguration> <deb:request> <deb1:DateCreated>2020-09-22</deb1:DateCreated> <deb1:Id>333</deb1:Id> <deb1:RequestInitiator>Kin333</deb1:RequestInitiator> <deb1:User> <deb1:Id>33333</deb1:Id> <deb1:Password>#Password</deb1:Password> <deb1:Username>Username</deb1:Username> </deb1:User> <deb1:ContractPrefix>DEA2</deb1:ContractPrefix> </deb:request> </deb:GetFacilityAccountConfiguration> </soapenv:Body> </soapenv:Envelope>

Sample Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <ActivityId CorrelationId="11b369d0-d388-4dbd-b662-2e89ce25b97e" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">00000000-0000-0000-0000-000000000000</ActivityId> </s:Header> <s:Body> <GetFacilityAccountConfigurationResponse xmlns="Debitsuccess.WebServices.WCF"> <GetFacilityAccountConfigurationResult xmlns:a="http://schemas.datacontract.org/2004/07/Debitsuccess.WebServices.Core" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <a:DateCreated>2021-02-11T17:41:36.2391408+13:00</a:DateCreated> <a:Id>f0ac03ca-fcac-4ba0-a92b-d2d9ccf5d549</a:Id> <a:ResponseNotes> <a:ResponseMessageNote> <a:Code>00</a:Code> <a:Note>Success</a:Note> <a:NoteType>Info</a:NoteType> </a:ResponseMessageNote> </a:ResponseNotes> <a:Status>Succeed</a:Status> <a:CCCommissionRate>1.6716</a:CCCommissionRate> <a:CCCommissionType>Percentage</a:CCCommissionType> <a:COCommissionRate>3.8462</a:COCommissionRate> <a:COCommissionType>Percentage</a:COCommissionType> <a:DDCommissionRate>0.6000</a:DDCommissionRate> <a:DDCommissionType>PerTransaction</a:DDCommissionType> <a:EstablishmentFeeAmount>0</a:EstablishmentFeeAmount> <a:EstablishmentFeePayer>NoEstablishmentFee</a:EstablishmentFeePayer> <a:EstablishmentFeePercent>0</a:EstablishmentFeePercent> <a:PenaltyFeeAmount>9.90</a:PenaltyFeeAmount> <a:PenaltyFeePayer>CustomerPays</a:PenaltyFeePayer> </GetFacilityAccountConfigurationResult> </GetFacilityAccountConfigurationResponse> </s:Body> </s:Envelope>

Related Articles

 

© 2021 Debitsuccess. All rights reserved