import { APIResource } from "../../core/resource.mjs"; import * as TransactionsAPI from "../transactions.mjs"; import * as InternalAccountsAPI from "./internal-accounts.mjs"; import { InternalAccount, InternalAccountFundParams, InternalAccounts } from "./internal-accounts.mjs"; import * as UmaAPI from "./uma.mjs"; import { Uma, UmaReceivePaymentParams } from "./uma.mjs"; import * as WebhooksAPI from "./webhooks.mjs"; import { WebhookSendTestResponse, Webhooks } from "./webhooks.mjs"; import * as CardsAPI from "./cards/cards.mjs"; import { Cards } from "./cards/cards.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; /** * Endpoints to trigger test cases in sandbox */ export declare class Sandbox extends APIResource { uma: UmaAPI.Uma; internalAccounts: InternalAccountsAPI.InternalAccounts; webhooks: WebhooksAPI.Webhooks; cards: CardsAPI.Cards; /** * Simulate sending funds to the bank account as instructed in the quote. This * endpoint is only for the sandbox environment and will fail for production * platforms/keys. * * @example * ```ts * const outgoingTransaction = await client.sandbox.sendFunds({ * currencyCode: 'USD', * quoteId: 'Quote:019542f5-b3e7-1d02-0000-000000000006', * }); * ``` */ sendFunds(body: SandboxSendFundsParams, options?: RequestOptions): APIPromise; } export interface SandboxSendFundsParams { /** * Currency code for the funds to be sent */ currencyCode: string; /** * The unique identifier of the quote */ quoteId: string; /** * The amount to send in the smallest unit of the currency (eg. cents). If not * provided, the amount will be derived from the quote. */ currencyAmount?: number; } export declare namespace Sandbox { export { type SandboxSendFundsParams as SandboxSendFundsParams }; export { Uma as Uma, type UmaReceivePaymentParams as UmaReceivePaymentParams }; export { InternalAccounts as InternalAccounts, type InternalAccount as InternalAccount, type InternalAccountFundParams as InternalAccountFundParams, }; export { Webhooks as Webhooks, type WebhookSendTestResponse as WebhookSendTestResponse }; export { Cards as Cards }; } //# sourceMappingURL=sandbox.d.mts.map