['required', 'integer', 'exists:subscriptions,id'], 'amount' => ['required', 'numeric', 'min:0'], 'payment_method' => ['required', 'string', Rule::in(Payment::PAYMENT_METHODS)], 'transaction_id' => ['nullable', 'string', 'max:100'], 'memo' => ['nullable', 'string', 'max:500'], 'auto_complete' => ['nullable', 'boolean'], ]; } }