---
title: "Saques"
description: "Solicitações, métodos e resumo de saques."
---
<div class="lm-ref-kicker"><code>withdrawals</code><span>namespace</span></div>

Solicitações, métodos e resumo de saques.

<div class="lm-ref-stats lm-ref-stats--compact">
  <div class="lm-ref-stat"><strong>5</strong><span>métodos</span></div>
  <div class="lm-ref-stat"><code>withdrawals</code><span>namespace</span></div>
</div>

> Esta página é gerada automaticamente pelo `@luckymaker/sdk-generator`. Não edite manualmente.

## `getCooldown`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/withdraw/cooldown</code></div>

Assinatura:

```ts
getCooldown(settings?: SdkSettings): Promise<GetCooldownResponse>
```

### Tipos

```ts
type GetCooldownResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.withdrawals.getCooldown();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=withdrawals&method=getCooldown">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `getSummary`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/withdrawals/summary</code></div>

Assinatura:

```ts
getSummary(settings?: SdkSettings): Promise<GetSummaryResponse>
```

### Tipos

```ts
type GetSummaryResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.withdrawals.getSummary();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=withdrawals&method=getSummary">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listMethods`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/withdraw/methods</code></div>

Assinatura:

```ts
listMethods(settings?: SdkSettings): Promise<ListMethodsResponse>
```

### Tipos

```ts
type ListMethodsResponse = Array<{ "id": string; "label": string; }>;
```

### Exemplo

```ts
const response = await sdk.withdrawals.listMethods();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=withdrawals&method=listMethods">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listWithdrawals`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/user/withdrawals</code></div>

Assinatura:

```ts
listWithdrawals(query?: ListWithdrawalsQuery, settings?: SdkSettings): Promise<ListWithdrawalsResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |

### Tipos

```ts
type ListWithdrawalsQuery = { "page"?: number; };
type ListWithdrawalsResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.withdrawals.listWithdrawals();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=withdrawals&method=listWithdrawals">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `requestWithdraw`

<div class="lm-endpoint"><span class="lm-http lm-http--post">POST</span><code>/user/withdraw/request</code></div>

Assinatura:

```ts
requestWithdraw(body?: RequestWithdrawBody, settings?: SdkSettings): Promise<RequestWithdrawResponse>
```

### Body

| Nome | Tipo | Obrigatório |
|---|---|---|
| - | `{ "stage": unknown; "medium"?: unknown \| unknown; } \| { "stage": unknown; "medium"?: unknown \| unknown; "code": string; "value": number; "pix": { "kind": "CPF" \| "CNPJ" \| "TEL" \| "EMAIL" \| "RANDOM"; "key": string; }; }` | - |

### Tipos

```ts
type RequestWithdrawBody = { "stage": unknown; "medium"?: unknown | unknown; } | { "stage": unknown; "medium"?: unknown | unknown; "code": string; "value": number; "pix": { "kind": "CPF" | "CNPJ" | "TEL" | "EMAIL" | "RANDOM"; "key": string; }; };
type RequestWithdrawResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.withdrawals.requestWithdraw({ "stage": "string" });
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=withdrawals&method=requestWithdraw">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>