/** * @example * { * destination: "biz_xxxxxxxxxxxxxx" * } */ export interface CreateDepositsRequest { /** Amount to prefill on hosted deposit page. Crypto deposits require a $10 minimum. With `payment_method_id`, the amount in USD to charge, and required. */ amount?: number; /** Account ID to fund, `biz_` or `user_`. Any business resolves without authentication; a user account resolves only for that same authenticated user. */ destination: string; /** Custom metadata to attach to the payment the charge creates. Ignored unless `payment_method_id` is provided. */ metadata?: Record | null; /** SWIFT/BIC of the bank the funds are sent from, 8 or 11 characters. Fills each bank currency's `swift_bic` with the intermediary bank to route the wire through. */ origin_bic?: string; /** A saved payment method of the business to charge for `amount`, prefixed `payt_`. Save one with Create setup intent and `owner_id` set to the account. Only for a `biz_` destination, and requires authentication with the `payment:charge` scope. A declined charge fails the request with 400. */ payment_method_id?: string; } export declare namespace CreateDepositsRequest { namespace Metadata { type Value = string | number | boolean; } }