Refunds

List refunds

Get a paginated list of refunds with optional filtering

get/refunds

Query parameters

limitinteger

Number of items to return

afterstring

Specifies the cursor after which to start returning results. For the first page, this should be left empty. For subsequent pages, use the value of the end_cursor field from the previous response.

beforestring

Specifies the cursor before which to return results. Use this to paginate backwards. For example, to load the previous page, provide the value of the start_cursor field from the last response.

customer_idstring

Filter by customer ID

invoice_idstring

Filter by invoice ID

payment_method'card' | 'standard_ach' | 'same_day_ach' | 'manual'

Filter by payment method

created_at_startstring

Filter by creation date start (RFC3339 format)

created_at_endstring

Filter by creation date end (RFC3339 format)

Response

OK

end_cursorstring
has_next_pageboolean
has_previous_pageboolean
start_cursorstring

Example response

{
  "data": [
    {
      "created_at": "2021-01-01T00:00:00Z",
      "customer_id": "00000000-0000-0000-0000-000000000000",
      "due_date": "2021-01-01T00:00:00Z",
      "id": "00000000-0000-0000-0000-000000000000",
      "payment_method": "card,standard_ach,same_day_ach,manual",
      "sub_total": 50,
      "total": 50
    }
  ],
  "end_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH",
  "has_next_page": true,
  "start_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH"
}