/* tslint:disable */ /* eslint-disable */ /** * Kalshi Trade API Manual Endpoints * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach * * The version of the OpenAPI document: 3.36.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ export interface Withdrawal { /** * Unique identifier for the withdrawal. */ 'id': string; /** * Current status of the withdrawal. \'applied\' means funds have been deducted from balance. */ 'status': WithdrawalStatusEnum; /** * Payment type used for the withdrawal. */ 'type': WithdrawalTypeEnum; /** * Withdrawal amount in cents. */ 'amount_cents': number; /** * Fee charged for the withdrawal in cents. */ 'fee_cents': number; /** * Unix timestamp of when the withdrawal was created. */ 'created_ts': number; /** * Unix timestamp of when the withdrawal was finalized (applied, failed, or returned). */ 'finalized_ts'?: number | null; } export const WithdrawalStatusEnum = { WithdrawalStatusPending: 'pending', WithdrawalStatusApplied: 'applied', WithdrawalStatusFailed: 'failed', WithdrawalStatusReturned: 'returned' } as const; export type WithdrawalStatusEnum = typeof WithdrawalStatusEnum[keyof typeof WithdrawalStatusEnum]; export const WithdrawalTypeEnum = { Ach: 'ach', Wire: 'wire', Crypto: 'crypto', Debit: 'debit', Apm: 'apm' } as const; export type WithdrawalTypeEnum = typeof WithdrawalTypeEnum[keyof typeof WithdrawalTypeEnum];