---
title: "Get a list of all refund and payout with their message_id."
method: GET
path: "/payments/refundPayout"
tags: ["XS2A.pay"]
---

# Get a list of all refund and payout with their message_id.

`GET /payments/refundPayout`

Get a list of all refund and payout with their `message_id`.

## Response `200`

Request successfully processed

- RefundPayoutList
  - `total` integer — Total number of results.
  - `per_page` integer — Number of objects per page
  - `current_page` integer — Current page.
  - `last_page` integer — Last page, usually the total of available pages.
  - `from` integer — Showing results from index element.
  - `to` integer — Showing results to index element.
  - `data` RefundPayoutObject[]
    - `message_id` string — The message id to get the pain file.
    - `created_at` string

## Other responses

- `401` — Authentication failed API key missing or not valid
- `403` — Forbidden Access blocked
- `404` — Product not enabled or Not found The requested object does not exist on the server
- `422` — Validation failed Something is wrong with the user input
- `500` — An internal server problem occurred

---

[API](https://skmtc.dev/xs2a/apis/xs2a-api.md) · [All operations](https://skmtc.dev/xs2a/apis/xs2a-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xs2a/xs2a-api/revisions/ae5fbc5feee3/schema)
