GET api/Payments?card={card}&value={value}&siteId={siteId}&paymentId={paymentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
card

string

Required

value

decimal number

Required

siteId

integer

Required

paymentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CreditCardPayments
NameDescriptionTypeAdditional information
Payments

integer

None.

Interest

decimal number

None.

OtherData

string

None.

BaseValue

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Payments": 1,
    "Interest": 2.0,
    "OtherData": "sample string 3",
    "BaseValue": 4.0
  },
  {
    "Payments": 1,
    "Interest": 2.0,
    "OtherData": "sample string 3",
    "BaseValue": 4.0
  }
]

text/xml

Sample:
<ArrayOfCreditCardPayments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications">
  <CreditCardPayments>
    <BaseValue>4</BaseValue>
    <Interest>2</Interest>
    <OtherData>sample string 3</OtherData>
    <Payments>1</Payments>
  </CreditCardPayments>
  <CreditCardPayments>
    <BaseValue>4</BaseValue>
    <Interest>2</Interest>
    <OtherData>sample string 3</OtherData>
    <Payments>1</Payments>
  </CreditCardPayments>
</ArrayOfCreditCardPayments>