export type MedusaPaymentSessionStatus = 'authorized' | 'captured' | 'pending' | 'requires_more' | 'error' | 'canceled'; export interface MedusaPaymentProviderContext { idempotency_key?: string; customer?: { id?: string; email?: string; first_name?: string | null; last_name?: string | null; }; } export interface MedusaPaymentProviderInput { data?: Record; context?: MedusaPaymentProviderContext; } export interface MedusaInitiatePaymentInput extends MedusaPaymentProviderInput { amount: unknown; currency_code: string; } export type MedusaUpdatePaymentInput = MedusaInitiatePaymentInput; export type MedusaAuthorizePaymentInput = MedusaPaymentProviderInput; export type MedusaCapturePaymentInput = MedusaPaymentProviderInput; export type MedusaCancelPaymentInput = MedusaPaymentProviderInput; export type MedusaRetrievePaymentInput = MedusaPaymentProviderInput; export type MedusaDeletePaymentInput = MedusaPaymentProviderInput; export interface MedusaRefundPaymentInput extends MedusaPaymentProviderInput { amount: unknown; } export interface MedusaPaymentOutput { data?: Record; } export interface MedusaInitiatePaymentOutput extends MedusaPaymentOutput { id: string; status?: MedusaPaymentSessionStatus; } export interface MedusaAuthorizePaymentOutput extends MedusaPaymentOutput { status: MedusaPaymentSessionStatus; } export interface MedusaGetPaymentStatusOutput extends MedusaPaymentOutput { status: MedusaPaymentSessionStatus; } export interface MedusaWebhookActionResult { action: 'authorized' | 'captured' | 'failed' | 'pending' | 'requires_more' | 'canceled' | 'not_supported'; data?: { session_id: string; amount: unknown; }; } //# sourceMappingURL=medusa-provider-types.d.ts.map