Get list of refunds

📘

API Refs

This endpoint returns a list of all refunds created by the current account.

Response body

The response is an array of refund objects, each with the same structure as the response from the Create refund endpoint.

Example

[
  {
    "id": 987,
    "policyholderId": 123,
    "amount": 100.00,
    "memo": "Refund for policy cancellation",
    "status": { "code": 1, "value": "payment_link_pending" },
    "createdAt": "2024-07-22T15:00:00Z",
    "policyholder": { "id": 123, "firstName": "John", "lastName": "Doe" }
  }
]