GET api/ApnPaymentRefund/Options?accountID={accountID}&paymentID={paymentID}&transactionID={transactionID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

Required

paymentID

integer

None.

transactionID

integer

None.

Body Parameters

None.

Response Information

Resource Description

ApiResultOfPaymentRefundOptions
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

PaymentRefundOptions

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": {
    "PaymentID": 1,
    "AccountID": 2,
    "Amount": 3.0,
    "PaymentDate": "2026-11-25T07:26:20.9818456+00:00",
    "Commission": 1.0,
    "Reference": "sample string 4",
    "Method": "sample string 5",
    "PartRefunded": 6.0,
    "LeftToRefund": 7.0,
    "CanRefund": true,
    "CanChargeback": true,
    "CanPartRefund": true,
    "FullBlocked": "sample string 11",
    "PartBlocked": "sample string 12",
    "FullAllocationsEditable": true
  }
}

application/xml, text/xml

Sample:
<ApiResultOfPaymentRefundOptionsoWZ9pqIS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <Data>
    <AccountID>2</AccountID>
    <Amount>3</Amount>
    <CanChargeback>true</CanChargeback>
    <CanPartRefund>true</CanPartRefund>
    <CanRefund>true</CanRefund>
    <Commission>1</Commission>
    <FullAllocationsEditable>true</FullAllocationsEditable>
    <FullBlocked>sample string 11</FullBlocked>
    <LeftToRefund>7</LeftToRefund>
    <Method>sample string 5</Method>
    <PartBlocked>sample string 12</PartBlocked>
    <PartRefunded>6</PartRefunded>
    <PaymentDate>2026-11-25T07:26:20.9818456+00:00</PaymentDate>
    <PaymentID>1</PaymentID>
    <Reference>sample string 4</Reference>
  </Data>
  <Response>
    <ErrorMessage>sample string 2</ErrorMessage>
    <Success>true</Success>
  </Response>
</ApiResultOfPaymentRefundOptionsoWZ9pqIS>