---
title: "Get portfolio refunds"
method: GET
path: "/trades/portfolio/refunds"
tags: ["Trades"]
---

# Get portfolio refunds

`GET /trades/portfolio/refunds`

This endpoint retrieves capital-efficient refund events for a bettor, aggregated by market.

## Query parameters

- `bettor` string, required
- `marketHash` string
- `baseToken` string
- `fillOrderHash` string
- `maker` boolean
- `sortAsc` boolean, required
- `page` integer, required
- `perPage` integer, required

## Response `200`

- object
  - `status` string — `success` or `failure` if the request succeeded or not
  - `data` object
    - `results` Refund[]
      - `marketHash` string — Market hash for this refund aggregation
      - `baseToken` string — Base token of the refunds
      - `totalRefundedBetTimeValue` number — Sum of refund amounts for this market at bet-time value
      - `events` object[] — Individual refund events that make up the aggregation
        - `marketHash` string — Market hash
        - `baseToken` string — Token address
        - `bettor` string — Bettor address
        - `maker` boolean — `true` if bettor was maker for this refund
        - `fillOrderHash` string — Fill hash associated with the refund
        - `amount` string — Refund amount in base token (string-encoded)
        - `createdAt` string — ISO date string of event creation
    - `count` number — Total count of aggregated market results

---

[API](https://skmtc.net/sx/apis/sx-bet-api.md) · [All operations](https://skmtc.net/sx/apis/sx-bet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sx/sx-bet-api/revisions/eb2c05c3a98e/schema)
