Getting the information on the available payment methods. In response to this request WebSkyTech will return the following parameters:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ver="***">
<soapenv:Header/>
<soapenv:Body>
<ver:GetOrderPaymentGateways>
<Request>
<RequestBody>
<OrderID>500243</OrderID>
</RequestBody>
<Requisites>
<AuthToken>YOUR_TOKEN</AuthToken>
</Requisites>
<UserID>YOUR_ID</UserID>
</Request>
</ver:GetOrderPaymentGateways>
</soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="***" xmlns:xsi="***">
<SOAP-ENV:Body>
<ns1:GetOrderPaymentGatewaysResponse>
<ResponseBin>
<OrderID>500243</OrderID>
<PaymentGateways>
<Gateway>
<PaymentMethodId>2340</PaymentMethodId>
<GatewayName>Card payment</GatewayName>
<PaymentCharge Currency="EUR">0</PaymentCharge>
<RedirectUrl>http://domain/payment__select_outside?booking_id=509576&one_time_booking_code=***&method=2340</RedirectUrl>
<UrlToCatch xsi:nil="true"/>
<UrlForCardDataSubmit>***</UrlForCardDataSubmit>
<CardDataRequestContent>{"ver":2,"txns":[{"pan":"{proxy-placeholder-cardNumber}","exp":"{proxy-placeholder-validThruYear}{proxy-placeholder-validThruMonth}","cvv":"{proxy-placeholder-securityCode}","amt":***,"cy":"RUB","holder":"{proxy-placeholder-holderName}","phone":"+XXXXXXXXXXX","email":"[email protected]"}],"device":{"ip":"{proxy-placeholder-customerIp}","agent":"{proxy-placeholder-customerAgent}"}}</CardDataRequestContent>
<RequestType>POST</RequestType>
</Gateway>
<Gateway>
<PaymentMethodId>2359</PaymentMethodId>
<GatewayName>Payonline</GatewayName>
<PaymentCharge Currency="EUR">0</PaymentCharge>
<RedirectUrl>http://domain/payment__select_outside?booking_id=509576&one_time_booking_code=***&method=2359</RedirectUrl>
<UrlToCatch xsi:nil="true"/>
<UrlForCardDataSubmit xsi:nil="true"/>
<CardDataRequestContent xsi:nil="true"/>
<RequestType xsi:nil="true"/>
</Gateway>
</PaymentGateways>
</ResponseBin>
</ns1:GetOrderPaymentGatewaysResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>