Request to verify if a cash withdrawal is valid.
SuBject | URL |
WSDL | |
End Point URL | |
Operation | VerifyCashWithdrawal |
The following input parameters are available in the request.
Parameter | Mandatory | Description |
SessionID | Y | SessionID returned by the Login Request |
AccountNumber | Y | The AccountNumber of the account where the check must be done. |
Amount | Y | The Amount which must be checked, if it can be withdrawn. |
Currency | Y | The Currency which the withdrawal should be done in. |
SOAP 1.2 Definition
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08"> <soapenv:Header> <ns:SessionId>string</ns:SessionId> </soapenv:Header> <soapenv:Body> <ns:VerifyCashWithdrawalRequest> <!-Optional:-> <ns:AccountNumber>string</ns:AccountNumber> <!-Optional:-> <ns:Amount>decimal</ns:Amount> <!-Optional:-> <ns:Currency>string</ns:Currency> </ns:VerifyCashWithdrawalRequest> </soapenv:Body> </soapenv:Envelope>
Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <ActivityId CorrelationId="ffa092ac-e97b-48e6-b418-3f560a059950" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">2652c10a-681c-42f3-a412-37bc17573f64</ActivityId> </s:Header> <s:Body> <VerifyCashWithdrawalResponse xmlns="http://www.saxobank.com/service/cms/2013/08"> <Valid>bool</Valid> </VerifyCashWithdrawalResponse> </s:Body> </s:Envelope>
Code Examples
Code example 44: VerifyCashWithdrawal Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08"> <soapenv:Header> <ns:SessionId>QAs01NW22ajBAsjFZTGM</ns:SessionId> </soapenv:Header> <soapenv:Body> <ns:VerifyCashWithdrawalRequest> <ns:AccountNumber>33930/Test125</ns:AccountNumber> <ns:Amount>0.6</ns:Amount> <ns:Currency>USD</ns:Currency> </ns:VerifyCashWithdrawalRequest> </soapenv:Body> </soapenv:Envelope>
Code example 45: VerifyCashWithdrawal Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <ActivityId CorrelationId="ffa092ac-e97b-48e6-b418-3f560a059950" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">2652c10a-681c-42f3-a412-37bc17573f64</ActivityId> </s:Header> <s:Body> <VerifyCashWithdrawalResponse xmlns="http://www.saxobank.com/service/cms/2013/08"> <Valid>true</Valid> </VerifyCashWithdrawalResponse> </s:Body> </s:Envelope>