IcelandicOnlineBankingPaymentsService


Click here for a complete list of operations.

GetPaymentResult

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/GetPaymentResult"

<?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>
    <GetPaymentResult xmlns="http://IcelandicOnlineBanking/2005/12/01/Payments">
      <paymentID>string</paymentID>
    </GetPaymentResult>
  </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>
    <GetPaymentResultResponse 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>
    </GetPaymentResultResponse>
  </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>
    <GetPaymentResult xmlns="http://IcelandicOnlineBanking/2005/12/01/Payments">
      <paymentID>string</paymentID>
    </GetPaymentResult>
  </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>
    <GetPaymentResultResponse 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>
    </GetPaymentResultResponse>
  </soap12:Body>
</soap12:Envelope>