import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class WithdrawalRequests extends APIResource { /** * Start creating Bitcoin voucher QR codes. * * @example * ```ts * await client.withdrawalRequests.create({ * amount: 'string', * callbackUrl: 'string', * description: 'string', * expiresIn: NaN, * internalId: 'string', * }); * ``` */ create(body?: WithdrawalRequestCreateParams | null | undefined, options?: RequestOptions): APIPromise; /** * Retrieve all data about a single Withdrawal Request. * * @example * ```ts * await client.withdrawalRequests.retrieve('id'); * ``` */ retrieve(id: string, options?: RequestOptions): APIPromise; } export interface WithdrawalRequestCreateParams { /** * The amount for the Withdrawal Request -> in millisatoshis */ amount?: string; /** * The endpoint ZBD will POST Charge updates to */ callbackUrl?: string; /** * Note or comment for this Withdrawal Request */ description?: string; /** * Time until Withdrawal Request expiration -> in seconds */ expiresIn?: number; /** * Open metadata string property */ internalId?: string; } export declare namespace WithdrawalRequests { export { type WithdrawalRequestCreateParams as WithdrawalRequestCreateParams }; } //# sourceMappingURL=withdrawal-requests.d.mts.map