GET api/refundhistories

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of refundhistory
NameDescriptionTypeAdditional information
id

integer

None.

purchasedate

date

None.

merchantid

integer

None.

clientid

string

None.

totalamount

decimal number

None.

totalamountpaid

decimal number

None.

transactionref

string

None.

transactionid

integer

None.

success

signed byte

None.

datecreated

date

None.

eventid

integer

None.

refunddate

date

None.

refundedby

string

None.

newtransactionid

integer

None.

newtransactionref

string

None.

schoolid

integer

None.

amountrefunded

decimal number

None.

vendoridint

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "purchasedate": "2026-02-17T16:11:58.8906974+02:00",
    "merchantid": 1,
    "clientid": "sample string 2",
    "totalamount": 1.1,
    "totalamountpaid": 1.1,
    "transactionref": "sample string 3",
    "transactionid": 1,
    "success": 64,
    "datecreated": "2026-02-17T16:11:58.8906974+02:00",
    "eventid": 1,
    "refunddate": "2026-02-17T16:11:58.8906974+02:00",
    "refundedby": "sample string 6",
    "newtransactionid": 1,
    "newtransactionref": "sample string 7",
    "schoolid": 1,
    "amountrefunded": 8.1,
    "vendoridint": 1
  },
  {
    "id": 1,
    "purchasedate": "2026-02-17T16:11:58.8906974+02:00",
    "merchantid": 1,
    "clientid": "sample string 2",
    "totalamount": 1.1,
    "totalamountpaid": 1.1,
    "transactionref": "sample string 3",
    "transactionid": 1,
    "success": 64,
    "datecreated": "2026-02-17T16:11:58.8906974+02:00",
    "eventid": 1,
    "refunddate": "2026-02-17T16:11:58.8906974+02:00",
    "refundedby": "sample string 6",
    "newtransactionid": 1,
    "newtransactionref": "sample string 7",
    "schoolid": 1,
    "amountrefunded": 8.1,
    "vendoridint": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfrefundhistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZakaPayAPI.Database">
  <refundhistory>
    <amountrefunded>8.1</amountrefunded>
    <clientid>sample string 2</clientid>
    <datecreated>2026-02-17T16:11:58.8906974+02:00</datecreated>
    <eventid>1</eventid>
    <id>1</id>
    <merchantid>1</merchantid>
    <newtransactionid>1</newtransactionid>
    <newtransactionref>sample string 7</newtransactionref>
    <purchasedate>2026-02-17T16:11:58.8906974+02:00</purchasedate>
    <refunddate>2026-02-17T16:11:58.8906974+02:00</refunddate>
    <refundedby>sample string 6</refundedby>
    <schoolid>1</schoolid>
    <success>64</success>
    <totalamount>1.1</totalamount>
    <totalamountpaid>1.1</totalamountpaid>
    <transactionid>1</transactionid>
    <transactionref>sample string 3</transactionref>
    <vendoridint>1</vendoridint>
  </refundhistory>
  <refundhistory>
    <amountrefunded>8.1</amountrefunded>
    <clientid>sample string 2</clientid>
    <datecreated>2026-02-17T16:11:58.8906974+02:00</datecreated>
    <eventid>1</eventid>
    <id>1</id>
    <merchantid>1</merchantid>
    <newtransactionid>1</newtransactionid>
    <newtransactionref>sample string 7</newtransactionref>
    <purchasedate>2026-02-17T16:11:58.8906974+02:00</purchasedate>
    <refunddate>2026-02-17T16:11:58.8906974+02:00</refunddate>
    <refundedby>sample string 6</refundedby>
    <schoolid>1</schoolid>
    <success>64</success>
    <totalamount>1.1</totalamount>
    <totalamountpaid>1.1</totalamountpaid>
    <transactionid>1</transactionid>
    <transactionref>sample string 3</transactionref>
    <vendoridint>1</vendoridint>
  </refundhistory>
</ArrayOfrefundhistory>