POST Payments/DoPayment

DoPayment same as in the SAMBANKA SCHEMA

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
Request

The request object that is sent to the bank api. Payment can have diffrent structure depending on context. Please see item documentation in PaymentIn.

None.

CertificateBase64

Binded from Form values in body. Base64 encoded certificate to use

string

Required

CertificatePassword

Binded from Form values in body. Password for the Base64 encoded certificate

string

Required

WebservicePath

Binded from Form values in body. Service path

string

Required

Username

Binded from Form values in body. Service username

string

Required

Password

Binded from Form values in body. Service password

string

Required

Request Formats

application/xml, text/xml

Sample:
<PaymentModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WebservicePath>sample string 4</WebservicePath>
  <Username>sample string 5</Username>
  <Password>sample string 6</Password>
  <CertificateBase64>sample string 1</CertificateBase64>
  <CertificatePassword>sample string 2</CertificatePassword>
  <Request>
    <Out xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">
      <Account>sample string 1</Account>
      <AccountOwnerID>sample string 2</AccountOwnerID>
      <CategoryCode>sample string 3</CategoryCode>
      <Reference>sample string 4</Reference>
      <BillNumber>sample string 5</BillNumber>
      <Receipt>
        <PostalMail Language="sample string 1">
          <ReceiverAddress>
            <Name xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</Name>
            <AddressLine1 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</AddressLine1>
            <AddressLine2 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 3</AddressLine2>
            <PostCodeNumber xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 4</PostCodeNumber>
            <City xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 5</City>
            <Region xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 6</Region>
            <Country xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 7</Country>
          </ReceiverAddress>
        </PostalMail>
        <EMail Language="sample string 2">
          <EmailAddress>sample string 1</EmailAddress>
        </EMail>
        <EMail Language="sample string 2">
          <EmailAddress>sample string 1</EmailAddress>
        </EMail>
        <SMS Language="sample string 1">
          <PhoneNumber>
            <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
            <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
          </PhoneNumber>
        </SMS>
        <SMS Language="sample string 1">
          <PhoneNumber>
            <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
            <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
          </PhoneNumber>
        </SMS>
      </Receipt>
    </Out>
    <In xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">
      <Transfer>
        <Account>sample string 1</Account>
        <AccountOwnerID>sample string 2</AccountOwnerID>
        <CategoryCode>sample string 3</CategoryCode>
        <Reference>sample string 4</Reference>
        <BillNumber>sample string 5</BillNumber>
      </Transfer>
      <Amount>1</Amount>
      <Receipt>
        <PostalMail Language="sample string 1">
          <ReceiverAddress>
            <Name xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</Name>
            <AddressLine1 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</AddressLine1>
            <AddressLine2 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 3</AddressLine2>
            <PostCodeNumber xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 4</PostCodeNumber>
            <City xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 5</City>
            <Region xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 6</Region>
            <Country xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 7</Country>
          </ReceiverAddress>
        </PostalMail>
        <EMail Language="sample string 2">
          <EmailAddress>sample string 1</EmailAddress>
        </EMail>
        <EMail Language="sample string 2">
          <EmailAddress>sample string 1</EmailAddress>
        </EMail>
        <SMS Language="sample string 1">
          <PhoneNumber>
            <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
            <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
          </PhoneNumber>
        </SMS>
        <SMS Language="sample string 1">
          <PhoneNumber>
            <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
            <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
          </PhoneNumber>
        </SMS>
      </Receipt>
      <Description>sample string 2</Description>
      <BookingID>sample string 3</BookingID>
    </In>
    <DateOfForwardPayment xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">2024-04-29</DateOfForwardPayment>
  </Request>
</PaymentModel>

Response Information

Resource Description

NameDescriptionTypeAdditional information
Version

None.

Content

None.

StatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of

None.

RequestMessage

None.

IsSuccessStatusCode

boolean

None.

Response Formats

application/xml, text/xml

Sample:
<PaymentsResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://IcelandicOnlineBanking/2005/12/01/PaymentTypes">
  <ID>sample string 1</ID>
  <Status>InProgress</Status>
  <Success>
    <ABGiro>
      <Account>sample string 1</Account>
      <Reference>sample string 2</Reference>
      <BillNumber>sample string 3</BillNumber>
      <CategoryCode>sample string 4</CategoryCode>
    </ABGiro>
    <Amount>1</Amount>
    <Receipt>
      <PostalMail Language="sample string 1">
        <ReceiverAddress>
          <Name xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</Name>
          <AddressLine1 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</AddressLine1>
          <AddressLine2 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 3</AddressLine2>
          <PostCodeNumber xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 4</PostCodeNumber>
          <City xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 5</City>
          <Region xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 6</Region>
          <Country xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 7</Country>
        </ReceiverAddress>
      </PostalMail>
      <EMail Language="sample string 2">
        <EmailAddress>sample string 1</EmailAddress>
      </EMail>
      <EMail Language="sample string 2">
        <EmailAddress>sample string 1</EmailAddress>
      </EMail>
      <SMS Language="sample string 1">
        <PhoneNumber>
          <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
          <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
        </PhoneNumber>
      </SMS>
      <SMS Language="sample string 1">
        <PhoneNumber>
          <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
          <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
        </PhoneNumber>
      </SMS>
    </Receipt>
    <Description>sample string 2</Description>
    <BookingID>sample string 3</BookingID>
  </Success>
  <Success>
    <ABGiro>
      <Account>sample string 1</Account>
      <Reference>sample string 2</Reference>
      <BillNumber>sample string 3</BillNumber>
      <CategoryCode>sample string 4</CategoryCode>
    </ABGiro>
    <Amount>1</Amount>
    <Receipt>
      <PostalMail Language="sample string 1">
        <ReceiverAddress>
          <Name xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</Name>
          <AddressLine1 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</AddressLine1>
          <AddressLine2 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 3</AddressLine2>
          <PostCodeNumber xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 4</PostCodeNumber>
          <City xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 5</City>
          <Region xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 6</Region>
          <Country xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 7</Country>
        </ReceiverAddress>
      </PostalMail>
      <EMail Language="sample string 2">
        <EmailAddress>sample string 1</EmailAddress>
      </EMail>
      <EMail Language="sample string 2">
        <EmailAddress>sample string 1</EmailAddress>
      </EMail>
      <SMS Language="sample string 1">
        <PhoneNumber>
          <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
          <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
        </PhoneNumber>
      </SMS>
      <SMS Language="sample string 1">
        <PhoneNumber>
          <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
          <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
        </PhoneNumber>
      </SMS>
    </Receipt>
    <Description>sample string 2</Description>
    <BookingID>sample string 3</BookingID>
  </Success>
  <Errors>
    <Payment>
      <Transfer>
        <Account>sample string 1</Account>
        <AccountOwnerID>sample string 2</AccountOwnerID>
        <CategoryCode>sample string 3</CategoryCode>
        <Reference>sample string 4</Reference>
        <BillNumber>sample string 5</BillNumber>
      </Transfer>
      <Amount>1</Amount>
      <Receipt>
        <PostalMail Language="sample string 1">
          <ReceiverAddress>
            <Name xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</Name>
            <AddressLine1 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</AddressLine1>
            <AddressLine2 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 3</AddressLine2>
            <PostCodeNumber xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 4</PostCodeNumber>
            <City xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 5</City>
            <Region xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 6</Region>
            <Country xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 7</Country>
          </ReceiverAddress>
        </PostalMail>
        <EMail Language="sample string 2">
          <EmailAddress>sample string 1</EmailAddress>
        </EMail>
        <EMail Language="sample string 2">
          <EmailAddress>sample string 1</EmailAddress>
        </EMail>
        <SMS Language="sample string 1">
          <PhoneNumber>
            <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
            <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
          </PhoneNumber>
        </SMS>
        <SMS Language="sample string 1">
          <PhoneNumber>
            <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
            <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
          </PhoneNumber>
        </SMS>
      </Receipt>
      <Description>sample string 2</Description>
      <BookingID>sample string 3</BookingID>
    </Payment>
    <Error>
      <Code xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</Code>
      <Message xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Message>
    </Error>
  </Errors>
  <Errors>
    <Payment>
      <Transfer>
        <Account>sample string 1</Account>
        <AccountOwnerID>sample string 2</AccountOwnerID>
        <CategoryCode>sample string 3</CategoryCode>
        <Reference>sample string 4</Reference>
        <BillNumber>sample string 5</BillNumber>
      </Transfer>
      <Amount>1</Amount>
      <Receipt>
        <PostalMail Language="sample string 1">
          <ReceiverAddress>
            <Name xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</Name>
            <AddressLine1 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</AddressLine1>
            <AddressLine2 xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 3</AddressLine2>
            <PostCodeNumber xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 4</PostCodeNumber>
            <City xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 5</City>
            <Region xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 6</Region>
            <Country xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 7</Country>
          </ReceiverAddress>
        </PostalMail>
        <EMail Language="sample string 2">
          <EmailAddress>sample string 1</EmailAddress>
        </EMail>
        <EMail Language="sample string 2">
          <EmailAddress>sample string 1</EmailAddress>
        </EMail>
        <SMS Language="sample string 1">
          <PhoneNumber>
            <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
            <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
          </PhoneNumber>
        </SMS>
        <SMS Language="sample string 1">
          <PhoneNumber>
            <CountryCode xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</CountryCode>
            <Number xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Number>
          </PhoneNumber>
        </SMS>
      </Receipt>
      <Description>sample string 2</Description>
      <BookingID>sample string 3</BookingID>
    </Payment>
    <Error>
      <Code xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 1</Code>
      <Message xmlns="http://IcelandicOnlineBanking/2005/12/01/CommonTypes">sample string 2</Message>
    </Error>
  </Errors>
  <DateOfPayment>2024-04-29T10:28:46.4827637+00:00</DateOfPayment>
</PaymentsResult>