---
title: "Refunds Endpoint"
method: GET
path: "/refund"
tags: ["Transactions"]
---

# Refunds Endpoint

`GET /refund`

Retrieve the details of all your Refunds in a given time.

## Query parameters

- `from` integer
- `to` integer
- `page` integer
- `country` string
- `paymentMethod` string
- `status` 'PENDING' | 'COMPLETED' | 'CANCELLED' | 'WAITING_DETAILS'

## Response `200`

A paginated list of refunds.

- PaginatedRefunds
  - `page` integer
  - `rows` integer
  - `maxRows` integer
  - `data` Refund[]
    - `amount` number
    - `beneficiary` string
    - `cpf` string
    - `bankName` string
    - `branchNumber` string
    - `refundCurrency` string
    - `bankAccount` string
    - `accountType` string
    - `comments` string
    - `id` integer
    - `idBoleto` integer
    - `idMerchant` integer
    - `date` string, date-time
    - `lastChangeDate` string, date-time
    - `country` string
    - `paymentMethod` string
    - `status` string
    - `amountType` string
    - `merchantName` string
    - `bankCode` string
    - `type` string
    - `apiVersion` string
    - `documentType` string
    - `allowPixApiRefund` boolean

## Other responses

- `412` — Precondition Failed - Date period must be smaller than 60 days.

---

[API](https://skmtc.dev/d24/apis/docs-d24-com.md) · [All operations](https://skmtc.dev/d24/apis/docs-d24-com/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/d24/docs-d24-com/revisions/fb0e2ddec198/schema)
