import { PaymentMethodsResponse } from '@interfaces'; import { apiClient } from '@services'; export const getAllPaymentMethodsApi = async () => { return await apiClient.get('/payments/options'); }; export interface VerifyPaymentPayload { gatewayOrderId: string; gatewayPaymentId: string; gatewaySignature: string; } export interface VerifyPaymentResponse { success: boolean; message: string; } export const verifyPaymentApi = async (payload: VerifyPaymentPayload) => { return await apiClient.post( '/payments/process', payload, ); };