> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mercurjs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Payout

> Retrieve a payout by ID.

Returns a single payout with its payout account and seller details.

## Path parameters

**id** `string` *required*

The payout's ID.

## Query parameters

**fields** `string`

Comma-separated fields to include in the response.

## Response

**payout** `object`

**properties**

**id** `string`

The payout's ID.

**display\_id** `number`

Human-readable payout number.

**amount** `number`

The payout amount.

**currency\_code** `string`

The payout currency.

**status** `string`

The payout status.

**status\_reason** `string | null`

Why the payout is `on_hold`, `failed` or `aborted`: a `PayoutStatusReason` code such as `order_not_ready` or `provider_error`. The details behind it are in `data.status_detail`.

**data** `object | null`

Payout data: `attempts`, `status_detail`, and the provider's response under `provider`.

**account** `object`

The payout account, with `id` and `status`.

**seller** `object`

The seller, with `id`, `name`, and `handle`.

**created\_at** `string`

Creation timestamp.

**updated\_at** `string`

Last update timestamp.

```bash cURL theme={null}
curl 'http://localhost:9000/admin/payouts/pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y' \
  -H 'Authorization: Bearer <token>'
```

```ts JS Client theme={null}
const { payout } = await client.admin.payouts.$id.query({
  $id: "pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
})
```

```json 200 theme={null}
{
  "payout": {
    "id": "pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
    "display_id": 42,
    "amount": 1250,
    "currency_code": "usd",
    "status": "completed",
    "data": null,
    "account": { "id": "pacc_01HXYZ", "status": "active" },
    "seller": { "id": "sel_01HXYZ", "name": "Acme Store", "handle": "acme-store" }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.