IcelandicOnlineBankingPaymentsService
Click here for a complete list of operations.
DoPayment
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /IcelandicOnlineBankingPaymentsService HTTP/1.1 Host: spsh-iobs.heimabanki.is Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://IcelandicOnlineBanking/2005/12/01/DoPayment" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <DoPayment xmlns="http://IcelandicOnlineBanking/2005/12/01/Payments"> <payment> <Out xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Account>string</Account> <AccountOwnerID>string</AccountOwnerID> <CategoryCode>string</CategoryCode> <Reference>string</Reference> <BillNumber>string</BillNumber> <Receipt> <PostalMail xsi:nil="true" /> <EMail xsi:nil="true" /> <EMail xsi:nil="true" /> <SMS xsi:nil="true" /> <SMS xsi:nil="true" /> </Receipt> </Out> <In xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Amount>decimal</Amount> <Receipt> <PostalMail xsi:nil="true" /> <EMail xsi:nil="true" /> <EMail xsi:nil="true" /> <SMS xsi:nil="true" /> <SMS xsi:nil="true" /> </Receipt> <Description>string</Description> <BookingID>string</BookingID> </In> <DateOfForwardPayment xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">date</DateOfForwardPayment> </payment> </DoPayment> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <DoPaymentResponse xmlns="http://IcelandicOnlineBanking/2005/12/01/Payments"> <paymentsResult> <ID xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">string</ID> <Status xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">InProgress or Completed or CompletedWithErrors or Cancelled or OnHold or NotConfirmed</Status> <Success xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Amount>decimal</Amount> <Receipt> <PostalMail xsi:nil="true" /> <EMail xsi:nil="true" /> <EMail xsi:nil="true" /> <SMS xsi:nil="true" /> <SMS xsi:nil="true" /> </Receipt> <Description>string</Description> <BookingID>string</BookingID> </Success> <Success xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Amount>decimal</Amount> <Receipt> <PostalMail xsi:nil="true" /> <EMail xsi:nil="true" /> <EMail xsi:nil="true" /> <SMS xsi:nil="true" /> <SMS xsi:nil="true" /> </Receipt> <Description>string</Description> <BookingID>string</BookingID> </Success> <Errors xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Payment> <Amount>decimal</Amount> <Receipt xsi:nil="true" /> <Description>string</Description> <BookingID>string</BookingID> </Payment> <Error> <Code xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">string</Code> <Message xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">string</Message> </Error> </Errors> <Errors xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Payment> <Amount>decimal</Amount> <Receipt xsi:nil="true" /> <Description>string</Description> <BookingID>string</BookingID> </Payment> <Error> <Code xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">string</Code> <Message xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">string</Message> </Error> </Errors> <DateOfPayment xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">dateTime</DateOfPayment> </paymentsResult> </DoPaymentResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /IcelandicOnlineBankingPaymentsService HTTP/1.1 Host: spsh-iobs.heimabanki.is Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <DoPayment xmlns="http://IcelandicOnlineBanking/2005/12/01/Payments"> <payment> <Out xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Account>string</Account> <AccountOwnerID>string</AccountOwnerID> <CategoryCode>string</CategoryCode> <Reference>string</Reference> <BillNumber>string</BillNumber> <Receipt> <PostalMail xsi:nil="true" /> <EMail xsi:nil="true" /> <EMail xsi:nil="true" /> <SMS xsi:nil="true" /> <SMS xsi:nil="true" /> </Receipt> </Out> <In xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Amount>decimal</Amount> <Receipt> <PostalMail xsi:nil="true" /> <EMail xsi:nil="true" /> <EMail xsi:nil="true" /> <SMS xsi:nil="true" /> <SMS xsi:nil="true" /> </Receipt> <Description>string</Description> <BookingID>string</BookingID> </In> <DateOfForwardPayment xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">date</DateOfForwardPayment> </payment> </DoPayment> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <DoPaymentResponse xmlns="http://IcelandicOnlineBanking/2005/12/01/Payments"> <paymentsResult> <ID xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">string</ID> <Status xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">InProgress or Completed or CompletedWithErrors or Cancelled or OnHold or NotConfirmed</Status> <Success xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Amount>decimal</Amount> <Receipt> <PostalMail xsi:nil="true" /> <EMail xsi:nil="true" /> <EMail xsi:nil="true" /> <SMS xsi:nil="true" /> <SMS xsi:nil="true" /> </Receipt> <Description>string</Description> <BookingID>string</BookingID> </Success> <Success xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Amount>decimal</Amount> <Receipt> <PostalMail xsi:nil="true" /> <EMail xsi:nil="true" /> <EMail xsi:nil="true" /> <SMS xsi:nil="true" /> <SMS xsi:nil="true" /> </Receipt> <Description>string</Description> <BookingID>string</BookingID> </Success> <Errors xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Payment> <Amount>decimal</Amount> <Receipt xsi:nil="true" /> <Description>string</Description> <BookingID>string</BookingID> </Payment> <Error> <Code xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">string</Code> <Message xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">string</Message> </Error> </Errors> <Errors xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes"> <Payment> <Amount>decimal</Amount> <Receipt xsi:nil="true" /> <Description>string</Description> <BookingID>string</BookingID> </Payment> <Error> <Code xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">string</Code> <Message xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">string</Message> </Error> </Errors> <DateOfPayment xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">dateTime</DateOfPayment> </paymentsResult> </DoPaymentResponse> </soap12:Body> </soap12:Envelope>