POST,GET | /api/PaymentGateway/GetAllPublicCreatablePaymentGatewaysForCountry |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/PaymentGateway/GetAllPublicCreatablePaymentGatewaysForCountry HTTP/1.1
Host: api.clubmanagercentral.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<PaymentGatewayService.GetAllPublicCreatablePaymentGatewaysForCountryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services">
<CountryCode>String</CountryCode>
</PaymentGatewayService.GetAllPublicCreatablePaymentGatewaysForCountryRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfPaymentGateway xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Interfaces.Models.PaymentGateway"> <PaymentGateway> <AccountingStartDate>0001-01-01T00:00:00</AccountingStartDate> <BankAccount>String</BankAccount> <BranchId>0</BranchId> <Created>0001-01-01T00:00:00</Created> <Creditor> <AddressLine1>String</AddressLine1> <AddressLine2>String</AddressLine2> <AddressLine3>String</AddressLine3> <City>String</City> <Countries xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>String</d4p1:string> </Countries> <CountryCode>String</CountryCode> <Id>String</Id> <Name>String</Name> <PostalCode>String</PostalCode> <Region>String</Region> <Schemes> <Scheme> <Email>String</Email> <Id>String</Id> <PhoneNumber>String</PhoneNumber> <Reference>String</Reference> </Scheme> </Schemes> <TermsAndConditionsUrl>String</TermsAndConditionsUrl> </Creditor> <Currency>String</Currency> <Disabled>false</Disabled> <DisabledReason>String</DisabledReason> <GatewayType>Stripe</GatewayType> <IsDefault>false</IsDefault> <IsPublic>false</IsPublic> <Metadata>String</Metadata> <Name>String</Name> <PaymentGatewayId>0</PaymentGatewayId> <Token>String</Token> <TypeName>String</TypeName> </PaymentGateway> </ArrayOfPaymentGateway>