API/EndUser/Account/makeAdHocPayment
From Emersion
makeAdHocPayment
Purpose Make a payment to the current account
Inputs
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:acc="http://api-uat.emersion.com.au/AccountObjects"> <soapenv:Header/> <soapenv:Body> <acc:makeAdHocPayment> <acc:username>emesupport@telechoice.com.au</acc:username> <acc:password>*******</acc:password> <acc:amount>5</acc:amount> </acc:makeAdHocPayment> </soapenv:Body> </soapenv:Envelope>
Outputs
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api-uat.emersion.com.au/AccountObjects"> <SOAP-ENV:Body> <ns1:makeAdHocPaymentResponse> <ns1:result>1</ns1:result> <ns1:receipt>1</ns1:receipt> <ns1:processed>2014-11-14</ns1:processed> </ns1:makeAdHocPaymentResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Error String:
- Invalid username / password
- Missing payment details
- Missing payment information
- Missing credit card
- Missing credit card token
- Payment didn't execute