Pular para o conteúdo

Saques

withdrawalsnamespace

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

5métodos
withdrawalsnamespace

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

GET/user/withdraw/cooldown

Assinatura:

getCooldown(settings?: SdkSettings): Promise<GetCooldownResponse>
type GetCooldownResponse = unknown;
const response = await sdk.withdrawals.getCooldown();

Testar esta função no playground

GET/user/withdrawals/summary

Assinatura:

getSummary(settings?: SdkSettings): Promise<GetSummaryResponse>
type GetSummaryResponse = unknown;
const response = await sdk.withdrawals.getSummary();

Testar esta função no playground

GET/user/withdraw/methods

Assinatura:

listMethods(settings?: SdkSettings): Promise<ListMethodsResponse>
type ListMethodsResponse = Array<{ "id": string; "label": string; }>;
const response = await sdk.withdrawals.listMethods();

Testar esta função no playground

GET/user/withdrawals

Assinatura:

listWithdrawals(query?: ListWithdrawalsQuery, settings?: SdkSettings): Promise<ListWithdrawalsResponse>
Nome Tipo Obrigatório
page number não
type ListWithdrawalsQuery = { "page"?: number; };
type ListWithdrawalsResponse = unknown;
const response = await sdk.withdrawals.listWithdrawals();

Testar esta função no playground

POST/user/withdraw/request

Assinatura:

requestWithdraw(body?: RequestWithdrawBody, settings?: SdkSettings): Promise<RequestWithdrawResponse>
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; }; } -
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;
const response = await sdk.withdrawals.requestWithdraw({ "stage": "string" });

Testar esta função no playground