GET api/ApnPaymentRefund/Lines?accountID={accountID}&paymentID={paymentID}&kind={kind}&amount={amount}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

Required

paymentID

integer

Required

kind

string

Required

amount

decimal number

None.

Body Parameters

None.

Response Information

Resource Description

ApiResultOfListOfPaymentRefundLine
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

Collection of PaymentRefundLine

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": [
    {
      "ItemKey": "sample string 1",
      "Description": "sample string 2",
      "ThisPayment": 3.0,
      "PaidOnItem": 4.0,
      "MaxRefund": 5.0,
      "DefaultRefund": 6.0,
      "OnPayment": true
    },
    {
      "ItemKey": "sample string 1",
      "Description": "sample string 2",
      "ThisPayment": 3.0,
      "PaidOnItem": 4.0,
      "MaxRefund": 5.0,
      "DefaultRefund": 6.0,
      "OnPayment": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiResultOfArrayOfPaymentRefundLineoWZ9pqIS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <Data>
    <PaymentRefundLine>
      <DefaultRefund>6</DefaultRefund>
      <Description>sample string 2</Description>
      <ItemKey>sample string 1</ItemKey>
      <MaxRefund>5</MaxRefund>
      <OnPayment>true</OnPayment>
      <PaidOnItem>4</PaidOnItem>
      <ThisPayment>3</ThisPayment>
    </PaymentRefundLine>
    <PaymentRefundLine>
      <DefaultRefund>6</DefaultRefund>
      <Description>sample string 2</Description>
      <ItemKey>sample string 1</ItemKey>
      <MaxRefund>5</MaxRefund>
      <OnPayment>true</OnPayment>
      <PaidOnItem>4</PaidOnItem>
      <ThisPayment>3</ThisPayment>
    </PaymentRefundLine>
  </Data>
  <Response>
    <ErrorMessage>sample string 2</ErrorMessage>
    <Success>true</Success>
  </Response>
</ApiResultOfArrayOfPaymentRefundLineoWZ9pqIS>