import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class Gamertags extends APIResource { /** * Generate a payment request for a ZBD User. * * @example * ```ts * await client.gamertags.createCharge({ * amount: 'string', * callbackUrl: 'string', * description: 'string', * expiresIn: NaN, * gamertag: 'string', * internalId: 'string', * }); * ``` */ createCharge(body?: GamertagCreateChargeParams | null | undefined, options?: RequestOptions): APIPromise; /** * Retrieve Gamertag from a ZBD user ID. * * @example * ```ts * await client.gamertags.retrieveByGamertag('gamertag'); * ``` */ retrieveByGamertag(gamertag: string, options?: RequestOptions): APIPromise; /** * Retrieve ZBD user ID from a Gamertag. * * @example * ```ts * await client.gamertags.retrieveByZbdID('id'); * ``` */ retrieveByZbdID(id: string, options?: RequestOptions): APIPromise; /** * Retrieve all data about a Payment sent to ZBD User. * * @example * ```ts * await client.gamertags.retrievePayment('id'); * ``` */ retrievePayment(id: string, options?: RequestOptions): APIPromise; /** * Send instant Bitcoin payments to ZBD Users. * * @example * ```ts * await client.gamertags.sendPayment({ * amount: 'string', * description: 'string', * gamertag: 'string', * }); * ``` */ sendPayment(body?: GamertagSendPaymentParams | null | undefined, options?: RequestOptions): APIPromise; } export interface GamertagCreateChargeParams { /** * The amount for the Payment -> in millisatoshis */ amount?: string; /** * The endpoint ZBD will POST Charge updates to */ callbackUrl?: string; /** * Note or comment for this Payment (visible to recipient) */ description?: string; /** * Time until Charge expiration -> in seconds */ expiresIn?: number; /** * Destination ZBD Gamertag */ gamertag?: string; /** * Open metadata string property */ internalId?: string; } export interface GamertagSendPaymentParams { /** * The amount for the Payment -> in millisatoshis */ amount?: string; /** * Note or comment for this Payment (visible to recipient) */ description?: string; /** * Destination ZBD Gamertag */ gamertag?: string; } export declare namespace Gamertags { export { type GamertagCreateChargeParams as GamertagCreateChargeParams, type GamertagSendPaymentParams as GamertagSendPaymentParams, }; } //# sourceMappingURL=gamertags.d.mts.map